Documentation ¶
Index ¶
- type MockOs
- type MockOsMockRecorder
- type MockVolumeStore
- func (m *MockVolumeStore) Create(name string, labels []string) (*native.Volume, error)
- func (m *MockVolumeStore) Dir() string
- 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) Remove(names []string) ([]string, error)
- type MockVolumeStoreMockRecorder
- func (m *MockVolumeStoreMockRecorder) Create(name any, labels any) *gomock.Call
- func (m *MockVolumeStoreMockRecorder) Dir() *gomock.Call
- func (m *MockVolumeStoreMockRecorder) Get(name any, size any) *gomock.Call
- func (m *MockVolumeStoreMockRecorder) List(size any) *gomock.Call
- func (m *MockVolumeStoreMockRecorder) Remove(names any) *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) Dir ¶
func (m *MockVolumeStore) Dir() string
Dir mocks the Dir method of VolumeStore
func (*MockVolumeStore) EXPECT ¶
func (m *MockVolumeStore) EXPECT() *MockVolumeStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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) Dir ¶
func (m *MockVolumeStoreMockRecorder) Dir() *gomock.Call
Dir indicates an expected call of Dir
func (*MockVolumeStoreMockRecorder) Get ¶
func (m *MockVolumeStoreMockRecorder) Get(name any, size any) *gomock.Call
Get indicates an expected call of Get
Click to show internal directories.
Click to hide internal directories.