Documentation
¶
Index ¶
- Constants
- type Event
- type EventType
- type TreeStatus
- type Waitables
- func (w *Waitables) AddItem(kind string, namespace string, name string) error
- func (w *Waitables) Done()
- func (w *Waitables) GetAllNamespaces() []string
- func (w *Waitables) HasJob(meta metav1.ObjectMeta) bool
- func (w *Waitables) HasJobs() bool
- func (w *Waitables) HasPod(meta metav1.ObjectMeta) bool
- func (w *Waitables) HasPodDirect(meta metav1.ObjectMeta) bool
- func (w *Waitables) HasPods() bool
- func (w *Waitables) HasService(meta metav1.ObjectMeta) bool
- func (w *Waitables) HasServices() bool
- func (w *Waitables) IsDone() bool
- func (w *Waitables) PrintStatus()
- func (w *Waitables) ProcessEventAddJob(ctx context.Context, job *batchv1.Job) (bool, error)
- func (w *Waitables) ProcessEventAddPod(ctx context.Context, pod *corev1.Pod) (bool, error)
- func (w *Waitables) ProcessEventAddService(ctx context.Context, svc *corev1.Service) (bool, error)
- func (w *Waitables) ProcessEventDeleteJob(ctx context.Context, job *batchv1.Job) (bool, error)
- func (w *Waitables) ProcessEventDeletePod(ctx context.Context, pod *corev1.Pod) (bool, error)
- func (w *Waitables) ProcessEventDeleteService(ctx context.Context, svc *corev1.Service) (bool, error)
- func (w *Waitables) ProcessEventUpdateJob(ctx context.Context, job *batchv1.Job) (bool, error)
- func (w *Waitables) ProcessEventUpdatePod(ctx context.Context, pod *corev1.Pod) (bool, error)
- func (w *Waitables) ProcessEventUpdateService(ctx context.Context, svc *corev1.Service) (bool, error)
- func (w *Waitables) ProcessOldPodEvents(ctx context.Context, pod *corev1.Pod) (bool, error)
- func (w *Waitables) SetJobComplete(job *batchv1.Job)
- func (w *Waitables) SetJobCompleteFromJob(job *batchv1.Job)
- func (w *Waitables) SetPodReady(pod *corev1.Pod)
- func (w *Waitables) SetPodReadyFromPod(pod *corev1.Pod)
- func (w *Waitables) SetServiceChildren(meta *metav1.ObjectMeta, pods []corev1.Pod)
- func (w *Waitables) Start()
- func (w *Waitables) Ticker() bool
- func (w *Waitables) TotalCount() int
- func (w *Waitables) UnsetJobComplete(job *batchv1.Job)
- func (w *Waitables) UnsetPodReady(pod *corev1.Pod)
- func (w *Waitables) WithCache(c cache.Cache) *Waitables
Constants ¶
View Source
const ( TreeStatusDone = "✅" TreeStatusNotDone = "❌" TreeStatusUnknown = "❔" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TreeStatus ¶
type TreeStatus string
type Waitables ¶
type Waitables struct { cache.Cache LastPodEvents map[types.UID]Event Services items.NamespacedServiceCollection Pods items.NamespacedPodCollection Jobs items.NamespacedJobCollection // contains filtered or unexported fields }
func NewWaitables ¶
func NewWaitables(c *flags.ConfigFlags) *Waitables
func (*Waitables) GetAllNamespaces ¶
func (*Waitables) HasPodDirect ¶
func (w *Waitables) HasPodDirect(meta metav1.ObjectMeta) bool
func (*Waitables) HasService ¶
func (w *Waitables) HasService(meta metav1.ObjectMeta) bool
func (*Waitables) HasServices ¶
func (*Waitables) PrintStatus ¶
func (w *Waitables) PrintStatus()
func (*Waitables) ProcessEventAddJob ¶
func (*Waitables) ProcessEventAddPod ¶
func (*Waitables) ProcessEventAddService ¶
func (*Waitables) ProcessEventDeleteJob ¶
func (*Waitables) ProcessEventDeletePod ¶
func (*Waitables) ProcessEventDeleteService ¶
func (*Waitables) ProcessEventUpdateJob ¶
func (*Waitables) ProcessEventUpdatePod ¶
func (*Waitables) ProcessEventUpdateService ¶
func (*Waitables) ProcessOldPodEvents ¶
func (*Waitables) SetJobComplete ¶
func (*Waitables) SetJobCompleteFromJob ¶
func (*Waitables) SetPodReady ¶
func (*Waitables) SetPodReadyFromPod ¶
func (*Waitables) SetServiceChildren ¶
func (w *Waitables) SetServiceChildren(meta *metav1.ObjectMeta, pods []corev1.Pod)
func (*Waitables) TotalCount ¶
func (*Waitables) UnsetJobComplete ¶
func (*Waitables) UnsetPodReady ¶
Click to show internal directories.
Click to hide internal directories.