Versions in this module Expand all Collapse all v1 v1.3.1 Mar 10, 2020 Changes in this version + type BackupItemAction interface + AppliesTo func() (ResourceSelector, error) + Execute func(item runtime.Unstructured, backup *api.Backup) (runtime.Unstructured, []ResourceIdentifier, error) + type ObjectStore interface + CreateSignedURL func(bucket, key string, ttl time.Duration) (string, error) + DeleteObject func(bucket, key string) error + GetObject func(bucket, key string) (io.ReadCloser, error) + Init func(config map[string]string) error + ListCommonPrefixes func(bucket, prefix, delimiter string) ([]string, error) + ListObjects func(bucket, prefix string) ([]string, error) + ObjectExists func(bucket, key string) (bool, error) + PutObject func(bucket, key string, body io.Reader) error + type ResourceIdentifier struct + Name string + Namespace string + type ResourceSelector struct + ExcludedNamespaces []string + ExcludedResources []string + IncludedNamespaces []string + IncludedResources []string + LabelSelector string + type RestoreItemAction interface + AppliesTo func() (ResourceSelector, error) + Execute func(input *RestoreItemActionExecuteInput) (*RestoreItemActionExecuteOutput, error) + type RestoreItemActionExecuteInput struct + Item runtime.Unstructured + ItemFromBackup runtime.Unstructured + Restore *api.Restore + type RestoreItemActionExecuteOutput struct + AdditionalItems []ResourceIdentifier + SkipRestore bool + UpdatedItem runtime.Unstructured + func NewRestoreItemActionExecuteOutput(item runtime.Unstructured) *RestoreItemActionExecuteOutput + func (r *RestoreItemActionExecuteOutput) WithoutRestore() *RestoreItemActionExecuteOutput + type VolumeSnapshotter interface + CreateSnapshot func(volumeID, volumeAZ string, tags map[string]string) (snapshotID string, err error) + CreateVolumeFromSnapshot func(snapshotID, volumeType, volumeAZ string, iops *int64) (volumeID string, err error) + DeleteSnapshot func(snapshotID string) error + GetVolumeID func(pv runtime.Unstructured) (string, error) + GetVolumeInfo func(volumeID, volumeAZ string) (string, *int64, error) + Init func(config map[string]string) error + SetVolumeID func(pv runtime.Unstructured, volumeID string) (runtime.Unstructured, error)