Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResourceLoadError ¶
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.