mock_persistent_store

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mock_persistent_store is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStoreClient

type MockStoreClient struct {
	// contains filtered or unexported fields
}

MockStoreClient is a mock of Client interface.

func NewMockStoreClient

func NewMockStoreClient(ctrl *gomock.Controller) *MockStoreClient

NewMockStoreClient creates a new mock instance.

func (*MockStoreClient) AddBackend

func (m *MockStoreClient) AddBackend(arg0 context.Context, arg1 storage.Backend) error

AddBackend mocks base method.

func (*MockStoreClient) AddBackendPersistent

func (m *MockStoreClient) AddBackendPersistent(arg0 context.Context, arg1 *storage.BackendPersistent) error

AddBackendPersistent mocks base method.

func (*MockStoreClient) AddOrUpdateNode

func (m *MockStoreClient) AddOrUpdateNode(arg0 context.Context, arg1 *utils.Node) error

AddOrUpdateNode mocks base method.

func (*MockStoreClient) AddSnapshot

func (m *MockStoreClient) AddSnapshot(arg0 context.Context, arg1 *storage.Snapshot) error

AddSnapshot mocks base method.

func (*MockStoreClient) AddStorageClass

func (m *MockStoreClient) AddStorageClass(arg0 context.Context, arg1 *storageclass.StorageClass) error

AddStorageClass mocks base method.

func (*MockStoreClient) AddVolume

func (m *MockStoreClient) AddVolume(arg0 context.Context, arg1 *storage.Volume) error

AddVolume mocks base method.

func (*MockStoreClient) AddVolumePersistent

func (m *MockStoreClient) AddVolumePersistent(arg0 context.Context, arg1 *storage.VolumeExternal) error

AddVolumePersistent mocks base method.

func (*MockStoreClient) AddVolumePublication

func (m *MockStoreClient) AddVolumePublication(arg0 context.Context, arg1 *utils.VolumePublication) error

AddVolumePublication mocks base method.

func (*MockStoreClient) AddVolumeTransaction

func (m *MockStoreClient) AddVolumeTransaction(arg0 context.Context, arg1 *storage.VolumeTransaction) error

AddVolumeTransaction mocks base method.

func (*MockStoreClient) DeleteBackend

func (m *MockStoreClient) DeleteBackend(arg0 context.Context, arg1 storage.Backend) error

DeleteBackend mocks base method.

func (*MockStoreClient) DeleteBackends

func (m *MockStoreClient) DeleteBackends(arg0 context.Context) error

DeleteBackends mocks base method.

func (*MockStoreClient) DeleteNode

func (m *MockStoreClient) DeleteNode(arg0 context.Context, arg1 *utils.Node) error

DeleteNode mocks base method.

func (*MockStoreClient) DeleteSnapshot

func (m *MockStoreClient) DeleteSnapshot(arg0 context.Context, arg1 *storage.Snapshot) error

DeleteSnapshot mocks base method.

func (*MockStoreClient) DeleteSnapshotIgnoreNotFound

func (m *MockStoreClient) DeleteSnapshotIgnoreNotFound(arg0 context.Context, arg1 *storage.Snapshot) error

DeleteSnapshotIgnoreNotFound mocks base method.

func (*MockStoreClient) DeleteSnapshots

func (m *MockStoreClient) DeleteSnapshots(arg0 context.Context) error

DeleteSnapshots mocks base method.

func (*MockStoreClient) DeleteStorageClass

func (m *MockStoreClient) DeleteStorageClass(arg0 context.Context, arg1 *storageclass.StorageClass) error

DeleteStorageClass mocks base method.

func (*MockStoreClient) DeleteVolume

func (m *MockStoreClient) DeleteVolume(arg0 context.Context, arg1 *storage.Volume) error

DeleteVolume mocks base method.

func (*MockStoreClient) DeleteVolumeIgnoreNotFound

func (m *MockStoreClient) DeleteVolumeIgnoreNotFound(arg0 context.Context, arg1 *storage.Volume) error

DeleteVolumeIgnoreNotFound mocks base method.

func (*MockStoreClient) DeleteVolumePublication

func (m *MockStoreClient) DeleteVolumePublication(arg0 context.Context, arg1 *utils.VolumePublication) error

DeleteVolumePublication mocks base method.

func (*MockStoreClient) DeleteVolumeTransaction

func (m *MockStoreClient) DeleteVolumeTransaction(arg0 context.Context, arg1 *storage.VolumeTransaction) error

DeleteVolumeTransaction mocks base method.

func (*MockStoreClient) DeleteVolumes

func (m *MockStoreClient) DeleteVolumes(arg0 context.Context) error

DeleteVolumes mocks base method.

func (*MockStoreClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStoreClient) GetBackend

func (m *MockStoreClient) GetBackend(arg0 context.Context, arg1 string) (*storage.BackendPersistent, error)

GetBackend mocks base method.

func (*MockStoreClient) GetBackendSecret

func (m *MockStoreClient) GetBackendSecret(arg0 context.Context, arg1 string) (map[string]string, error)

GetBackendSecret mocks base method.

func (*MockStoreClient) GetBackends

func (m *MockStoreClient) GetBackends(arg0 context.Context) ([]*storage.BackendPersistent, error)

GetBackends mocks base method.

func (*MockStoreClient) GetConfig

GetConfig mocks base method.

func (*MockStoreClient) GetExistingVolumeTransaction

func (m *MockStoreClient) GetExistingVolumeTransaction(arg0 context.Context, arg1 *storage.VolumeTransaction) (*storage.VolumeTransaction, error)

GetExistingVolumeTransaction mocks base method.

func (*MockStoreClient) GetNode

func (m *MockStoreClient) GetNode(arg0 context.Context, arg1 string) (*utils.Node, error)

GetNode mocks base method.

func (*MockStoreClient) GetNodes

func (m *MockStoreClient) GetNodes(arg0 context.Context) ([]*utils.Node, error)

GetNodes mocks base method.

func (*MockStoreClient) GetSnapshot

func (m *MockStoreClient) GetSnapshot(arg0 context.Context, arg1, arg2 string) (*storage.SnapshotPersistent, error)

GetSnapshot mocks base method.

func (*MockStoreClient) GetSnapshots

func (m *MockStoreClient) GetSnapshots(arg0 context.Context) ([]*storage.SnapshotPersistent, error)

GetSnapshots mocks base method.

func (*MockStoreClient) GetStorageClass

func (m *MockStoreClient) GetStorageClass(arg0 context.Context, arg1 string) (*storageclass.Persistent, error)

GetStorageClass mocks base method.

func (*MockStoreClient) GetStorageClasses

func (m *MockStoreClient) GetStorageClasses(arg0 context.Context) ([]*storageclass.Persistent, error)

GetStorageClasses mocks base method.

func (*MockStoreClient) GetTridentUUID

func (m *MockStoreClient) GetTridentUUID(arg0 context.Context) (string, error)

GetTridentUUID mocks base method.

func (*MockStoreClient) GetType

GetType mocks base method.

func (*MockStoreClient) GetVersion

GetVersion mocks base method.

func (*MockStoreClient) GetVolume

func (m *MockStoreClient) GetVolume(arg0 context.Context, arg1 string) (*storage.VolumeExternal, error)

GetVolume mocks base method.

func (*MockStoreClient) GetVolumePublication

func (m *MockStoreClient) GetVolumePublication(arg0 context.Context, arg1 string) (*utils.VolumePublication, error)

GetVolumePublication mocks base method.

func (*MockStoreClient) GetVolumePublications

func (m *MockStoreClient) GetVolumePublications(arg0 context.Context) ([]*utils.VolumePublication, error)

GetVolumePublications mocks base method.

func (*MockStoreClient) GetVolumeTransactions

func (m *MockStoreClient) GetVolumeTransactions(arg0 context.Context) ([]*storage.VolumeTransaction, error)

GetVolumeTransactions mocks base method.

func (*MockStoreClient) GetVolumes

func (m *MockStoreClient) GetVolumes(arg0 context.Context) ([]*storage.VolumeExternal, error)

GetVolumes mocks base method.

func (*MockStoreClient) IsBackendDeleting

func (m *MockStoreClient) IsBackendDeleting(arg0 context.Context, arg1 storage.Backend) bool

IsBackendDeleting mocks base method.

func (*MockStoreClient) ReplaceBackendAndUpdateVolumes

func (m *MockStoreClient) ReplaceBackendAndUpdateVolumes(arg0 context.Context, arg1, arg2 storage.Backend) error

ReplaceBackendAndUpdateVolumes mocks base method.

func (*MockStoreClient) SetVersion

SetVersion mocks base method.

func (*MockStoreClient) Stop

func (m *MockStoreClient) Stop() error

Stop mocks base method.

func (*MockStoreClient) UpdateBackend

func (m *MockStoreClient) UpdateBackend(arg0 context.Context, arg1 storage.Backend) error

UpdateBackend mocks base method.

func (*MockStoreClient) UpdateBackendPersistent

func (m *MockStoreClient) UpdateBackendPersistent(arg0 context.Context, arg1 *storage.BackendPersistent) error

UpdateBackendPersistent mocks base method.

func (*MockStoreClient) UpdateSnapshot

func (m *MockStoreClient) UpdateSnapshot(arg0 context.Context, arg1 *storage.Snapshot) error

UpdateSnapshot mocks base method.

func (*MockStoreClient) UpdateVolume

func (m *MockStoreClient) UpdateVolume(arg0 context.Context, arg1 *storage.Volume) error

UpdateVolume mocks base method.

func (*MockStoreClient) UpdateVolumePersistent

func (m *MockStoreClient) UpdateVolumePersistent(arg0 context.Context, arg1 *storage.VolumeExternal) error

UpdateVolumePersistent mocks base method.

func (*MockStoreClient) UpdateVolumePublication

func (m *MockStoreClient) UpdateVolumePublication(arg0 context.Context, arg1 *utils.VolumePublication) error

UpdateVolumePublication mocks base method.

func (*MockStoreClient) UpdateVolumeTransaction

func (m *MockStoreClient) UpdateVolumeTransaction(arg0 context.Context, arg1 *storage.VolumeTransaction) error

UpdateVolumeTransaction mocks base method.

type MockStoreClientMockRecorder

type MockStoreClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockStoreClientMockRecorder is the mock recorder for MockStoreClient.

func (*MockStoreClientMockRecorder) AddBackend

func (mr *MockStoreClientMockRecorder) AddBackend(arg0, arg1 interface{}) *gomock.Call

AddBackend indicates an expected call of AddBackend.

func (*MockStoreClientMockRecorder) AddBackendPersistent

func (mr *MockStoreClientMockRecorder) AddBackendPersistent(arg0, arg1 interface{}) *gomock.Call

AddBackendPersistent indicates an expected call of AddBackendPersistent.

func (*MockStoreClientMockRecorder) AddOrUpdateNode

func (mr *MockStoreClientMockRecorder) AddOrUpdateNode(arg0, arg1 interface{}) *gomock.Call

AddOrUpdateNode indicates an expected call of AddOrUpdateNode.

func (*MockStoreClientMockRecorder) AddSnapshot

func (mr *MockStoreClientMockRecorder) AddSnapshot(arg0, arg1 interface{}) *gomock.Call

AddSnapshot indicates an expected call of AddSnapshot.

func (*MockStoreClientMockRecorder) AddStorageClass

func (mr *MockStoreClientMockRecorder) AddStorageClass(arg0, arg1 interface{}) *gomock.Call

AddStorageClass indicates an expected call of AddStorageClass.

func (*MockStoreClientMockRecorder) AddVolume

func (mr *MockStoreClientMockRecorder) AddVolume(arg0, arg1 interface{}) *gomock.Call

AddVolume indicates an expected call of AddVolume.

func (*MockStoreClientMockRecorder) AddVolumePersistent

func (mr *MockStoreClientMockRecorder) AddVolumePersistent(arg0, arg1 interface{}) *gomock.Call

AddVolumePersistent indicates an expected call of AddVolumePersistent.

func (*MockStoreClientMockRecorder) AddVolumePublication

func (mr *MockStoreClientMockRecorder) AddVolumePublication(arg0, arg1 interface{}) *gomock.Call

AddVolumePublication indicates an expected call of AddVolumePublication.

func (*MockStoreClientMockRecorder) AddVolumeTransaction

func (mr *MockStoreClientMockRecorder) AddVolumeTransaction(arg0, arg1 interface{}) *gomock.Call

AddVolumeTransaction indicates an expected call of AddVolumeTransaction.

func (*MockStoreClientMockRecorder) DeleteBackend

func (mr *MockStoreClientMockRecorder) DeleteBackend(arg0, arg1 interface{}) *gomock.Call

DeleteBackend indicates an expected call of DeleteBackend.

func (*MockStoreClientMockRecorder) DeleteBackends

func (mr *MockStoreClientMockRecorder) DeleteBackends(arg0 interface{}) *gomock.Call

DeleteBackends indicates an expected call of DeleteBackends.

func (*MockStoreClientMockRecorder) DeleteNode

func (mr *MockStoreClientMockRecorder) DeleteNode(arg0, arg1 interface{}) *gomock.Call

DeleteNode indicates an expected call of DeleteNode.

func (*MockStoreClientMockRecorder) DeleteSnapshot

func (mr *MockStoreClientMockRecorder) DeleteSnapshot(arg0, arg1 interface{}) *gomock.Call

DeleteSnapshot indicates an expected call of DeleteSnapshot.

func (*MockStoreClientMockRecorder) DeleteSnapshotIgnoreNotFound

func (mr *MockStoreClientMockRecorder) DeleteSnapshotIgnoreNotFound(arg0, arg1 interface{}) *gomock.Call

DeleteSnapshotIgnoreNotFound indicates an expected call of DeleteSnapshotIgnoreNotFound.

func (*MockStoreClientMockRecorder) DeleteSnapshots

func (mr *MockStoreClientMockRecorder) DeleteSnapshots(arg0 interface{}) *gomock.Call

DeleteSnapshots indicates an expected call of DeleteSnapshots.

func (*MockStoreClientMockRecorder) DeleteStorageClass

func (mr *MockStoreClientMockRecorder) DeleteStorageClass(arg0, arg1 interface{}) *gomock.Call

DeleteStorageClass indicates an expected call of DeleteStorageClass.

func (*MockStoreClientMockRecorder) DeleteVolume

func (mr *MockStoreClientMockRecorder) DeleteVolume(arg0, arg1 interface{}) *gomock.Call

DeleteVolume indicates an expected call of DeleteVolume.

func (*MockStoreClientMockRecorder) DeleteVolumeIgnoreNotFound

func (mr *MockStoreClientMockRecorder) DeleteVolumeIgnoreNotFound(arg0, arg1 interface{}) *gomock.Call

DeleteVolumeIgnoreNotFound indicates an expected call of DeleteVolumeIgnoreNotFound.

func (*MockStoreClientMockRecorder) DeleteVolumePublication

func (mr *MockStoreClientMockRecorder) DeleteVolumePublication(arg0, arg1 interface{}) *gomock.Call

DeleteVolumePublication indicates an expected call of DeleteVolumePublication.

