mocks

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockStore

type BlockStore struct {
	mock.Mock
}

BlockStore is an autogenerated mock type for the BlockStore type

func (*BlockStore) CreateSnapshot

func (_m *BlockStore) CreateSnapshot(volumeID string, volumeAZ string, tags map[string]string) (string, error)

CreateSnapshot provides a mock function with given fields: volumeID, volumeAZ, tags

func (*BlockStore) CreateVolumeFromSnapshot

func (_m *BlockStore) CreateVolumeFromSnapshot(snapshotID string, volumeType string, volumeAZ string, iops *int64) (string, error)

CreateVolumeFromSnapshot provides a mock function with given fields: snapshotID, volumeType, volumeAZ, iops

func (*BlockStore) DeleteSnapshot

func (_m *BlockStore) DeleteSnapshot(snapshotID string) error

DeleteSnapshot provides a mock function with given fields: snapshotID

func (*BlockStore) GetVolumeID

func (_m *BlockStore) GetVolumeID(pv runtime.Unstructured) (string, error)

GetVolumeID provides a mock function with given fields: pv

func (*BlockStore) GetVolumeInfo

func (_m *BlockStore) GetVolumeInfo(volumeID string, volumeAZ string) (string, *int64, error)

GetVolumeInfo provides a mock function with given fields: volumeID, volumeAZ

func (*BlockStore) Init

func (_m *BlockStore) Init(config map[string]string) error

Init provides a mock function with given fields: config

func (*BlockStore) SetVolumeID

func (_m *BlockStore) SetVolumeID(pv runtime.Unstructured, volumeID string) (runtime.Unstructured, error)

SetVolumeID provides a mock function with given fields: pv, volumeID

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) PutObject

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

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

Jump to

Keyboard shortcuts

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