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

Struct RollbackVisitor

pkg/polymorphichelpers/rollback.go:52–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52type RollbackVisitor struct {
53 clientset kubernetes.Interface
54 result Rollbacker
55}
56
57func (v *RollbackVisitor) VisitDeployment(elem apps.GroupKindElement) {
58 v.result = &DeploymentRollbacker{v.clientset}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected