Documentation ¶
Index ¶
- type Job
- func (j *Job) AddContainer(add container.Container)
- func (j *Job) AddInitContainer(add container.Container)
- func (j *Job) AppendPullSecret(imagePullSecret corev1.LocalObjectReference)
- func (j *Job) AppendVolumeIfMissing(volume corev1.Volume)
- func (j *Job) ContainerFinished(client controller.Client, contName string) (bool, error)
- func (j *Job) ContainerStatus(client controller.Client, contName string) (Status, error)
- func (j *Job) Delete(client controller.Client) error
- func (j *Job) GetContainer(name string) (cont container.Container, err error)
- func (j *Job) MustGetContainer(name string) container.Container
- func (j *Job) Status(client controller.Client) (Status, error)
- func (j *Job) UpdateSecurityContextForAllContainers(sc container.SecurityContext)
- func (j *Job) WaitUntilActive(client controller.Client) error
- func (j *Job) WaitUntilContainerFinished(client controller.Client, contName string) error
- func (j *Job) WaitUntilFinished(client controller.Client) error
- type Status
- type Timeouts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
func NewWithDefaults ¶
func (*Job) AddContainer ¶
func (*Job) AddInitContainer ¶
func (*Job) AppendPullSecret ¶
func (j *Job) AppendPullSecret(imagePullSecret corev1.LocalObjectReference)
func (*Job) AppendVolumeIfMissing ¶
func (*Job) ContainerFinished ¶
func (*Job) ContainerStatus ¶
func (*Job) GetContainer ¶
func (*Job) UpdateSecurityContextForAllContainers ¶
func (j *Job) UpdateSecurityContextForAllContainers(sc container.SecurityContext)
UpdateSecurityContextForAllContainers updates the security context for all containers defined in the job
func (*Job) WaitUntilActive ¶
func (j *Job) WaitUntilActive(client controller.Client) error
func (*Job) WaitUntilContainerFinished ¶
func (j *Job) WaitUntilContainerFinished(client controller.Client, contName string) error
func (*Job) WaitUntilFinished ¶
func (j *Job) WaitUntilFinished(client controller.Client) error
Click to show internal directories.
Click to hide internal directories.