util

package
v0.9.0-rc.6 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2020 License: Apache-2.0 Imports: 16 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssignTypeKind

func AssignTypeKind(v interface{}) error

func CreateOrPatchBackupBatch

func CreateOrPatchBackupBatch(c cs.StashV1beta1Interface, meta metav1.ObjectMeta, transform func(in *api.BackupBatch) *api.BackupBatch) (*api.BackupBatch, kutil.VerbType, error)

func CreateOrPatchFunction

func CreateOrPatchFunction(c cs.StashV1beta1Interface, meta metav1.ObjectMeta, transform func(fn *api.Function) *api.Function) (*api.Function, kutil.VerbType, error)

func CreateOrPatchTask

func CreateOrPatchTask(c cs.StashV1beta1Interface, meta metav1.ObjectMeta, transform func(in *api.Task) *api.Task) (*api.Task, kutil.VerbType, error)

func GetGroupVersionKind

func GetGroupVersionKind(v interface{}) schema.GroupVersionKind

func PatchBackupBatchObject

func PatchBackupBatchObject(c cs.StashV1beta1Interface, cur, mod *api.BackupBatch) (*api.BackupBatch, kutil.VerbType, error)

func PatchFunction

func PatchFunction(c cs.StashV1beta1Interface, cur *api.Function, transform func(*api.Function) *api.Function) (*api.Function, kutil.VerbType, error)

func PatchFunctionObject

func PatchFunctionObject(c cs.StashV1beta1Interface, cur, mod *api.Function) (*api.Function, kutil.VerbType, error)

func PatchTask

func PatchTask(c cs.StashV1beta1Interface, cur *api.Task, transform func(*api.Task) *api.Task) (*api.Task, kutil.VerbType, error)

func PatchTaskObject

func PatchTaskObject(c cs.StashV1beta1Interface, cur, mod *api.Task) (*api.Task, kutil.VerbType, error)

func TryUpdateBackupBatch

func TryUpdateBackupBatch(c cs.StashV1beta1Interface, meta metav1.ObjectMeta, transform func(*api.BackupBatch) *api.BackupBatch) (result *api.BackupBatch, err error)

func TryUpdateBackupBlueprint

func TryUpdateBackupBlueprint(c cs.StashV1beta1Interface, meta metav1.ObjectMeta, transform func(*api.BackupBlueprint) *api.BackupBlueprint) (result *api.BackupBlueprint, err error)

func TryUpdateBackupConfiguration

func TryUpdateBackupConfiguration(c cs.StashV1beta1Interface, meta metav1.ObjectMeta, transform func(*api.BackupConfiguration) *api.BackupConfiguration) (result *api.BackupConfiguration, err error)

func TryUpdateFunction

func TryUpdateFunction(c cs.StashV1beta1Interface, meta metav1.ObjectMeta, transform func(*api.Function) *api.Function) (result *api.Function, err error)

func TryUpdateTask

func TryUpdateTask(c cs.StashV1beta1Interface, meta metav1.ObjectMeta, transform func(*api.Task) *api.Task) (result *api.Task, err error)

func UpdateBackupBatchStatus

func UpdateBackupBatchStatus(
	c cs.StashV1beta1Interface,
	in *api.BackupBatch,
	transform func(*api.BackupBatchStatus) *api.BackupBatchStatus,
) (result *api.BackupBatch, err error)

func UpsertHostForTarget

func UpsertHostForTarget(targets []api_v1beta1.Target, targetRef api_v1beta1.TargetRef, stat api_v1beta1.HostBackupStats) (int, int, []api_v1beta1.Target)

Types

This section is empty.

Jump to

Keyboard shortcuts

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