monitor

package
v0.2.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobStatus

type JobStatus struct {
	Status   api.JobStatusEnum
	ErrorMsg string
}

type SimpleMonitor

type SimpleMonitor struct {
	// contains filtered or unexported fields
}

func New

func New(k8sClient *kubernetes.Clientset, namespace string) SimpleMonitor

func (*SimpleMonitor) GetJobStatus

func (monitor *SimpleMonitor) GetJobStatus(jobID string) (JobStatus, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL