conditions

package
v0.28.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2023 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetBackendRepositoryInitializedConditionToFalse

func SetBackendRepositoryInitializedConditionToFalse(session *invoker.BackupSessionHandler, err error) error

func SetBackendRepositoryInitializedConditionToTrue

func SetBackendRepositoryInitializedConditionToTrue(session *invoker.BackupSessionHandler) error

func SetBackendSecretFoundConditionToFalse

func SetBackendSecretFoundConditionToFalse(i interface{}, secretName string) error

func SetBackendSecretFoundConditionToTrue

func SetBackendSecretFoundConditionToTrue(i interface{}, secretName string) error

func SetBackendSecretFoundConditionToUnknown

func SetBackendSecretFoundConditionToUnknown(i interface{}, secretName string, err error) error

func SetBackupDeadlineExceededConditionToTrue added in v0.21.0

func SetBackupDeadlineExceededConditionToTrue(session *invoker.BackupSessionHandler, timeOut metav1.Duration) error

func SetBackupExecutorEnsuredToFalse added in v0.19.0

func SetBackupExecutorEnsuredToFalse(session *invoker.BackupSessionHandler, target v1beta1.TargetRef, err error) error

func SetBackupExecutorEnsuredToTrue added in v0.19.0

func SetBackupExecutorEnsuredToTrue(session *invoker.BackupSessionHandler, target v1beta1.TargetRef) error

func SetBackupHistoryCleanedConditionToFalse added in v0.19.0

func SetBackupHistoryCleanedConditionToFalse(session *invoker.BackupSessionHandler, err error) error

func SetBackupHistoryCleanedConditionToTrue added in v0.19.0

func SetBackupHistoryCleanedConditionToTrue(session *invoker.BackupSessionHandler) error

func SetBackupMetricsPushedConditionToFalse added in v0.19.0

func SetBackupMetricsPushedConditionToFalse(session *invoker.BackupSessionHandler, err error) error

func SetBackupMetricsPushedConditionToTrue added in v0.19.0

func SetBackupMetricsPushedConditionToTrue(session *invoker.BackupSessionHandler) error

func SetBackupSkippedConditionToTrue added in v0.19.0

func SetBackupSkippedConditionToTrue(session *invoker.BackupSessionHandler, msg string) error

func SetBackupTargetFoundConditionToFalse

func SetBackupTargetFoundConditionToFalse(invoker invoker.BackupInvoker, tref v1beta1.TargetRef) error

func SetBackupTargetFoundConditionToTrue

func SetBackupTargetFoundConditionToTrue(invoker invoker.BackupInvoker, tref v1beta1.TargetRef) error

func SetBackupTargetFoundConditionToUnknown

func SetBackupTargetFoundConditionToUnknown(invoker invoker.BackupInvoker, tref v1beta1.TargetRef, err error) error

func SetCronJobCreatedConditionToFalse

func SetCronJobCreatedConditionToFalse(invoker invoker.BackupInvoker, err error) error

func SetCronJobCreatedConditionToTrue

func SetCronJobCreatedConditionToTrue(invoker invoker.BackupInvoker) error

func SetGlobalPostBackupHookSucceededConditionToFalse

func SetGlobalPostBackupHookSucceededConditionToFalse(session *invoker.BackupSessionHandler, hookErr error) error

func SetGlobalPostBackupHookSucceededConditionToTrue

func SetGlobalPostBackupHookSucceededConditionToTrue(session *invoker.BackupSessionHandler) error

func SetGlobalPostBackupHookSucceededConditionToTrueWithMsg added in v0.22.0

func SetGlobalPostBackupHookSucceededConditionToTrueWithMsg(session *invoker.BackupSessionHandler, msg string) error

func SetGlobalPostRestoreHookSucceededConditionToFalse

func SetGlobalPostRestoreHookSucceededConditionToFalse(invoker invoker.RestoreInvoker, hookErr error) error

func SetGlobalPostRestoreHookSucceededConditionToTrue

func SetGlobalPostRestoreHookSucceededConditionToTrue(invoker invoker.RestoreInvoker) error

func SetGlobalPostRestoreHookSucceededConditionToTrueWithMsg added in v0.22.0

func SetGlobalPostRestoreHookSucceededConditionToTrueWithMsg(invoker invoker.RestoreInvoker, msg string) error

func SetGlobalPreBackupHookSucceededConditionToFalse

func SetGlobalPreBackupHookSucceededConditionToFalse(session *invoker.BackupSessionHandler, hookErr error) error

func SetGlobalPreBackupHookSucceededConditionToTrue

func SetGlobalPreBackupHookSucceededConditionToTrue(session *invoker.BackupSessionHandler) error

func SetGlobalPreRestoreHookSucceededConditionToFalse

func SetGlobalPreRestoreHookSucceededConditionToFalse(invoker invoker.RestoreInvoker, hookErr error) error

func SetGlobalPreRestoreHookSucceededConditionToTrue

func SetGlobalPreRestoreHookSucceededConditionToTrue(invoker invoker.RestoreInvoker) error

func SetInitContainerInjectedConditionToFalse

func SetInitContainerInjectedConditionToFalse(inv invoker.RestoreInvoker, tref *v1beta1.TargetRef, err error) error

func SetInitContainerInjectedConditionToTrue

func SetInitContainerInjectedConditionToTrue(inv invoker.RestoreInvoker, tref *v1beta1.TargetRef) error

func SetPostBackupHookExecutionSucceededToFalse added in v0.19.0

func SetPostBackupHookExecutionSucceededToFalse(session *invoker.BackupSessionHandler, target v1beta1.TargetRef, err error) error

func SetPostBackupHookExecutionSucceededToTrue added in v0.19.0

func SetPostBackupHookExecutionSucceededToTrue(session *invoker.BackupSessionHandler, target v1beta1.TargetRef) error

func SetPostBackupHookExecutionSucceededToTrueWithMsg added in v0.22.0

func SetPostBackupHookExecutionSucceededToTrueWithMsg(session *invoker.BackupSessionHandler, target v1beta1.TargetRef, msg string) error

func SetPostRestoreHookExecutionSucceededToFalse added in v0.19.0

func SetPostRestoreHookExecutionSucceededToFalse(inv invoker.RestoreInvoker, err error) error

func SetPostRestoreHookExecutionSucceededToTrue added in v0.19.0

func SetPostRestoreHookExecutionSucceededToTrue(inv invoker.RestoreInvoker) error

func SetPostRestoreHookExecutionSucceededToTrueWithMsg added in v0.22.0

func SetPostRestoreHookExecutionSucceededToTrueWithMsg(inv invoker.RestoreInvoker, msg string) error

func SetPreBackupHookExecutionSucceededToFalse added in v0.19.0

func SetPreBackupHookExecutionSucceededToFalse(session *invoker.BackupSessionHandler, target v1beta1.TargetRef, err error) error

func SetPreBackupHookExecutionSucceededToTrue added in v0.19.0

func SetPreBackupHookExecutionSucceededToTrue(session *invoker.BackupSessionHandler, target v1beta1.TargetRef) error

func SetPreRestoreHookExecutionSucceededToFalse added in v0.19.0

func SetPreRestoreHookExecutionSucceededToFalse(inv invoker.RestoreInvoker, err error) error

func SetPreRestoreHookExecutionSucceededToTrue added in v0.19.0

func SetPreRestoreHookExecutionSucceededToTrue(inv invoker.RestoreInvoker) error

func SetRepositoryFoundConditionToFalse

func SetRepositoryFoundConditionToFalse(i interface{}) error

func SetRepositoryFoundConditionToTrue

func SetRepositoryFoundConditionToTrue(i interface{}) error

func SetRepositoryFoundConditionToUnknown

func SetRepositoryFoundConditionToUnknown(i interface{}, err error) error

func SetRepositoryIntegrityVerifiedConditionToFalse

func SetRepositoryIntegrityVerifiedConditionToFalse(session *invoker.BackupSessionHandler, err error) error

func SetRepositoryIntegrityVerifiedConditionToTrue

func SetRepositoryIntegrityVerifiedConditionToTrue(session *invoker.BackupSessionHandler) error

func SetRepositoryMetricsPushedConditionToFalse

func SetRepositoryMetricsPushedConditionToFalse(session *invoker.BackupSessionHandler, err error) error

func SetRepositoryMetricsPushedConditionToTrue

func SetRepositoryMetricsPushedConditionToTrue(session *invoker.BackupSessionHandler) error

func SetRestoreCompletedConditionToFalse added in v0.16.0

func SetRestoreCompletedConditionToFalse(inv invoker.RestoreInvoker, tref *v1beta1.TargetRef, msg string) error

func SetRestoreCompletedConditionToTrue added in v0.16.0

func SetRestoreCompletedConditionToTrue(inv invoker.RestoreInvoker, tref *v1beta1.TargetRef, msg string) error

func SetRestoreDeadlineExceededConditionToTrue added in v0.21.0

func SetRestoreDeadlineExceededConditionToTrue(invoker invoker.RestoreInvoker, timeOut metav1.Duration) error

func SetRestoreExecutorEnsuredToFalse added in v0.19.0

func SetRestoreExecutorEnsuredToFalse(inv invoker.RestoreInvoker, tref *v1beta1.TargetRef, msg string) error

func SetRestoreExecutorEnsuredToTrue added in v0.19.0

func SetRestoreExecutorEnsuredToTrue(inv invoker.RestoreInvoker, tref *v1beta1.TargetRef, msg string) error

func SetRestoreJobCreatedConditionToFalse

func SetRestoreJobCreatedConditionToFalse(inv invoker.RestoreInvoker, tref *v1beta1.TargetRef, err error) error

func SetRestoreJobCreatedConditionToTrue

func SetRestoreJobCreatedConditionToTrue(inv invoker.RestoreInvoker, tref *v1beta1.TargetRef) error

func SetRestoreMetricsPushedConditionToFalse added in v0.19.0

func SetRestoreMetricsPushedConditionToFalse(inv invoker.RestoreInvoker, err error) error

func SetRestoreMetricsPushedConditionToTrue added in v0.19.0

func SetRestoreMetricsPushedConditionToTrue(inv invoker.RestoreInvoker) error

func SetRestoreTargetFoundConditionToFalse

func SetRestoreTargetFoundConditionToFalse(inv invoker.RestoreInvoker, index int) error

func SetRestoreTargetFoundConditionToTrue

func SetRestoreTargetFoundConditionToTrue(inv invoker.RestoreInvoker, index int) error

func SetRestoreTargetFoundConditionToUnknown

func SetRestoreTargetFoundConditionToUnknown(inv invoker.RestoreInvoker, index int, err error) error

func SetRetentionPolicyAppliedConditionToFalse

func SetRetentionPolicyAppliedConditionToFalse(session *invoker.BackupSessionHandler, err error) error

func SetRetentionPolicyAppliedConditionToTrue

func SetRetentionPolicyAppliedConditionToTrue(session *invoker.BackupSessionHandler) error

func SetSidecarInjectedConditionToFalse

func SetSidecarInjectedConditionToFalse(invoker invoker.BackupInvoker, tref v1beta1.TargetRef, err error) error

func SetSidecarInjectedConditionToTrue

func SetSidecarInjectedConditionToTrue(invoker invoker.BackupInvoker, tref v1beta1.TargetRef) error

func SetValidationPassedToFalse added in v0.18.0

func SetValidationPassedToFalse(i interface{}, err error) error

func SetValidationPassedToTrue added in v0.18.0

func SetValidationPassedToTrue(i interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL