Documentation
¶
Index ¶
- type MockOs
- type MockOsMockRecorder
- type MockVolumeStore
- func (m *MockVolumeStore) Create(name string, labels []string) (*native.Volume, error)
- func (m *MockVolumeStore) EXPECT() *MockVolumeStoreMockRecorder
- func (m *MockVolumeStore) Get(name string, size bool) (*native.Volume, error)
- func (m *MockVolumeStore) List(size bool) (map[string]native.Volume, error)
- func (m *MockVolumeStore) Lock() error
- func (m *MockVolumeStore) Remove(names []string) (removed []string, warns []error, err error)
- func (m *MockVolumeStore) Unlock() error
- type MockVolumeStoreMockRecorder
- func (m *MockVolumeStoreMockRecorder) Create(name any, labels any) *gomock.Call
- func (m *MockVolumeStoreMockRecorder) Get(name any, size any) *gomock.Call
- func (m *MockVolumeStoreMockRecorder) List(size any) *gomock.Call
- func (m *MockVolumeStoreMockRecorder) Lock() *gomock.Call
- func (m *MockVolumeStoreMockRecorder) Remove(names any) *gomock.Call
- func (m *MockVolumeStoreMockRecorder) Unlock() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOs ¶
type MockOs struct {
// contains filtered or unexported fields
}
func NewMockOs ¶
func NewMockOs(ctrl *gomock.Controller) *MockOs
func (*MockOs) EXPECT ¶
func (m *MockOs) EXPECT() *MockOsMockRecorder
type MockOsMockRecorder ¶
type MockOsMockRecorder struct {
// contains filtered or unexported fields
}
type MockVolumeStore ¶
type MockVolumeStore struct {
// contains filtered or unexported fields
}
MockVolumeStore is a mock of VolumeStore interface
func NewMockVolumeStore ¶
func NewMockVolumeStore(ctrl *gomock.Controller) *MockVolumeStore
NewMockVolumeStore creates a new mock instance
func (*MockVolumeStore) EXPECT ¶
func (m *MockVolumeStore) EXPECT() *MockVolumeStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockVolumeStore) Lock ¶
func (m *MockVolumeStore) Lock() error
Lock mocks the Lock method of VolumeStore
func (*MockVolumeStore) Remove ¶
func (m *MockVolumeStore) Remove(names []string) (removed []string, warns []error, err error)
Remove mocks the Remove method of VolumeStore
func (*MockVolumeStore) Unlock ¶
func (m *MockVolumeStore) Unlock() error
Unlock mocks the Unlock method of VolumeStore
type MockVolumeStoreMockRecorder ¶
type MockVolumeStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockVolumeStoreMockRecorder is the mock recorder for MockVolumeStore
func (*MockVolumeStoreMockRecorder) Create ¶
func (m *MockVolumeStoreMockRecorder) Create(name any, labels any) *gomock.Call
Create indicates an expected call of Create
func (*MockVolumeStoreMockRecorder) Get ¶
func (m *MockVolumeStoreMockRecorder) Get(name any, size any) *gomock.Call
Get indicates an expected call of Get
func (*MockVolumeStoreMockRecorder) List ¶
func (m *MockVolumeStoreMockRecorder) List(size any) *gomock.Call
List indicates an expected call of List
func (*MockVolumeStoreMockRecorder) Lock ¶
func (m *MockVolumeStoreMockRecorder) Lock() *gomock.Call
Lock indicates an expected call of Lock
func (*MockVolumeStoreMockRecorder) Remove ¶
func (m *MockVolumeStoreMockRecorder) Remove(names any) *gomock.Call
Remove indicates an expected call of Remove
func (*MockVolumeStoreMockRecorder) Unlock ¶
func (m *MockVolumeStoreMockRecorder) Unlock() *gomock.Call
Unlock indicates an expected call of Unlock
Click to show internal directories.
Click to hide internal directories.