Documentation ¶
Index ¶
- type DeleteItemAction
- type ObjectStore
- func (_m *ObjectStore) CreateSignedURL(bucket string, key string, ttl time.Duration) (string, error)
- func (_m *ObjectStore) DeleteObject(bucket string, key string) error
- func (_m *ObjectStore) GetObject(bucket string, key string) (io.ReadCloser, error)
- func (_m *ObjectStore) Init(config map[string]string) error
- func (_m *ObjectStore) ListCommonPrefixes(bucket string, prefix string, delimiter string) ([]string, error)
- func (_m *ObjectStore) ListObjects(bucket string, prefix string) ([]string, error)
- func (_m *ObjectStore) ObjectExists(bucket string, key string) (bool, error)
- func (_m *ObjectStore) PutObject(bucket string, key string, body io.Reader) error
- type VolumeSnapshotter
- func (_m *VolumeSnapshotter) CreateSnapshot(volumeID string, volumeAZ string, tags map[string]string) (string, error)
- func (_m *VolumeSnapshotter) CreateVolumeFromSnapshot(snapshotID string, volumeType string, volumeAZ string, iops *int64) (string, error)
- func (_m *VolumeSnapshotter) DeleteSnapshot(snapshotID string) error
- func (_m *VolumeSnapshotter) GetVolumeID(pv runtime.Unstructured) (string, error)
- func (_m *VolumeSnapshotter) GetVolumeInfo(volumeID string, volumeAZ string) (string, *int64, error)
- func (_m *VolumeSnapshotter) Init(config map[string]string) error
- func (_m *VolumeSnapshotter) SetVolumeID(pv runtime.Unstructured, volumeID string) (runtime.Unstructured, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteItemAction ¶ added in v1.5.0
DeleteItemAction is an autogenerated mock type for the DeleteItemAction type
func (*DeleteItemAction) AppliesTo ¶ added in v1.5.0
func (_m *DeleteItemAction) AppliesTo() (velero.ResourceSelector, error)
AppliesTo provides a mock function with given fields:
func (*DeleteItemAction) Execute ¶ added in v1.5.0
func (_m *DeleteItemAction) Execute(input *velero.DeleteItemActionExecuteInput) error
Execute provides a mock function with given fields: input
type ObjectStore ¶
ObjectStore is an autogenerated mock type for the ObjectStore type
func (*ObjectStore) CreateSignedURL ¶
func (_m *ObjectStore) CreateSignedURL(bucket string, key string, ttl time.Duration) (string, error)
CreateSignedURL provides a mock function with given fields: bucket, key, ttl
func (*ObjectStore) DeleteObject ¶
func (_m *ObjectStore) DeleteObject(bucket string, key string) error
DeleteObject provides a mock function with given fields: bucket, key
func (*ObjectStore) GetObject ¶
func (_m *ObjectStore) GetObject(bucket string, key string) (io.ReadCloser, error)
GetObject provides a mock function with given fields: bucket, key
func (*ObjectStore) Init ¶
func (_m *ObjectStore) Init(config map[string]string) error
Init provides a mock function with given fields: config
func (*ObjectStore) ListCommonPrefixes ¶
func (_m *ObjectStore) ListCommonPrefixes(bucket string, prefix string, delimiter string) ([]string, error)
ListCommonPrefixes provides a mock function with given fields: bucket, prefix, delimiter
func (*ObjectStore) ListObjects ¶
func (_m *ObjectStore) ListObjects(bucket string, prefix string) ([]string, error)
ListObjects provides a mock function with given fields: bucket, prefix
func (*ObjectStore) ObjectExists ¶
func (_m *ObjectStore) ObjectExists(bucket string, key string) (bool, error)
ObjectExists provides a mock function with given fields: bucket, key
type VolumeSnapshotter ¶
VolumeSnapshotter is an autogenerated mock type for the VolumeSnapshotter type
func (*VolumeSnapshotter) CreateSnapshot ¶
func (_m *VolumeSnapshotter) CreateSnapshot(volumeID string, volumeAZ string, tags map[string]string) (string, error)
CreateSnapshot provides a mock function with given fields: volumeID, volumeAZ, tags
func (*VolumeSnapshotter) CreateVolumeFromSnapshot ¶
func (_m *VolumeSnapshotter) CreateVolumeFromSnapshot(snapshotID string, volumeType string, volumeAZ string, iops *int64) (string, error)
CreateVolumeFromSnapshot provides a mock function with given fields: snapshotID, volumeType, volumeAZ, iops
func (*VolumeSnapshotter) DeleteSnapshot ¶
func (_m *VolumeSnapshotter) DeleteSnapshot(snapshotID string) error
DeleteSnapshot provides a mock function with given fields: snapshotID
func (*VolumeSnapshotter) GetVolumeID ¶
func (_m *VolumeSnapshotter) GetVolumeID(pv runtime.Unstructured) (string, error)
GetVolumeID provides a mock function with given fields: pv
func (*VolumeSnapshotter) GetVolumeInfo ¶
func (_m *VolumeSnapshotter) GetVolumeInfo(volumeID string, volumeAZ string) (string, *int64, error)
GetVolumeInfo provides a mock function with given fields: volumeID, volumeAZ
func (*VolumeSnapshotter) Init ¶
func (_m *VolumeSnapshotter) Init(config map[string]string) error
Init provides a mock function with given fields: config
func (*VolumeSnapshotter) SetVolumeID ¶
func (_m *VolumeSnapshotter) SetVolumeID(pv runtime.Unstructured, volumeID string) (runtime.Unstructured, error)
SetVolumeID provides a mock function with given fields: pv, volumeID