common

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2020 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

View Source
const (
	ErrLocatingWorkload = "failed to locate the workload"
	ErrLocatingService  = "failed to locate any the services"
	ErrCreatingService  = "failed to create the services"

	ErrUpdateStatus = "failed to update status"
)

error msg for common usage

View Source
const (
	// AutoscaleControllerName is the controller name of Trait autoscale
	AutoscaleControllerName = "autoscale"
	// MetricsControllerName is the controller name of Trait metrics
	MetricsControllerName = "metrics"
	// PodspecWorkloadControllerName is the controller name of Workload podsepcworkload
	PodspecWorkloadControllerName = "podspecworkload"
	// RouteControllerName is the controller name of Trait route
	RouteControllerName = "route"

	// DisableAllCaps disable all capabilities
	DisableAllCaps = "all"
	// DisableNoneCaps disable none of capabilities
	DisableNoneCaps = ""
)

Variables

View Source
var ServiceAPIVersion = v1.SchemeGroupVersion.String()

ServiceAPIVersion is string "v1"

View Source
var ServiceKind = reflect.TypeOf(v1.Service{}).Name()

ServiceKind is string "Service"

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL