Documentation ¶
Overview ¶
Package mock_core is a generated GoMock package.
Index ¶
- type MockOrchestrator
- func (m *MockOrchestrator) AddBackend(arg0 context.Context, arg1, arg2 string) (*storage.BackendExternal, error)
- func (m *MockOrchestrator) AddFrontend(arg0 frontend.Plugin)
- func (m *MockOrchestrator) AddNode(arg0 context.Context, arg1 *utils.Node, arg2 core.NodeEventCallback) error
- func (m *MockOrchestrator) AddStorageClass(arg0 context.Context, arg1 *storageclass.Config) (*storageclass.External, error)
- func (m *MockOrchestrator) AddVolume(arg0 context.Context, arg1 *storage.VolumeConfig) (*storage.VolumeExternal, error)
- func (m *MockOrchestrator) AddVolumePublication(arg0 context.Context, arg1 *utils.VolumePublication) error
- func (m *MockOrchestrator) AddVolumeTransaction(arg0 context.Context, arg1 *storage.VolumeTransaction) error
- func (m *MockOrchestrator) AttachVolume(arg0 context.Context, arg1, arg2 string, arg3 *utils.VolumePublishInfo) error
- func (m *MockOrchestrator) Bootstrap(arg0 bool) error
- func (m *MockOrchestrator) CanBackendMirror(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockOrchestrator) CloneVolume(arg0 context.Context, arg1 *storage.VolumeConfig) (*storage.VolumeExternal, error)
- func (m *MockOrchestrator) CreateSnapshot(arg0 context.Context, arg1 *storage.SnapshotConfig) (*storage.SnapshotExternal, error)
- func (m *MockOrchestrator) DeleteBackend(arg0 context.Context, arg1 string) error
- func (m *MockOrchestrator) DeleteBackendByBackendUUID(arg0 context.Context, arg1, arg2 string) error
- func (m *MockOrchestrator) DeleteNode(arg0 context.Context, arg1 string) error
- func (m *MockOrchestrator) DeleteSnapshot(arg0 context.Context, arg1, arg2 string) error
- func (m *MockOrchestrator) DeleteStorageClass(arg0 context.Context, arg1 string) error
- func (m *MockOrchestrator) DeleteVolume(arg0 context.Context, arg1 string) error
- func (m *MockOrchestrator) DeleteVolumePublication(arg0 context.Context, arg1, arg2 string) error
- func (m *MockOrchestrator) DeleteVolumeTransaction(arg0 context.Context, arg1 *storage.VolumeTransaction) error
- func (m *MockOrchestrator) DetachVolume(arg0 context.Context, arg1, arg2 string) error
- func (m *MockOrchestrator) EXPECT() *MockOrchestratorMockRecorder
- func (m *MockOrchestrator) EstablishMirror(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string) error
- func (m *MockOrchestrator) GetBackend(arg0 context.Context, arg1 string) (*storage.BackendExternal, error)
- func (m *MockOrchestrator) GetBackendByBackendUUID(arg0 context.Context, arg1 string) (*storage.BackendExternal, error)
- func (m *MockOrchestrator) GetCHAP(arg0 context.Context, arg1, arg2 string) (*utils.IscsiChapInfo, error)
- func (m *MockOrchestrator) GetFrontend(arg0 context.Context, arg1 string) (frontend.Plugin, error)
- func (m *MockOrchestrator) GetMirrorStatus(arg0 context.Context, arg1, arg2, arg3 string) (string, error)
- func (m *MockOrchestrator) GetNode(arg0 context.Context, arg1 string) (*utils.Node, error)
- func (m *MockOrchestrator) GetReplicationDetails(arg0 context.Context, arg1, arg2, arg3 string) (string, string, error)
- func (m *MockOrchestrator) GetSnapshot(arg0 context.Context, arg1, arg2 string) (*storage.SnapshotExternal, error)
- func (m *MockOrchestrator) GetStorageClass(arg0 context.Context, arg1 string) (*storageclass.External, error)
- func (m *MockOrchestrator) GetSubordinateSourceVolume(arg0 context.Context, arg1 string) (*storage.VolumeExternal, error)
- func (m *MockOrchestrator) GetVersion(arg0 context.Context) (string, error)
- func (m *MockOrchestrator) GetVolume(arg0 context.Context, arg1 string) (*storage.VolumeExternal, error)
- func (m *MockOrchestrator) GetVolumeByInternalName(arg0 string, arg1 context.Context) (string, error)
- func (m *MockOrchestrator) GetVolumeExternal(arg0 context.Context, arg1, arg2 string) (*storage.VolumeExternal, error)
- func (m *MockOrchestrator) GetVolumePublication(arg0 context.Context, arg1, arg2 string) (*utils.VolumePublication, error)
- func (m *MockOrchestrator) GetVolumeTransaction(arg0 context.Context, arg1 *storage.VolumeTransaction) (*storage.VolumeTransaction, error)
- func (m *MockOrchestrator) ImportVolume(arg0 context.Context, arg1 *storage.VolumeConfig) (*storage.VolumeExternal, error)
- func (m *MockOrchestrator) LegacyImportVolume(arg0 context.Context, arg1 *storage.VolumeConfig, arg2 string, arg3 bool, ...) (*storage.VolumeExternal, error)
- func (m *MockOrchestrator) ListBackends(arg0 context.Context) ([]*storage.BackendExternal, error)
- func (m *MockOrchestrator) ListNodes(arg0 context.Context) ([]*utils.Node, error)
- func (m *MockOrchestrator) ListSnapshots(arg0 context.Context) ([]*storage.SnapshotExternal, error)
- func (m *MockOrchestrator) ListSnapshotsByName(arg0 context.Context, arg1 string) ([]*storage.SnapshotExternal, error)
- func (m *MockOrchestrator) ListSnapshotsForVolume(arg0 context.Context, arg1 string) ([]*storage.SnapshotExternal, error)
- func (m *MockOrchestrator) ListStorageClasses(arg0 context.Context) ([]*storageclass.External, error)
- func (m *MockOrchestrator) ListSubordinateVolumes(arg0 context.Context, arg1 string) ([]*storage.VolumeExternal, error)
- func (m *MockOrchestrator) ListVolumePublications(arg0 context.Context) ([]*utils.VolumePublicationExternal, error)
- func (m *MockOrchestrator) ListVolumePublicationsForNode(arg0 context.Context, arg1 string) ([]*utils.VolumePublicationExternal, error)
- func (m *MockOrchestrator) ListVolumePublicationsForVolume(arg0 context.Context, arg1 string) ([]*utils.VolumePublicationExternal, error)
- func (m *MockOrchestrator) ListVolumes(arg0 context.Context) ([]*storage.VolumeExternal, error)
- func (m *MockOrchestrator) PeriodicallyReconcileNodeAccessOnBackends()
- func (m *MockOrchestrator) PromoteMirror(arg0 context.Context, arg1, arg2, arg3, arg4 string) (bool, error)
- func (m *MockOrchestrator) PublishVolume(arg0 context.Context, arg1 string, arg2 *utils.VolumePublishInfo) error
- func (m *MockOrchestrator) ReadSnapshotsForVolume(arg0 context.Context, arg1 string) ([]*storage.SnapshotExternal, error)
- func (m *MockOrchestrator) ReestablishMirror(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string) error
- func (m *MockOrchestrator) ReleaseMirror(arg0 context.Context, arg1, arg2 string) error
- func (m *MockOrchestrator) ReloadVolumes(arg0 context.Context) error
- func (m *MockOrchestrator) RemoveBackendConfigRef(arg0 context.Context, arg1, arg2 string) error
- func (m *MockOrchestrator) ResizeVolume(arg0 context.Context, arg1, arg2 string) error
- func (m *MockOrchestrator) SetVolumeState(arg0 context.Context, arg1 string, arg2 storage.VolumeState) error
- func (m *MockOrchestrator) UnpublishVolume(arg0 context.Context, arg1, arg2 string) error
- func (m *MockOrchestrator) UpdateBackend(arg0 context.Context, arg1, arg2, arg3 string) (*storage.BackendExternal, error)
- func (m *MockOrchestrator) UpdateBackendByBackendUUID(arg0 context.Context, arg1, arg2, arg3, arg4 string) (*storage.BackendExternal, error)
- func (m *MockOrchestrator) UpdateBackendState(arg0 context.Context, arg1, arg2 string) (*storage.BackendExternal, error)
- func (m *MockOrchestrator) UpdateVolumePublication(arg0 context.Context, arg1, arg2 string, arg3 *bool) error
- type MockOrchestratorMockRecorder
- func (mr *MockOrchestratorMockRecorder) AddBackend(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) AddFrontend(arg0 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) AddNode(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) AddStorageClass(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) AddVolume(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) AddVolumePublication(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) AddVolumeTransaction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) AttachVolume(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) Bootstrap(arg0 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) CanBackendMirror(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) CloneVolume(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) CreateSnapshot(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) DeleteBackend(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) DeleteBackendByBackendUUID(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) DeleteNode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) DeleteSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) DeleteStorageClass(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) DeleteVolume(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) DeleteVolumePublication(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) DeleteVolumeTransaction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) DetachVolume(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) EstablishMirror(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) GetBackend(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) GetBackendByBackendUUID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) GetCHAP(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) GetFrontend(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) GetMirrorStatus(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) GetNode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) GetReplicationDetails(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) GetSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) GetStorageClass(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) GetSubordinateSourceVolume(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) GetVersion(arg0 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) GetVolume(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) GetVolumeByInternalName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) GetVolumeExternal(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) GetVolumePublication(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) GetVolumeTransaction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) ImportVolume(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) LegacyImportVolume(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) ListBackends(arg0 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) ListNodes(arg0 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) ListSnapshots(arg0 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) ListSnapshotsByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) ListSnapshotsForVolume(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) ListStorageClasses(arg0 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) ListSubordinateVolumes(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) ListVolumePublications(arg0 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) ListVolumePublicationsForNode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) ListVolumePublicationsForVolume(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) ListVolumes(arg0 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) PeriodicallyReconcileNodeAccessOnBackends() *gomock.Call
- func (mr *MockOrchestratorMockRecorder) PromoteMirror(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) PublishVolume(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) ReadSnapshotsForVolume(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) ReestablishMirror(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) ReleaseMirror(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) ReloadVolumes(arg0 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) RemoveBackendConfigRef(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) ResizeVolume(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) SetVolumeState(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) UnpublishVolume(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) UpdateBackend(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) UpdateBackendByBackendUUID(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) UpdateBackendState(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) UpdateVolumePublication(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOrchestrator ¶
type MockOrchestrator struct {
// contains filtered or unexported fields
}
MockOrchestrator is a mock of Orchestrator interface.
func NewMockOrchestrator ¶
func NewMockOrchestrator(ctrl *gomock.Controller) *MockOrchestrator
NewMockOrchestrator creates a new mock instance.
func (*MockOrchestrator) AddBackend ¶
func (m *MockOrchestrator) AddBackend(arg0 context.Context, arg1, arg2 string) (*storage.BackendExternal, error)
AddBackend mocks base method.
func (*MockOrchestrator) AddFrontend ¶
func (m *MockOrchestrator) AddFrontend(arg0 frontend.Plugin)
AddFrontend mocks base method.
func (*MockOrchestrator) AddNode ¶
func (m *MockOrchestrator) AddNode(arg0 context.Context, arg1 *utils.Node, arg2 core.NodeEventCallback) error
AddNode mocks base method.
func (*MockOrchestrator) AddStorageClass ¶
func (m *MockOrchestrator) AddStorageClass(arg0 context.Context, arg1 *storageclass.Config) (*storageclass.External, error)
AddStorageClass mocks base method.
func (*MockOrchestrator) AddVolume ¶
func (m *MockOrchestrator) AddVolume(arg0 context.Context, arg1 *storage.VolumeConfig) (*storage.VolumeExternal, error)
AddVolume mocks base method.
func (*MockOrchestrator) AddVolumePublication ¶
func (m *MockOrchestrator) AddVolumePublication(arg0 context.Context, arg1 *utils.VolumePublication) error
AddVolumePublication mocks base method.
func (*MockOrchestrator) AddVolumeTransaction ¶
func (m *MockOrchestrator) AddVolumeTransaction(arg0 context.Context, arg1 *storage.VolumeTransaction) error
AddVolumeTransaction mocks base method.
func (*MockOrchestrator) AttachVolume ¶
func (m *MockOrchestrator) AttachVolume(arg0 context.Context, arg1, arg2 string, arg3 *utils.VolumePublishInfo) error
AttachVolume mocks base method.
func (*MockOrchestrator) Bootstrap ¶
func (m *MockOrchestrator) Bootstrap(arg0 bool) error
Bootstrap mocks base method.
func (*MockOrchestrator) CanBackendMirror ¶
CanBackendMirror mocks base method.
func (*MockOrchestrator) CloneVolume ¶
func (m *MockOrchestrator) CloneVolume(arg0 context.Context, arg1 *storage.VolumeConfig) (*storage.VolumeExternal, error)
CloneVolume mocks base method.
func (*MockOrchestrator) CreateSnapshot ¶
func (m *MockOrchestrator) CreateSnapshot(arg0 context.Context, arg1 *storage.SnapshotConfig) (*storage.SnapshotExternal, error)
CreateSnapshot mocks base method.
func (*MockOrchestrator) DeleteBackend ¶
func (m *MockOrchestrator) DeleteBackend(arg0 context.Context, arg1 string) error
DeleteBackend mocks base method.
func (*MockOrchestrator) DeleteBackendByBackendUUID ¶
func (m *MockOrchestrator) DeleteBackendByBackendUUID(arg0 context.Context, arg1, arg2 string) error
DeleteBackendByBackendUUID mocks base method.
func (*MockOrchestrator) DeleteNode ¶
func (m *MockOrchestrator) DeleteNode(arg0 context.Context, arg1 string) error
DeleteNode mocks base method.
func (*MockOrchestrator) DeleteSnapshot ¶
func (m *MockOrchestrator) DeleteSnapshot(arg0 context.Context, arg1, arg2 string) error
DeleteSnapshot mocks base method.
func (*MockOrchestrator) DeleteStorageClass ¶
func (m *MockOrchestrator) DeleteStorageClass(arg0 context.Context, arg1 string) error
DeleteStorageClass mocks base method.
func (*MockOrchestrator) DeleteVolume ¶
func (m *MockOrchestrator) DeleteVolume(arg0 context.Context, arg1 string) error
DeleteVolume mocks base method.
func (*MockOrchestrator) DeleteVolumePublication ¶
func (m *MockOrchestrator) DeleteVolumePublication(arg0 context.Context, arg1, arg2 string) error
DeleteVolumePublication mocks base method.
func (*MockOrchestrator) DeleteVolumeTransaction ¶
func (m *MockOrchestrator) DeleteVolumeTransaction(arg0 context.Context, arg1 *storage.VolumeTransaction) error
DeleteVolumeTransaction mocks base method.
func (*MockOrchestrator) DetachVolume ¶
func (m *MockOrchestrator) DetachVolume(arg0 context.Context, arg1, arg2 string) error
DetachVolume mocks base method.
func (*MockOrchestrator) EXPECT ¶
func (m *MockOrchestrator) EXPECT() *MockOrchestratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOrchestrator) EstablishMirror ¶
func (m *MockOrchestrator) EstablishMirror(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string) error
EstablishMirror mocks base method.
func (*MockOrchestrator) GetBackend ¶
func (m *MockOrchestrator) GetBackend(arg0 context.Context, arg1 string) (*storage.BackendExternal, error)
GetBackend mocks base method.
func (*MockOrchestrator) GetBackendByBackendUUID ¶
func (m *MockOrchestrator) GetBackendByBackendUUID(arg0 context.Context, arg1 string) (*storage.BackendExternal, error)
GetBackendByBackendUUID mocks base method.
func (*MockOrchestrator) GetCHAP ¶
func (m *MockOrchestrator) GetCHAP(arg0 context.Context, arg1, arg2 string) (*utils.IscsiChapInfo, error)
GetCHAP mocks base method.
func (*MockOrchestrator) GetFrontend ¶
GetFrontend mocks base method.
func (*MockOrchestrator) GetMirrorStatus ¶
func (m *MockOrchestrator) GetMirrorStatus(arg0 context.Context, arg1, arg2, arg3 string) (string, error)
GetMirrorStatus mocks base method.
func (*MockOrchestrator) GetReplicationDetails ¶
func (m *MockOrchestrator) GetReplicationDetails(arg0 context.Context, arg1, arg2, arg3 string) (string, string, error)
GetReplicationDetails mocks base method.
func (*MockOrchestrator) GetSnapshot ¶
func (m *MockOrchestrator) GetSnapshot(arg0 context.Context, arg1, arg2 string) (*storage.SnapshotExternal, error)
GetSnapshot mocks base method.
func (*MockOrchestrator) GetStorageClass ¶
func (m *MockOrchestrator) GetStorageClass(arg0 context.Context, arg1 string) (*storageclass.External, error)
GetStorageClass mocks base method.
func (*MockOrchestrator) GetSubordinateSourceVolume ¶
func (m *MockOrchestrator) GetSubordinateSourceVolume(arg0 context.Context, arg1 string) (*storage.VolumeExternal, error)
GetSubordinateSourceVolume mocks base method.
func (*MockOrchestrator) GetVersion ¶
func (m *MockOrchestrator) GetVersion(arg0 context.Context) (string, error)
GetVersion mocks base method.
func (*MockOrchestrator) GetVolume ¶
func (m *MockOrchestrator) GetVolume(arg0 context.Context, arg1 string) (*storage.VolumeExternal, error)
GetVolume mocks base method.
func (*MockOrchestrator) GetVolumeByInternalName ¶
func (m *MockOrchestrator) GetVolumeByInternalName(arg0 string, arg1 context.Context) (string, error)
GetVolumeByInternalName mocks base method.
func (*MockOrchestrator) GetVolumeExternal ¶
func (m *MockOrchestrator) GetVolumeExternal(arg0 context.Context, arg1, arg2 string) (*storage.VolumeExternal, error)
GetVolumeExternal mocks base method.
func (*MockOrchestrator) GetVolumePublication ¶
func (m *MockOrchestrator) GetVolumePublication(arg0 context.Context, arg1, arg2 string) (*utils.VolumePublication, error)
GetVolumePublication mocks base method.
func (*MockOrchestrator) GetVolumeTransaction ¶
func (m *MockOrchestrator) GetVolumeTransaction(arg0 context.Context, arg1 *storage.VolumeTransaction) (*storage.VolumeTransaction, error)
GetVolumeTransaction mocks base method.
func (*MockOrchestrator) ImportVolume ¶
func (m *MockOrchestrator) ImportVolume(arg0 context.Context, arg1 *storage.VolumeConfig) (*storage.VolumeExternal, error)
ImportVolume mocks base method.
func (*MockOrchestrator) LegacyImportVolume ¶
func (m *MockOrchestrator) LegacyImportVolume(arg0 context.Context, arg1 *storage.VolumeConfig, arg2 string, arg3 bool, arg4 core.VolumeCallback) (*storage.VolumeExternal, error)
LegacyImportVolume mocks base method.
func (*MockOrchestrator) ListBackends ¶
func (m *MockOrchestrator) ListBackends(arg0 context.Context) ([]*storage.BackendExternal, error)
ListBackends mocks base method.
func (*MockOrchestrator) ListSnapshots ¶
func (m *MockOrchestrator) ListSnapshots(arg0 context.Context) ([]*storage.SnapshotExternal, error)
ListSnapshots mocks base method.
func (*MockOrchestrator) ListSnapshotsByName ¶
func (m *MockOrchestrator) ListSnapshotsByName(arg0 context.Context, arg1 string) ([]*storage.SnapshotExternal, error)
ListSnapshotsByName mocks base method.
func (*MockOrchestrator) ListSnapshotsForVolume ¶
func (m *MockOrchestrator) ListSnapshotsForVolume(arg0 context.Context, arg1 string) ([]*storage.SnapshotExternal, error)
ListSnapshotsForVolume mocks base method.
func (*MockOrchestrator) ListStorageClasses ¶
func (m *MockOrchestrator) ListStorageClasses(arg0 context.Context) ([]*storageclass.External, error)
ListStorageClasses mocks base method.
func (*MockOrchestrator) ListSubordinateVolumes ¶
func (m *MockOrchestrator) ListSubordinateVolumes(arg0 context.Context, arg1 string) ([]*storage.VolumeExternal, error)
ListSubordinateVolumes mocks base method.
func (*MockOrchestrator) ListVolumePublications ¶
func (m *MockOrchestrator) ListVolumePublications(arg0 context.Context) ([]*utils.VolumePublicationExternal, error)
ListVolumePublications mocks base method.
func (*MockOrchestrator) ListVolumePublicationsForNode ¶
func (m *MockOrchestrator) ListVolumePublicationsForNode(arg0 context.Context, arg1 string) ([]*utils.VolumePublicationExternal, error)
ListVolumePublicationsForNode mocks base method.
func (*MockOrchestrator) ListVolumePublicationsForVolume ¶
func (m *MockOrchestrator) ListVolumePublicationsForVolume(arg0 context.Context, arg1 string) ([]*utils.VolumePublicationExternal, error)
ListVolumePublicationsForVolume mocks base method.
func (*MockOrchestrator) ListVolumes ¶
func (m *MockOrchestrator) ListVolumes(arg0 context.Context) ([]*storage.VolumeExternal, error)
ListVolumes mocks base method.
func (*MockOrchestrator) PeriodicallyReconcileNodeAccessOnBackends ¶
func (m *MockOrchestrator) PeriodicallyReconcileNodeAccessOnBackends()
PeriodicallyReconcileNodeAccessOnBackends mocks base method.
func (*MockOrchestrator) PromoteMirror ¶
func (m *MockOrchestrator) PromoteMirror(arg0 context.Context, arg1, arg2, arg3, arg4 string) (bool, error)
PromoteMirror mocks base method.
func (*MockOrchestrator) PublishVolume ¶
func (m *MockOrchestrator) PublishVolume(arg0 context.Context, arg1 string, arg2 *utils.VolumePublishInfo) error
PublishVolume mocks base method.
func (*MockOrchestrator) ReadSnapshotsForVolume ¶
func (m *MockOrchestrator) ReadSnapshotsForVolume(arg0 context.Context, arg1 string) ([]*storage.SnapshotExternal, error)
ReadSnapshotsForVolume mocks base method.
func (*MockOrchestrator) ReestablishMirror ¶
func (m *MockOrchestrator) ReestablishMirror(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string) error
ReestablishMirror mocks base method.
func (*MockOrchestrator) ReleaseMirror ¶
func (m *MockOrchestrator) ReleaseMirror(arg0 context.Context, arg1, arg2 string) error
ReleaseMirror mocks base method.
func (*MockOrchestrator) ReloadVolumes ¶
func (m *MockOrchestrator) ReloadVolumes(arg0 context.Context) error
ReloadVolumes mocks base method.
func (*MockOrchestrator) RemoveBackendConfigRef ¶
func (m *MockOrchestrator) RemoveBackendConfigRef(arg0 context.Context, arg1, arg2 string) error
RemoveBackendConfigRef mocks base method.
func (*MockOrchestrator) ResizeVolume ¶
func (m *MockOrchestrator) ResizeVolume(arg0 context.Context, arg1, arg2 string) error
ResizeVolume mocks base method.
func (*MockOrchestrator) SetVolumeState ¶
func (m *MockOrchestrator) SetVolumeState(arg0 context.Context, arg1 string, arg2 storage.VolumeState) error
SetVolumeState mocks base method.
func (*MockOrchestrator) UnpublishVolume ¶
func (m *MockOrchestrator) UnpublishVolume(arg0 context.Context, arg1, arg2 string) error
UnpublishVolume mocks base method.
func (*MockOrchestrator) UpdateBackend ¶
func (m *MockOrchestrator) UpdateBackend(arg0 context.Context, arg1, arg2, arg3 string) (*storage.BackendExternal, error)
UpdateBackend mocks base method.
func (*MockOrchestrator) UpdateBackendByBackendUUID ¶
func (m *MockOrchestrator) UpdateBackendByBackendUUID(arg0 context.Context, arg1, arg2, arg3, arg4 string) (*storage.BackendExternal, error)
UpdateBackendByBackendUUID mocks base method.
func (*MockOrchestrator) UpdateBackendState ¶
func (m *MockOrchestrator) UpdateBackendState(arg0 context.Context, arg1, arg2 string) (*storage.BackendExternal, error)
UpdateBackendState mocks base method.
func (*MockOrchestrator) UpdateVolumePublication ¶
func (m *MockOrchestrator) UpdateVolumePublication(arg0 context.Context, arg1, arg2 string, arg3 *bool) error
UpdateVolumePublication mocks base method.
type MockOrchestratorMockRecorder ¶
type MockOrchestratorMockRecorder struct {
// contains filtered or unexported fields
}
MockOrchestratorMockRecorder is the mock recorder for MockOrchestrator.
func (*MockOrchestratorMockRecorder) AddBackend ¶
func (mr *MockOrchestratorMockRecorder) AddBackend(arg0, arg1, arg2 interface{}) *gomock.Call
AddBackend indicates an expected call of AddBackend.
func (*MockOrchestratorMockRecorder) AddFrontend ¶
func (mr *MockOrchestratorMockRecorder) AddFrontend(arg0 interface{}) *gomock.Call
AddFrontend indicates an expected call of AddFrontend.
func (*MockOrchestratorMockRecorder) AddNode ¶
func (mr *MockOrchestratorMockRecorder) AddNode(arg0, arg1, arg2 interface{}) *gomock.Call
AddNode indicates an expected call of AddNode.
func (*MockOrchestratorMockRecorder) AddStorageClass ¶
func (mr *MockOrchestratorMockRecorder) AddStorageClass(arg0, arg1 interface{}) *gomock.Call
AddStorageClass indicates an expected call of AddStorageClass.
func (*MockOrchestratorMockRecorder) AddVolume ¶
func (mr *MockOrchestratorMockRecorder) AddVolume(arg0, arg1 interface{}) *gomock.Call
AddVolume indicates an expected call of AddVolume.
func (*MockOrchestratorMockRecorder) AddVolumePublication ¶
func (mr *MockOrchestratorMockRecorder) AddVolumePublication(arg0, arg1 interface{}) *gomock.Call
AddVolumePublication indicates an expected call of AddVolumePublication.
func (*MockOrchestratorMockRecorder) AddVolumeTransaction ¶
func (mr *MockOrchestratorMockRecorder) AddVolumeTransaction(arg0, arg1 interface{}) *gomock.Call
AddVolumeTransaction indicates an expected call of AddVolumeTransaction.
func (*MockOrchestratorMockRecorder) AttachVolume ¶
func (mr *MockOrchestratorMockRecorder) AttachVolume(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AttachVolume indicates an expected call of AttachVolume.
func (*MockOrchestratorMockRecorder) Bootstrap ¶
func (mr *MockOrchestratorMockRecorder) Bootstrap(arg0 interface{}) *gomock.Call
Bootstrap indicates an expected call of Bootstrap.
func (*MockOrchestratorMockRecorder) CanBackendMirror ¶
func (mr *MockOrchestratorMockRecorder) CanBackendMirror(arg0, arg1 interface{}) *gomock.Call
CanBackendMirror indicates an expected call of CanBackendMirror.
func (*MockOrchestratorMockRecorder) CloneVolume ¶
func (mr *MockOrchestratorMockRecorder) CloneVolume(arg0, arg1 interface{}) *gomock.Call
CloneVolume indicates an expected call of CloneVolume.
func (*MockOrchestratorMockRecorder) CreateSnapshot ¶
func (mr *MockOrchestratorMockRecorder) CreateSnapshot(arg0, arg1 interface{}) *gomock.Call
CreateSnapshot indicates an expected call of CreateSnapshot.
func (*MockOrchestratorMockRecorder) DeleteBackend ¶
func (mr *MockOrchestratorMockRecorder) DeleteBackend(arg0, arg1 interface{}) *gomock.Call
DeleteBackend indicates an expected call of DeleteBackend.
func (*MockOrchestratorMockRecorder) DeleteBackendByBackendUUID ¶
func (mr *MockOrchestratorMockRecorder) DeleteBackendByBackendUUID(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteBackendByBackendUUID indicates an expected call of DeleteBackendByBackendUUID.
func (*MockOrchestratorMockRecorder) DeleteNode ¶
func (mr *MockOrchestratorMockRecorder) DeleteNode(arg0, arg1 interface{}) *gomock.Call
DeleteNode indicates an expected call of DeleteNode.
func (*MockOrchestratorMockRecorder) DeleteSnapshot ¶
func (mr *MockOrchestratorMockRecorder) DeleteSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteSnapshot indicates an expected call of DeleteSnapshot.
func (*MockOrchestratorMockRecorder) DeleteStorageClass ¶
func (mr *MockOrchestratorMockRecorder) DeleteStorageClass(arg0, arg1 interface{}) *gomock.Call
DeleteStorageClass indicates an expected call of DeleteStorageClass.
func (*MockOrchestratorMockRecorder) DeleteVolume ¶
func (mr *MockOrchestratorMockRecorder) DeleteVolume(arg0, arg1 interface{}) *gomock.Call
DeleteVolume indicates an expected call of DeleteVolume.
func (*MockOrchestratorMockRecorder) DeleteVolumePublication ¶
func (mr *MockOrchestratorMockRecorder) DeleteVolumePublication(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteVolumePublication indicates an expected call of DeleteVolumePublication.
func (*MockOrchestratorMockRecorder) DeleteVolumeTransaction ¶
func (mr *MockOrchestratorMockRecorder) DeleteVolumeTransaction(arg0, arg1 interface{}) *gomock.Call
DeleteVolumeTransaction indicates an expected call of DeleteVolumeTransaction.
func (*MockOrchestratorMockRecorder) DetachVolume ¶
func (mr *MockOrchestratorMockRecorder) DetachVolume(arg0, arg1, arg2 interface{}) *gomock.Call
DetachVolume indicates an expected call of DetachVolume.
func (*MockOrchestratorMockRecorder) EstablishMirror ¶
func (mr *MockOrchestratorMockRecorder) EstablishMirror(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
EstablishMirror indicates an expected call of EstablishMirror.
func (*MockOrchestratorMockRecorder) GetBackend ¶
func (mr *MockOrchestratorMockRecorder) GetBackend(arg0, arg1 interface{}) *gomock.Call
GetBackend indicates an expected call of GetBackend.
func (*MockOrchestratorMockRecorder) GetBackendByBackendUUID ¶
func (mr *MockOrchestratorMockRecorder) GetBackendByBackendUUID(arg0, arg1 interface{}) *gomock.Call
GetBackendByBackendUUID indicates an expected call of GetBackendByBackendUUID.
func (*MockOrchestratorMockRecorder) GetCHAP ¶
func (mr *MockOrchestratorMockRecorder) GetCHAP(arg0, arg1, arg2 interface{}) *gomock.Call
GetCHAP indicates an expected call of GetCHAP.
func (*MockOrchestratorMockRecorder) GetFrontend ¶
func (mr *MockOrchestratorMockRecorder) GetFrontend(arg0, arg1 interface{}) *gomock.Call
GetFrontend indicates an expected call of GetFrontend.
func (*MockOrchestratorMockRecorder) GetMirrorStatus ¶
func (mr *MockOrchestratorMockRecorder) GetMirrorStatus(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetMirrorStatus indicates an expected call of GetMirrorStatus.
func (*MockOrchestratorMockRecorder) GetNode ¶
func (mr *MockOrchestratorMockRecorder) GetNode(arg0, arg1 interface{}) *gomock.Call
GetNode indicates an expected call of GetNode.
func (*MockOrchestratorMockRecorder) GetReplicationDetails ¶
func (mr *MockOrchestratorMockRecorder) GetReplicationDetails(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetReplicationDetails indicates an expected call of GetReplicationDetails.
func (*MockOrchestratorMockRecorder) GetSnapshot ¶
func (mr *MockOrchestratorMockRecorder) GetSnapshot(arg0, arg1, arg2 interface{}) *gomock.Call
GetSnapshot indicates an expected call of GetSnapshot.
func (*MockOrchestratorMockRecorder) GetStorageClass ¶
func (mr *MockOrchestratorMockRecorder) GetStorageClass(arg0, arg1 interface{}) *gomock.Call
GetStorageClass indicates an expected call of GetStorageClass.
func (*MockOrchestratorMockRecorder) GetSubordinateSourceVolume ¶
func (mr *MockOrchestratorMockRecorder) GetSubordinateSourceVolume(arg0, arg1 interface{}) *gomock.Call
GetSubordinateSourceVolume indicates an expected call of GetSubordinateSourceVolume.
func (*MockOrchestratorMockRecorder) GetVersion ¶
func (mr *MockOrchestratorMockRecorder) GetVersion(arg0 interface{}) *gomock.Call
GetVersion indicates an expected call of GetVersion.
func (*MockOrchestratorMockRecorder) GetVolume ¶
func (mr *MockOrchestratorMockRecorder) GetVolume(arg0, arg1 interface{}) *gomock.Call
GetVolume indicates an expected call of GetVolume.
func (*MockOrchestratorMockRecorder) GetVolumeByInternalName ¶
func (mr *MockOrchestratorMockRecorder) GetVolumeByInternalName(arg0, arg1 interface{}) *gomock.Call
GetVolumeByInternalName indicates an expected call of GetVolumeByInternalName.
func (*MockOrchestratorMockRecorder) GetVolumeExternal ¶
func (mr *MockOrchestratorMockRecorder) GetVolumeExternal(arg0, arg1, arg2 interface{}) *gomock.Call
GetVolumeExternal indicates an expected call of GetVolumeExternal.
func (*MockOrchestratorMockRecorder) GetVolumePublication ¶
func (mr *MockOrchestratorMockRecorder) GetVolumePublication(arg0, arg1, arg2 interface{}) *gomock.Call
GetVolumePublication indicates an expected call of GetVolumePublication.
func (*MockOrchestratorMockRecorder) GetVolumeTransaction ¶
func (mr *MockOrchestratorMockRecorder) GetVolumeTransaction(arg0, arg1 interface{}) *gomock.Call
GetVolumeTransaction indicates an expected call of GetVolumeTransaction.
func (*MockOrchestratorMockRecorder) ImportVolume ¶
func (mr *MockOrchestratorMockRecorder) ImportVolume(arg0, arg1 interface{}) *gomock.Call
ImportVolume indicates an expected call of ImportVolume.
func (*MockOrchestratorMockRecorder) LegacyImportVolume ¶
func (mr *MockOrchestratorMockRecorder) LegacyImportVolume(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
LegacyImportVolume indicates an expected call of LegacyImportVolume.
func (*MockOrchestratorMockRecorder) ListBackends ¶
func (mr *MockOrchestratorMockRecorder) ListBackends(arg0 interface{}) *gomock.Call
ListBackends indicates an expected call of ListBackends.
func (*MockOrchestratorMockRecorder) ListNodes ¶
func (mr *MockOrchestratorMockRecorder) ListNodes(arg0 interface{}) *gomock.Call
ListNodes indicates an expected call of ListNodes.
func (*MockOrchestratorMockRecorder) ListSnapshots ¶
func (mr *MockOrchestratorMockRecorder) ListSnapshots(arg0 interface{}) *gomock.Call
ListSnapshots indicates an expected call of ListSnapshots.
func (*MockOrchestratorMockRecorder) ListSnapshotsByName ¶
func (mr *MockOrchestratorMockRecorder) ListSnapshotsByName(arg0, arg1 interface{}) *gomock.Call
ListSnapshotsByName indicates an expected call of ListSnapshotsByName.
func (*MockOrchestratorMockRecorder) ListSnapshotsForVolume ¶
func (mr *MockOrchestratorMockRecorder) ListSnapshotsForVolume(arg0, arg1 interface{}) *gomock.Call
ListSnapshotsForVolume indicates an expected call of ListSnapshotsForVolume.
func (*MockOrchestratorMockRecorder) ListStorageClasses ¶
func (mr *MockOrchestratorMockRecorder) ListStorageClasses(arg0 interface{}) *gomock.Call
ListStorageClasses indicates an expected call of ListStorageClasses.
func (*MockOrchestratorMockRecorder) ListSubordinateVolumes ¶
func (mr *MockOrchestratorMockRecorder) ListSubordinateVolumes(arg0, arg1 interface{}) *gomock.Call
ListSubordinateVolumes indicates an expected call of ListSubordinateVolumes.
func (*MockOrchestratorMockRecorder) ListVolumePublications ¶
func (mr *MockOrchestratorMockRecorder) ListVolumePublications(arg0 interface{}) *gomock.Call
ListVolumePublications indicates an expected call of ListVolumePublications.
func (*MockOrchestratorMockRecorder) ListVolumePublicationsForNode ¶
func (mr *MockOrchestratorMockRecorder) ListVolumePublicationsForNode(arg0, arg1 interface{}) *gomock.Call
ListVolumePublicationsForNode indicates an expected call of ListVolumePublicationsForNode.
func (*MockOrchestratorMockRecorder) ListVolumePublicationsForVolume ¶
func (mr *MockOrchestratorMockRecorder) ListVolumePublicationsForVolume(arg0, arg1 interface{}) *gomock.Call
ListVolumePublicationsForVolume indicates an expected call of ListVolumePublicationsForVolume.
func (*MockOrchestratorMockRecorder) ListVolumes ¶
func (mr *MockOrchestratorMockRecorder) ListVolumes(arg0 interface{}) *gomock.Call
ListVolumes indicates an expected call of ListVolumes.
func (*MockOrchestratorMockRecorder) PeriodicallyReconcileNodeAccessOnBackends ¶
func (mr *MockOrchestratorMockRecorder) PeriodicallyReconcileNodeAccessOnBackends() *gomock.Call
PeriodicallyReconcileNodeAccessOnBackends indicates an expected call of PeriodicallyReconcileNodeAccessOnBackends.
func (*MockOrchestratorMockRecorder) PromoteMirror ¶
func (mr *MockOrchestratorMockRecorder) PromoteMirror(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
PromoteMirror indicates an expected call of PromoteMirror.
func (*MockOrchestratorMockRecorder) PublishVolume ¶
func (mr *MockOrchestratorMockRecorder) PublishVolume(arg0, arg1, arg2 interface{}) *gomock.Call
PublishVolume indicates an expected call of PublishVolume.
func (*MockOrchestratorMockRecorder) ReadSnapshotsForVolume ¶
func (mr *MockOrchestratorMockRecorder) ReadSnapshotsForVolume(arg0, arg1 interface{}) *gomock.Call
ReadSnapshotsForVolume indicates an expected call of ReadSnapshotsForVolume.
func (*MockOrchestratorMockRecorder) ReestablishMirror ¶
func (mr *MockOrchestratorMockRecorder) ReestablishMirror(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
ReestablishMirror indicates an expected call of ReestablishMirror.
func (*MockOrchestratorMockRecorder) ReleaseMirror ¶
func (mr *MockOrchestratorMockRecorder) ReleaseMirror(arg0, arg1, arg2 interface{}) *gomock.Call
ReleaseMirror indicates an expected call of ReleaseMirror.
func (*MockOrchestratorMockRecorder) ReloadVolumes ¶
func (mr *MockOrchestratorMockRecorder) ReloadVolumes(arg0 interface{}) *gomock.Call
ReloadVolumes indicates an expected call of ReloadVolumes.
func (*MockOrchestratorMockRecorder) RemoveBackendConfigRef ¶
func (mr *MockOrchestratorMockRecorder) RemoveBackendConfigRef(arg0, arg1, arg2 interface{}) *gomock.Call
RemoveBackendConfigRef indicates an expected call of RemoveBackendConfigRef.
func (*MockOrchestratorMockRecorder) ResizeVolume ¶
func (mr *MockOrchestratorMockRecorder) ResizeVolume(arg0, arg1, arg2 interface{}) *gomock.Call
ResizeVolume indicates an expected call of ResizeVolume.
func (*MockOrchestratorMockRecorder) SetVolumeState ¶
func (mr *MockOrchestratorMockRecorder) SetVolumeState(arg0, arg1, arg2 interface{}) *gomock.Call
SetVolumeState indicates an expected call of SetVolumeState.
func (*MockOrchestratorMockRecorder) UnpublishVolume ¶
func (mr *MockOrchestratorMockRecorder) UnpublishVolume(arg0, arg1, arg2 interface{}) *gomock.Call
UnpublishVolume indicates an expected call of UnpublishVolume.
func (*MockOrchestratorMockRecorder) UpdateBackend ¶
func (mr *MockOrchestratorMockRecorder) UpdateBackend(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpdateBackend indicates an expected call of UpdateBackend.
func (*MockOrchestratorMockRecorder) UpdateBackendByBackendUUID ¶
func (mr *MockOrchestratorMockRecorder) UpdateBackendByBackendUUID(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
UpdateBackendByBackendUUID indicates an expected call of UpdateBackendByBackendUUID.
func (*MockOrchestratorMockRecorder) UpdateBackendState ¶
func (mr *MockOrchestratorMockRecorder) UpdateBackendState(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateBackendState indicates an expected call of UpdateBackendState.
func (*MockOrchestratorMockRecorder) UpdateVolumePublication ¶
func (mr *MockOrchestratorMockRecorder) UpdateVolumePublication(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpdateVolumePublication indicates an expected call of UpdateVolumePublication.