Documentation ¶
Index ¶
- Variables
- func NewJobPatcher(upd, orig *Job) lifecycle.Persister
- type Job
- func (j *Job) Complete() bool
- func (j *Job) CompleteCondition() (batchv1.JobCondition, bool)
- func (j *Job) Condition(typ batchv1.JobConditionType) (batchv1.JobCondition, bool)
- func (j *Job) Copy() *Job
- func (j *Job) Delete(ctx context.Context, cl client.Client, opts ...lifecycle.DeleteOption) (bool, error)
- func (j *Job) Failed() bool
- func (j *Job) FailedCondition() (batchv1.JobCondition, bool)
- func (j *Job) LabelAnnotateFrom(ctx context.Context, from metav1.Object)
- func (j *Job) Load(ctx context.Context, cl client.Client) (bool, error)
- func (j *Job) Owned(ctx context.Context, owner lifecycle.TypedObject) error
- func (j *Job) Persist(ctx context.Context, cl client.Client) error
- func (j *Job) Succeeded() bool
Constants ¶
This section is empty.
Variables ¶
View Source
var (
JobKind = batchv1.SchemeGroupVersion.WithKind("Job")
)
Functions ¶
func NewJobPatcher ¶
Types ¶
type Job ¶
func NewJobFromObject ¶
func (*Job) CompleteCondition ¶ added in v0.2.0
func (j *Job) CompleteCondition() (batchv1.JobCondition, bool)
func (*Job) Condition ¶ added in v0.2.0
func (j *Job) Condition(typ batchv1.JobConditionType) (batchv1.JobCondition, bool)
func (*Job) FailedCondition ¶ added in v0.2.0
func (j *Job) FailedCondition() (batchv1.JobCondition, bool)
func (*Job) LabelAnnotateFrom ¶
Click to show internal directories.
Click to hide internal directories.