Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetUpdateTypeLabel ¶
func GetUpdateTypeLabel(updateType UpdateType) string
func ReportUpdated ¶
func ReportUpdated(update *UpdateResult, scfg *config.StrategyConfig)
Types ¶
type ResultType ¶
type ResultType int
const ( ResultTypeSuccess ResultType = iota ResultTypeFailed ResultTypeDryRun )
type UpdateResult ¶
type UpdateResult struct {
Changes []Change
Type ResultType
Key string
Error error
}
type UpdateType ¶
type UpdateType int
const ( UpdateTypeCpuRequest UpdateType = iota UpdateTypeMemoryRequest UpdateTypeCpuLimit UpdateTypeMemoryLimit )
Click to show internal directories.
Click to hide internal directories.