mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-14 21:36:54 +00:00
* Feat: add kubeapi and mongodb datastore implementation * Style: change kubeapi import code style * Style: change mongodb package import code style * Style: add some comment * Style: change databasePrefix to tableNamePrefix * Chore: install mongodb in unit-test job * Chore: install mongodb in compatibility-test job * Feat: add apiserver e2e test case * Docs: change developer guide doc * Feat: use common.Scheme Co-authored-by: barnettZQG <yiyun.pro>
27 lines
1.0 KiB
Go
27 lines
1.0 KiB
Go
/*
|
|
Copyright 2021 The KubeVela Authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
package bcode
|
|
|
|
// ErrApplicationConfig application config does not comply with OAM specification
|
|
var ErrApplicationConfig = NewBcode(400, 10000, "application config does not comply with OAM specification")
|
|
|
|
// ErrComponentTypeNotSupport an unsupported component type was used.
|
|
var ErrComponentTypeNotSupport = NewBcode(400, 10001, "An unsupported component type was used.")
|
|
|
|
// ErrApplicationExist application is exist
|
|
var ErrApplicationExist = NewBcode(400, 10002, "application name is exist")
|