MCPcopy
hub / github.com/kubernetes/kubectl / PruneObject

Struct PruneObject

pkg/cmd/apply/applyset_pruner.go:47–52  ·  view source on GitHub ↗

PruneObject is an apiserver object that should be deleted as part of prune.

Source from the content-addressed store, hash-verified

45
46// PruneObject is an apiserver object that should be deleted as part of prune.
47type PruneObject struct {
48 Name string
49 Namespace string
50 Mapping *meta.RESTMapping
51 Object runtime.Object
52}
53
54// String returns a human-readable name of the object, for use in debug messages.
55func (p *PruneObject) String() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected