v1beta1

package
v1.6.20 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CronJobKind = resource.Kind{
	Group:   "batch",
	Version: "v1beta1",
	Kind:    "CronJob",
	Scoped:  true,
}
View Source
var CronJobResource = resource.Type{
	Kind: CronJobKind,
	Name: "cronjobs",
}

Functions

This section is empty.

Types

type Client

type Client interface {
	CronJobsClient
}

func NewClient

func NewClient(resources resource.Client, filter resource.Filter) Client

type CronJob

type CronJob struct {
	*resource.Resource
	Object *batchv1beta1.CronJob
}

func NewCronJob

func NewCronJob(cronJob *batchv1beta1.CronJob, client resource.Client) *CronJob

func (*CronJob) Delete

func (r *CronJob) Delete(ctx context.Context) error

type CronJobsClient

type CronJobsClient interface {
	CronJobs() CronJobsReader
}

func NewCronJobsClient

func NewCronJobsClient(resources resource.Client, filter resource.Filter) CronJobsClient

type CronJobsReader

type CronJobsReader interface {
	Get(ctx context.Context, name string) (*CronJob, error)
	List(ctx context.Context) ([]*CronJob, error)
}

func NewCronJobsReader

func NewCronJobsReader(client resource.Client, filter resource.Filter) CronJobsReader

Jump to

Keyboard shortcuts

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