Documentation ¶
Index ¶
Constants ¶
View Source
const ( // OAM Metadata constants OAMAdapterNameMetadataKey = "adapter.meshery.io/name" OAMComponentCategoryMetadataKey = "ui.meshery.io/category" )
View Source
const (
ErrEmptyConfigCode = "1000"
)
Variables ¶
View Source
var ( PerfOperation = "meshery-nighthawk" ServerVersion = status.None ServerGitSHA = status.None // KubeConfig - Controlling the kubeconfig lifecycle with viper KubeConfig = map[string]string{ configprovider.FilePath: configRootPath, configprovider.FileType: "yaml", configprovider.FileName: "kubeconfig", } Config = configprovider.Options{ FilePath: configRootPath, FileName: "perf", FileType: "yaml", } ServerConfig = map[string]string{ "name": "meshery-nighthawk", "type": "adapter", "port": "10013", "traceurl": status.None, } MeshSpec = map[string]string{ "name": "meshery-nighthawk", "status": status.NotInstalled, "version": status.None, } Operations = getOperations(common.Operations) )
View Source
var (
ErrEmptyConfig = errors.New(ErrEmptyConfigCode, errors.Alert, []string{"Config is empty"}, []string{}, []string{}, []string{})
)
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.