* Fix `fission check` command which does not work outside of `fission` namespace If user provide namespace then use it for running `fission check` command. If user does not provide namespace then use `fission` as default namespace. * Update go version to 1.22.2 --------- Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io>
32 lines
936 B
Go
32 lines
936 B
Go
/*
|
|
Copyright 2021 The Fission 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 util
|
|
|
|
// fission-cli options
|
|
const (
|
|
SPEC_IGNORE_FILE = ".specignore"
|
|
COMMIT_LABEL = "commit"
|
|
FISSION_AUTH_URI = "/auth/login"
|
|
FISSION_AUTH_TOKEN = "FISSION_AUTH_TOKEN"
|
|
FISSION_STORAGE_URI = "/v1/archive"
|
|
FISSION_DEFAULT_NAMESPACE = "fission"
|
|
)
|
|
|
|
const (
|
|
ENV_FUNCTION_NAMESPACE string = "FUNCTION_NAMESPACE"
|
|
)
|