Documentation ¶
Index ¶
Constants ¶
View Source
const ( Development = "development" Production = "production" // OAM Metadata constants OAMAdapterNameMetadataKey = "adapter.meshery.io/name" OAMComponentCategoryMetadataKey = "ui.meshery.io/category" )
View Source
const ( ErrGetLatestReleasesCode = "1000" ErrGetLatestReleaseNamesCode = "1001" ErrEmptyConfigCode = "1027" )
Variables ¶
View Source
var ( KumaOperation = strings.ToLower(smp.ServiceMesh_KUMA.Enum().String()) ServerConfig = map[string]string{ "name": smp.ServiceMesh_KUMA.Enum().String(), "type": "adapter", "port": "10007", "traceurl": status.None, } MeshSpec = map[string]string{ "name": smp.ServiceMesh_KUMA.Enum().String(), "status": status.NotInstalled, "version": status.None, } Operations = getOperations(common.Operations) )
View Source
var ( ServerDefaults = map[string]string{ "name": smp.ServiceMesh_KUMA.Enum().String(), "type": "adapter", "port": "10007", "traceurl": "none", } MeshSpecDefaults = map[string]string{ "name": smp.ServiceMesh_KUMA.Enum().String(), "status": status.NotInstalled, "version": "none", } ProviderConfigDefaults = map[string]string{ configprovider.FilePath: configRootPath, configprovider.FileType: "yaml", configprovider.FileName: "kuma", } KubeConfigDefaults = map[string]string{ configprovider.FilePath: configRootPath, configprovider.FileType: "yaml", configprovider.FileName: "kubeconfig", } OperationsDefaults = getOperations(common.Operations) )
View Source
var (
ErrEmptyConfig = errors.New(ErrEmptyConfigCode, errors.Alert, []string{"Config is empty"}, []string{}, []string{}, []string{})
)
View Source
var (
ServiceName = "service_name"
)
Functions ¶
func ErrGetLatestReleaseNames ¶ added in v0.3.8
ErrGetLatestReleaseNames is the error for fetching linkerd releases
func ErrGetLatestReleases ¶ added in v0.3.8
ErrGetLatestReleases is the error for fetching linkerd releases
func NewKubeconfigBuilder ¶ added in v0.3.8
Types ¶
Click to show internal directories.
Click to hide internal directories.