mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
commit
a01bc2ba89
@ -652,7 +652,7 @@ func (o *ApplyOptions) MarkNamespaceVisited(info *resource.Info) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// MarkNamespaceVisited keeps track of UIDs of the applied
|
// MarkObjectVisited keeps track of UIDs of the applied
|
||||||
// objects. Used for pruning.
|
// objects. Used for pruning.
|
||||||
func (o *ApplyOptions) MarkObjectVisited(info *resource.Info) error {
|
func (o *ApplyOptions) MarkObjectVisited(info *resource.Info) error {
|
||||||
metadata, err := meta.Accessor(info.Object)
|
metadata, err := meta.Accessor(info.Object)
|
||||||
@ -663,7 +663,7 @@ func (o *ApplyOptions) MarkObjectVisited(info *resource.Info) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// PrintAndPrune returns a function which meets the PostProcessorFn
|
// PrintAndPrunePostProcessor returns a function which meets the PostProcessorFn
|
||||||
// function signature. This returned function prints all the
|
// function signature. This returned function prints all the
|
||||||
// objects as a list (if configured for that), and prunes the
|
// objects as a list (if configured for that), and prunes the
|
||||||
// objects not applied. The returned function is the standard
|
// objects not applied. The returned function is the standard
|
||||||
|
Loading…
Reference in New Issue
Block a user