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 ( // LogInfo level is for most info logs, this is the default // One should just call Info directly. LogInfo klog.Level = iota // LogDebug is for more verbose logs LogDebug // LogDebugWithContent is recommended if one wants to log with the content of the object, // ie. http body, json/yaml file content LogDebugWithContent // LogTrace is the most verbose log level, don't add anything after this LogTrace = 100 )
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" // RollingComponentsSep is the separator that divide the names in the newComponent annotation RollingComponentsSep = "," // DisableAllCaps disable all capabilities DisableAllCaps = "all" // DisableNoneCaps disable none of capabilities DisableNoneCaps = "" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.