conditions

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2021 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetBackendRepositoryInitializedConditionToFalse

func SetBackendRepositoryInitializedConditionToFalse(stashClient cs.Interface, backupSession *v1beta1.BackupSession, err error) (*v1beta1.BackupSession, error)

func SetBackendRepositoryInitializedConditionToTrue

func SetBackendRepositoryInitializedConditionToTrue(stashClient cs.Interface, backupSession *v1beta1.BackupSession) (*v1beta1.BackupSession, 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 SetBackupTargetFoundConditionToFalse

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

func SetBackupTargetFoundConditionToTrue

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

func SetBackupTargetFoundConditionToUnknown

func SetBackupTargetFoundConditionToUnknown(invoker invoker.BackupInvoker, tref api_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(stashClient cs.Interface, backupSession *api_v1beta1.BackupSession, hookErr error) (*api_v1beta1.BackupSession, error)

func SetGlobalPostBackupHookSucceededConditionToTrue

func SetGlobalPostBackupHookSucceededConditionToTrue(stashClient cs.Interface, backupSession *api_v1beta1.BackupSession) (*api_v1beta1.BackupSession, error)

func SetGlobalPostRestoreHookSucceededConditionToFalse

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

func SetGlobalPostRestoreHookSucceededConditionToTrue

func SetGlobalPostRestoreHookSucceededConditionToTrue(invoker invoker.RestoreInvoker) error

func SetGlobalPreBackupHookSucceededConditionToFalse

func SetGlobalPreBackupHookSucceededConditionToFalse(stashClient cs.Interface, backupSession *api_v1beta1.BackupSession, hookErr error) (*api_v1beta1.BackupSession, error)

func SetGlobalPreBackupHookSucceededConditionToTrue

func SetGlobalPreBackupHookSucceededConditionToTrue(stashClient cs.Interface, backupSession *api_v1beta1.BackupSession) (*api_v1beta1.BackupSession, 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 api_v1beta1.TargetRef, err error) error

func SetInitContainerInjectedConditionToTrue

func SetInitContainerInjectedConditionToTrue(inv invoker.RestoreInvoker, tref api_v1beta1.TargetRef) 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(stashClient cs.Interface, backupSession *v1beta1.BackupSession, err error) (*v1beta1.BackupSession, error)

func SetRepositoryIntegrityVerifiedConditionToTrue

func SetRepositoryIntegrityVerifiedConditionToTrue(stashClient cs.Interface, backupSession *v1beta1.BackupSession) (*v1beta1.BackupSession, error)

func SetRepositoryMetricsPushedConditionToFalse

func SetRepositoryMetricsPushedConditionToFalse(stashClient cs.Interface, backupSession *v1beta1.BackupSession, err error) (*v1beta1.BackupSession, error)

func SetRepositoryMetricsPushedConditionToTrue

func SetRepositoryMetricsPushedConditionToTrue(stashClient cs.Interface, backupSession *v1beta1.BackupSession) (*v1beta1.BackupSession, error)

func SetRestoreJobCreatedConditionToFalse

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

func SetRestoreJobCreatedConditionToTrue

func SetRestoreJobCreatedConditionToTrue(inv invoker.RestoreInvoker, tref *api_v1beta1.TargetRef) 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(stashClient cs.Interface, backupSession *v1beta1.BackupSession, err error) (*v1beta1.BackupSession, error)

func SetRetentionPolicyAppliedConditionToTrue

func SetRetentionPolicyAppliedConditionToTrue(stashClient cs.Interface, backupSession *v1beta1.BackupSession) (*v1beta1.BackupSession, error)

func SetSidecarInjectedConditionToFalse

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

func SetSidecarInjectedConditionToTrue

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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