Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FailedReport ¶
type Feed ¶
type Feed interface { OnAdded(func() error) OnSucceeded(func() error) OnFailed(func(reason string) error) OnEventMsg(func(msg string) error) OnAddedPod(func(podName string) error) OnPodLogChunk(func(*pod.PodLogChunk) error) OnPodError(func(pod.PodError) error) OnStatus(func(JobStatus) error) GetStatus() JobStatus Track(name, namespace string, kube kubernetes.Interface, opts tracker.Options) error }
type JobStatus ¶
type PodAddedReport ¶
type PodErrorReport ¶
type Tracker ¶
type Tracker struct { tracker.Tracker LogsFromTime time.Time Added chan JobStatus Succeeded chan JobStatus Failed chan JobStatus Status chan JobStatus EventMsg chan string AddedPod chan PodAddedReport PodLogChunk chan *pod.PodLogChunk PodError chan PodErrorReport State tracker.TrackerState TrackedPodsNames []string // contains filtered or unexported fields }
func NewTracker ¶
Click to show internal directories.
Click to hide internal directories.