Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TrackUntilEliminated ¶
func TrackUntilEliminated(ctx context.Context, kubeDynamicClient dynamic.Interface, specs []*EliminationTrackerSpec, opts EliminationTrackerOptions) error
Types ¶
type EliminationTracker ¶
type EliminationTracker struct { KubeDynamicClient dynamic.Interface Spec *EliminationTrackerSpec ResourceStatus chan ResourceStatus }
func NewEliminationTracker ¶
func NewEliminationTracker(kubeDynamicClient dynamic.Interface, spec *EliminationTrackerSpec) *EliminationTracker
func (*EliminationTracker) Track ¶
func (tracker *EliminationTracker) Track(ctx context.Context, opts EliminationTrackerOptions) error
type EliminationTrackerSpec ¶
type EliminationTrackerSpec struct { ResourceName string Namespace string GroupVersionResource schema.GroupVersionResource }
func (*EliminationTrackerSpec) String ¶
func (spec *EliminationTrackerSpec) String() string
type ResourceStatus ¶
type ResourceStatus struct { Spec *EliminationTrackerSpec ManifestJson []byte }
Click to show internal directories.
Click to hide internal directories.