Documentation ¶
Index ¶
- func CreateOrPatchRecovery(ctx context.Context, c cs.StashV1alpha1Interface, meta metav1.ObjectMeta, ...) (*api.Recovery, kutil.VerbType, error)
- func CreateOrPatchRepository(ctx context.Context, c cs.StashV1alpha1Interface, meta metav1.ObjectMeta, ...) (*api.Repository, kutil.VerbType, error)
- func CreateOrPatchRestic(ctx context.Context, c cs.StashV1alpha1Interface, meta metav1.ObjectMeta, ...) (*api.Restic, kutil.VerbType, error)
- func PatchRecovery(ctx context.Context, c cs.StashV1alpha1Interface, cur *api.Recovery, ...) (*api.Recovery, kutil.VerbType, error)
- func PatchRecoveryObject(ctx context.Context, c cs.StashV1alpha1Interface, cur, mod *api.Recovery, ...) (*api.Recovery, kutil.VerbType, error)
- func PatchRepository(ctx context.Context, c cs.StashV1alpha1Interface, cur *api.Repository, ...) (*api.Repository, kutil.VerbType, error)
- func PatchRepositoryObject(ctx context.Context, c cs.StashV1alpha1Interface, cur, mod *api.Repository, ...) (*api.Repository, kutil.VerbType, error)
- func PatchRestic(ctx context.Context, c cs.StashV1alpha1Interface, cur *api.Restic, ...) (*api.Restic, kutil.VerbType, error)
- func PatchResticObject(ctx context.Context, c cs.StashV1alpha1Interface, cur, mod *api.Restic, ...) (*api.Restic, kutil.VerbType, error)
- func SetRecoveryStats(ctx context.Context, c cs.StashV1alpha1Interface, recovery metav1.ObjectMeta, ...) (*api.Recovery, error)
- func TryUpdateRecovery(ctx context.Context, c cs.StashV1alpha1Interface, meta metav1.ObjectMeta, ...) (result *api.Recovery, err error)
- func TryUpdateRepository(ctx context.Context, c cs.StashV1alpha1Interface, meta metav1.ObjectMeta, ...) (result *api.Repository, err error)
- func TryUpdateRestic(ctx context.Context, c cs.StashV1alpha1Interface, meta metav1.ObjectMeta, ...) (result *api.Restic, err error)
- func UpdateRecoveryStatus(ctx context.Context, c cs.StashV1alpha1Interface, meta metav1.ObjectMeta, ...) (result *api.Recovery, err error)
- func UpdateRepositoryStatus(ctx context.Context, c cs.StashV1alpha1Interface, meta metav1.ObjectMeta, ...) (result *api.Repository, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrPatchRecovery ¶
func CreateOrPatchRepository ¶
func CreateOrPatchRepository(ctx context.Context, c cs.StashV1alpha1Interface, meta metav1.ObjectMeta, transform func(in *api.Repository) *api.Repository, opts metav1.PatchOptions) (*api.Repository, kutil.VerbType, error)
func CreateOrPatchRestic ¶
func PatchRecovery ¶
func PatchRecoveryObject ¶
func PatchRepository ¶
func PatchRepository(ctx context.Context, c cs.StashV1alpha1Interface, cur *api.Repository, transform func(*api.Repository) *api.Repository, opts metav1.PatchOptions) (*api.Repository, kutil.VerbType, error)
func PatchRepositoryObject ¶
func PatchRepositoryObject(ctx context.Context, c cs.StashV1alpha1Interface, cur, mod *api.Repository, opts metav1.PatchOptions) (*api.Repository, kutil.VerbType, error)
func PatchRestic ¶
func PatchResticObject ¶
func SetRecoveryStats ¶
func SetRecoveryStats(ctx context.Context, c cs.StashV1alpha1Interface, recovery metav1.ObjectMeta, path string, d time.Duration, phase api.RecoveryPhase, opts metav1.UpdateOptions) (*api.Recovery, error)
func TryUpdateRecovery ¶
func TryUpdateRecovery(ctx context.Context, c cs.StashV1alpha1Interface, meta metav1.ObjectMeta, transform func(*api.Recovery) *api.Recovery, opts metav1.UpdateOptions) (result *api.Recovery, err error)
func TryUpdateRepository ¶
func TryUpdateRepository(ctx context.Context, c cs.StashV1alpha1Interface, meta metav1.ObjectMeta, transform func(*api.Repository) *api.Repository, opts metav1.UpdateOptions) (result *api.Repository, err error)
func TryUpdateRestic ¶
func TryUpdateRestic(ctx context.Context, c cs.StashV1alpha1Interface, meta metav1.ObjectMeta, transform func(*api.Restic) *api.Restic, opts metav1.UpdateOptions) (result *api.Restic, err error)
func UpdateRecoveryStatus ¶
func UpdateRecoveryStatus( ctx context.Context, c cs.StashV1alpha1Interface, meta metav1.ObjectMeta, transform func(*api.RecoveryStatus) (types.UID, *api.RecoveryStatus), opts metav1.UpdateOptions, ) (result *api.Recovery, err error)
func UpdateRepositoryStatus ¶
func UpdateRepositoryStatus( ctx context.Context, c cs.StashV1alpha1Interface, meta metav1.ObjectMeta, transform func(*api.RepositoryStatus) (types.UID, *api.RepositoryStatus), opts metav1.UpdateOptions, ) (result *api.Repository, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.