Documentation
¶
Index ¶
- func SetCompleteFailed(c Conditioner)
- func SetCompleteFailedWithMessage(c Conditioner, message string)
- func SetCompleteWithCronJob(c Conditioner, cronJob *batchv1.CronJob)
- func SetCompleteWithJob(c Conditioner, job *batchv1.Job)
- func SetReadyCreated(c Conditioner)
- func SetReadyCreatedWithMessage(c Conditioner, message string)
- func SetReadyFailed(c Conditioner)
- func SetReadyFailedWithMessage(c Conditioner, message string)
- type Complete
- func (p *Complete) FailedPatcher(msg string) Patcher
- func (p *Complete) PatcherWithCronJob(ctx context.Context, err error, key types.NamespacedName) (Patcher, error)
- func (p *Complete) PatcherWithJob(ctx context.Context, err error, key types.NamespacedName) (Patcher, error)
- func (p *Complete) RefResolverPatcher(err error, obj runtime.Object) Patcher
- type Conditioner
- type Patcher
- type Ready
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetCompleteFailed ¶
func SetCompleteFailed(c Conditioner)
func SetCompleteFailedWithMessage ¶
func SetCompleteFailedWithMessage(c Conditioner, message string)
func SetCompleteWithCronJob ¶ added in v0.0.2
func SetCompleteWithCronJob(c Conditioner, cronJob *batchv1.CronJob)
func SetCompleteWithJob ¶
func SetCompleteWithJob(c Conditioner, job *batchv1.Job)
func SetReadyCreated ¶
func SetReadyCreated(c Conditioner)
func SetReadyCreatedWithMessage ¶
func SetReadyCreatedWithMessage(c Conditioner, message string)
func SetReadyFailed ¶
func SetReadyFailed(c Conditioner)
func SetReadyFailedWithMessage ¶
func SetReadyFailedWithMessage(c Conditioner, message string)
Types ¶
type Complete ¶
type Complete struct {
// contains filtered or unexported fields
}
func NewComplete ¶
func (*Complete) FailedPatcher ¶
func (*Complete) PatcherWithCronJob ¶ added in v0.0.2
func (*Complete) PatcherWithJob ¶
type Conditioner ¶
type Patcher ¶
type Patcher func(Conditioner)
type Ready ¶
type Ready struct{}
func (*Ready) FailedPatcher ¶
func (*Ready) PatcherWithError ¶
func (*Ready) RefResolverPatcher ¶
Click to show internal directories.
Click to hide internal directories.