Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AnnotationGcTag annotation that triggers // garbage collection. Objects with value equal to // command-line flag that are *not* in config will be deleted. AnnotationGcTag = "kubecfg.ksonnet.io/garbage-collect-tag" // AnnotationGcStrategy controls gc logic. Current values: // `auto` (default if absent) - do garbage collection // `ignore` - never garbage collect this object AnnotationGcStrategy = "kubecfg.ksonnet.io/garbage-collect-strategy" // GcStrategyAuto is the default automatic gc logic GcStrategyAuto = "auto" // GcStrategyIgnore means this object should be ignored by garbage collection GcStrategyIgnore = "ignore" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UpdateCmd ¶
type UpdateCmd struct { ClientPool dynamic.ClientPool Discovery discovery.DiscoveryInterface DefaultNamespace string Create bool GcTag string SkipGc bool DryRun bool }
UpdateCmd represents the update subcommand
func (UpdateCmd) Run ¶
func (c UpdateCmd) Run(objs []*unstructured.Unstructured) error
Click to show internal directories.
Click to hide internal directories.