Documentation ¶
Overview ¶
Package jobs provides implementation of Job resources for Kubernetes
Deprecated: Use the resources package instead.
Index ¶
- type JobOptionsdeprecated
- type Jobsdeprecated
- func (obj *Jobs) Apply(yaml string, namespace string) (v1.Job, error)deprecated
- func (obj *Jobs) Create(options JobOptions) (v1.Job, error)deprecated
- func (obj *Jobs) Delete(name, namespace string) errordeprecated
- func (obj *Jobs) Get(name, namespace string) (v1.Job, error)deprecated
- func (obj *Jobs) Kill(name, namespace string) errordeprecated
- func (obj *Jobs) List(namespace string) ([]v1.Job, error)deprecated
- func (obj *Jobs) Wait(options WaitOptions) (bool, error)deprecated
- type WaitOptionsdeprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobOptions
deprecated
type JobOptions struct { Namespace string Name string NodeName string Image string PullPolicy coreV1.PullPolicy Command []string RestartPolicy coreV1.RestartPolicy Wait string Autodelete bool }
JobOptions provide configuration settings for creation of Job resources
Deprecated: No longer used in favor of generic resources.
type Jobs
deprecated
type Jobs struct {
// contains filtered or unexported fields
}
Jobs provides API for manipulating Job resources within a Kubernetes cluster
Deprecated: No longer used in favor of generic resources.
func New
deprecated
func New(ctx context.Context, client kubernetes.Interface, metaOptions metav1.ListOptions) *Jobs
New creates a new instance backed by the provided client
Deprecated: No longer used.
func (*Jobs) Wait
deprecated
func (obj *Jobs) Wait(options WaitOptions) (bool, error)
Wait for all pods to complete
Deprecated: No longer used.
type WaitOptions
deprecated
Click to show internal directories.
Click to hide internal directories.