Documentation ¶
Index ¶
- type BatchV1
- type CronJob
- func (c *CronJob) Create(cronJob *batchv1.CronJob) error
- func (c *CronJob) Delete(cronJobName string) error
- func (c *CronJob) Get(cronJobName string) (*batchv1.CronJob, error)
- func (c *CronJob) List() (*batchv1.CronJobList, error)
- func (c *CronJob) Namespace(namespace string) *CronJob
- func (c *CronJob) Update(cronJob *batchv1.CronJob) error
- type Job
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchV1 ¶
BatchV1 struct for access to batchv1 api
func NewBatchV1 ¶
func NewBatchV1(client batchInterface.BatchV1Interface) *BatchV1
NewBatchV1 return a batch v1 api
type CronJob ¶
type CronJob struct { CurrentNamespace string // contains filtered or unexported fields }
CronJob strct for cronJobs action
func NewCronJobAction ¶
func NewCronJobAction(client appsInterface.BatchV1Interface) *CronJob
NewCronJobAction get a cronJob action
func (*CronJob) List ¶
func (c *CronJob) List() (*batchv1.CronJobList, error)
List List all cronJobs in a namespace
type Job ¶
type Job struct { CurrentNamespace string // contains filtered or unexported fields }
Job strct for jobs action
func NewJobAction ¶
func NewJobAction(client appsInterface.BatchV1Interface) *Job
NewJobAction get a job action
Click to show internal directories.
Click to hide internal directories.