mocks

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteItemAction added in v1.5.0

type DeleteItemAction struct {
	mock.Mock
}

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

Execute provides a mock function with given fields: input

type ObjectStore

type ObjectStore struct {
	mock.Mock
}

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

func (*ObjectStore) PutObject

func (_m *ObjectStore) PutObject(bucket string, key string, body io.Reader) error

PutObject provides a mock function with given fields: bucket, key, body

Directories

Path Synopsis
backupitemaction
v1
v2
restoreitemaction
v1
v2
volumesnapshotter
v1

Jump to

Keyboard shortcuts

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