v1beta1

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResourceLoadError

func NewResourceLoadError(resource string, err error) error

NewResourceLoadError creates a `ResourceLoadError`.

Types

type BatchV1Beta1

type BatchV1Beta1 struct {
	v1.BatchV1beta1Interface
	// contains filtered or unexported fields
}

BatchV1Beta1 is used to interact with features provided by the batch group.

func NewBatchV1Beta1

func NewBatchV1Beta1(client kubernetes.Interface, options *options.Client) *BatchV1Beta1

NewBatchV1Beta1 creates `BatchV1Beta1`.

func (*BatchV1Beta1) CronJob

func (batchv1beta1 *BatchV1Beta1) CronJob(resource string) *result.Result

CronJob returns a single resource.

func (*BatchV1Beta1) CronJobList

func (batchv1beta1 *BatchV1Beta1) CronJobList() ([]string, error)

CronJobList returns a list of cronjobs.

type ResourceLoadError

type ResourceLoadError struct {
	Err      error
	Resource string
}

ResourceLoadError wraps API errors when a resource is not found.

func (*ResourceLoadError) Error

func (e *ResourceLoadError) Error() string

Error returns the message on the internal error (if there is one).

func (*ResourceLoadError) Unwrap

func (e *ResourceLoadError) Unwrap() error

Unwrap returns the internal error.

Jump to

Keyboard shortcuts

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