Documentation
¶
Overview ¶
Package mocks_volume is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) Create(ctx context.Context, name string, labels []string) (*native.Volume, error)
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) Inspect(volName string) (*native.Volume, error)
- func (m *MockService) List(ctx context.Context, filters []string) (*types.VolumesListResponse, error)
- func (m *MockService) Remove(ctx context.Context, volName string, force bool) error
- type MockServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) Create ¶
func (m *MockService) Create(ctx context.Context, name string, labels []string) (*native.Volume, error)
Create mocks base method.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) Inspect ¶
func (m *MockService) Inspect(volName string) (*native.Volume, error)
Inspect mocks base method.
func (*MockService) List ¶
func (m *MockService) List(ctx context.Context, filters []string) (*types.VolumesListResponse, error)
List mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) Create ¶
func (mr *MockServiceMockRecorder) Create(ctx, name, labels any) *gomock.Call
Create indicates an expected call of Create.
func (*MockServiceMockRecorder) Inspect ¶
func (mr *MockServiceMockRecorder) Inspect(volName any) *gomock.Call
Inspect indicates an expected call of Inspect.
Click to show internal directories.
Click to hide internal directories.