Documentation ¶
Index ¶
- func CopyJob(job *batch.Job) *batch.Job
- type KronClient
- func (k *KronClient) DeletePodsInJob(job *batch.Job) (err error)
- func (k *KronClient) Jobs() client.JobInterface
- func (k *KronClient) ListJobExecutions() (jobs *batch.JobList, err error)
- func (k *KronClient) ListJobs() (jobs *batch.JobList, err error)
- func (k *KronClient) WatchJobs() (watcher watch.Interface, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KronClient ¶ added in v0.1.0
func NewClient ¶ added in v0.1.0
func NewClient(host string, namespace string) (k *KronClient, err error)
CreateClient creates a client for Kubernetes cluster
func (*KronClient) DeletePodsInJob ¶ added in v0.1.0
func (k *KronClient) DeletePodsInJob(job *batch.Job) (err error)
DeletePodsInJob deletes all Pods which were created for a Job
func (*KronClient) Jobs ¶ added in v0.1.0
func (k *KronClient) Jobs() client.JobInterface
func (*KronClient) ListJobExecutions ¶ added in v0.1.0
func (k *KronClient) ListJobExecutions() (jobs *batch.JobList, err error)
ListJobExecutions finds all jobs scheduled by kron
Click to show internal directories.
Click to hide internal directories.