Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tracker ¶
type Tracker struct {
// contains filtered or unexported fields
}
func NewProgressTracker ¶
func NewProgressTracker(client kubernetes.Interface, logger *zap.SugaredLogger, config Config) (*Tracker, error)
func (*Tracker) AddResource ¶
func (pt *Tracker) AddResource(kind WatchableResource, namespace, name string)
func (*Tracker) AddResourceWithInfo ¶
func (pt *Tracker) AddResourceWithInfo(kind WatchableResource, namespace, name string, info *resource.Info)
type WatchableResource ¶
type WatchableResource string
const ( Deployment WatchableResource = "Deployment" Pod WatchableResource = "Pod" DaemonSet WatchableResource = "DaemonSet" StatefulSet WatchableResource = "StatefulSet" Job WatchableResource = "Job" CustomResourceDefinition WatchableResource = "CustomResourceDefinition" )
func NewWatchableResource ¶
func NewWatchableResource(kind string) (WatchableResource, error)
Click to show internal directories.
Click to hide internal directories.