func (*MockStoreClientMockRecorder) DeleteVolumeTransaction

func (mr *MockStoreClientMockRecorder) DeleteVolumeTransaction(arg0, arg1 interface{}) *gomock.Call

DeleteVolumeTransaction indicates an expected call of DeleteVolumeTransaction.

func (*MockStoreClientMockRecorder) DeleteVolumes

func (mr *MockStoreClientMockRecorder) DeleteVolumes(arg0 interface{}) *gomock.Call

DeleteVolumes indicates an expected call of DeleteVolumes.

func (*MockStoreClientMockRecorder) GetBackend

func (mr *MockStoreClientMockRecorder) GetBackend(arg0, arg1 interface{}) *gomock.Call

GetBackend indicates an expected call of GetBackend.

func (*MockStoreClientMockRecorder) GetBackendSecret

func (mr *MockStoreClientMockRecorder) GetBackendSecret(arg0, arg1 interface{}) *gomock.Call

GetBackendSecret indicates an expected call of GetBackendSecret.

func (*MockStoreClientMockRecorder) GetBackends

func (mr *MockStoreClientMockRecorder) GetBackends(arg0 interface{}) *gomock.Call

GetBackends indicates an expected call of GetBackends.

func (*MockStoreClientMockRecorder) GetConfig

func (mr *MockStoreClientMockRecorder) GetConfig() *gomock.Call

GetConfig indicates an expected call of GetConfig.

func (*MockStoreClientMockRecorder) GetExistingVolumeTransaction

func (mr *MockStoreClientMockRecorder) GetExistingVolumeTransaction(arg0, arg1 interface{}) *gomock.Call

GetExistingVolumeTransaction indicates an expected call of GetExistingVolumeTransaction.

func (*MockStoreClientMockRecorder) GetNode

func (mr *MockStoreClientMockRecorder) GetNode(arg0, arg1 interface{}) *gomock.Call

GetNode indicates an expected call of GetNode.

func (*MockStoreClientMockRecorder) GetNodes

func (mr *MockStoreClientMockRecorder) GetNodes(arg0 interface{}) *gomock.Call

GetNodes indicates an expected call of GetNodes.

func (*MockStoreClientMockRecorder) GetSnapshot

func (mr *MockStoreClientMockRecorder) GetSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call

GetSnapshot indicates an expected call of GetSnapshot.

func (*MockStoreClientMockRecorder) GetSnapshots

func (mr *MockStoreClientMockRecorder) GetSnapshots(arg0 interface{}) *gomock.Call

GetSnapshots indicates an expected call of GetSnapshots.

func (*MockStoreClientMockRecorder) GetStorageClass

func (mr *MockStoreClientMockRecorder) GetStorageClass(arg0, arg1 interface{}) *gomock.Call

GetStorageClass indicates an expected call of GetStorageClass.

func (*MockStoreClientMockRecorder) GetStorageClasses

func (mr *MockStoreClientMockRecorder) GetStorageClasses(arg0 interface{}) *gomock.Call

GetStorageClasses indicates an expected call of GetStorageClasses.

func (*MockStoreClientMockRecorder) GetTridentUUID

func (mr *MockStoreClientMockRecorder) GetTridentUUID(arg0 interface{}) *gomock.Call

GetTridentUUID indicates an expected call of GetTridentUUID.

func (*MockStoreClientMockRecorder) GetType

func (mr *MockStoreClientMockRecorder) GetType() *gomock.Call

GetType indicates an expected call of GetType.

func (*MockStoreClientMockRecorder) GetVersion

func (mr *MockStoreClientMockRecorder) GetVersion(arg0 interface{}) *gomock.Call

GetVersion indicates an expected call of GetVersion.

func (*MockStoreClientMockRecorder) GetVolume

func (mr *MockStoreClientMockRecorder) GetVolume(arg0, arg1 interface{}) *gomock.Call

GetVolume indicates an expected call of GetVolume.

func (*MockStoreClientMockRecorder) GetVolumePublication

func (mr *MockStoreClientMockRecorder) GetVolumePublication(arg0, arg1 interface{}) *gomock.Call

GetVolumePublication indicates an expected call of GetVolumePublication.

func (*MockStoreClientMockRecorder) GetVolumePublications

func (mr *MockStoreClientMockRecorder) GetVolumePublications(arg0 interface{}) *gomock.Call

GetVolumePublications indicates an expected call of GetVolumePublications.

func (*MockStoreClientMockRecorder) GetVolumeTransactions

func (mr *MockStoreClientMockRecorder) GetVolumeTransactions(arg0 interface{}) *gomock.Call

GetVolumeTransactions indicates an expected call of GetVolumeTransactions.

func (*MockStoreClientMockRecorder) GetVolumes

func (mr *MockStoreClientMockRecorder) GetVolumes(arg0 interface{}) *gomock.Call

GetVolumes indicates an expected call of GetVolumes.

func (*MockStoreClientMockRecorder) IsBackendDeleting

func (mr *MockStoreClientMockRecorder) IsBackendDeleting(arg0, arg1 interface{}) *gomock.Call

IsBackendDeleting indicates an expected call of IsBackendDeleting.

func (*MockStoreClientMockRecorder) ReplaceBackendAndUpdateVolumes

func (mr *MockStoreClientMockRecorder) ReplaceBackendAndUpdateVolumes(arg0, arg1, arg2 interface{}) *gomock.Call

ReplaceBackendAndUpdateVolumes indicates an expected call of ReplaceBackendAndUpdateVolumes.

func (*MockStoreClientMockRecorder) SetVersion

func (mr *MockStoreClientMockRecorder) SetVersion(arg0, arg1 interface{}) *gomock.Call

SetVersion indicates an expected call of SetVersion.

func (*MockStoreClientMockRecorder) Stop

Stop indicates an expected call of Stop.

func (*MockStoreClientMockRecorder) UpdateBackend

func (mr *MockStoreClientMockRecorder) UpdateBackend(arg0, arg1 interface{}) *gomock.Call

UpdateBackend indicates an expected call of UpdateBackend.

func (*MockStoreClientMockRecorder) UpdateBackendPersistent

func (mr *MockStoreClientMockRecorder) UpdateBackendPersistent(arg0, arg1 interface{}) *gomock.Call

UpdateBackendPersistent indicates an expected call of UpdateBackendPersistent.

func (*MockStoreClientMockRecorder) UpdateSnapshot

func (mr *MockStoreClientMockRecorder) UpdateSnapshot(arg0, arg1 interface{}) *gomock.Call

UpdateSnapshot indicates an expected call of UpdateSnapshot.

func (*MockStoreClientMockRecorder) UpdateVolume

func (mr *MockStoreClientMockRecorder) UpdateVolume(arg0, arg1 interface{}) *gomock.Call

UpdateVolume indicates an expected call of UpdateVolume.

func (*MockStoreClientMockRecorder) UpdateVolumePersistent

func (mr *MockStoreClientMockRecorder) UpdateVolumePersistent(arg0, arg1 interface{}) *gomock.Call

UpdateVolumePersistent indicates an expected call of UpdateVolumePersistent.

func (*MockStoreClientMockRecorder) UpdateVolumePublication

func (mr *MockStoreClientMockRecorder) UpdateVolumePublication(arg0, arg1 interface{}) *gomock.Call

UpdateVolumePublication indicates an expected call of UpdateVolumePublication.

func (*MockStoreClientMockRecorder) UpdateVolumeTransaction

func (mr *MockStoreClientMockRecorder) UpdateVolumeTransaction(arg0, arg1 interface{}) *gomock.Call

UpdateVolumeTransaction indicates an expected call of UpdateVolumeTransaction.

Jump to

Keyboard shortcuts

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