mocks_volume

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks_volume is a generated GoMock package.

Index

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.

func (*MockService) Remove

func (m *MockService) Remove(ctx context.Context, volName string, force bool) error

Remove 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.

func (*MockServiceMockRecorder) List

func (mr *MockServiceMockRecorder) List(ctx, filters any) *gomock.Call

List indicates an expected call of List.

func (*MockServiceMockRecorder) Remove

func (mr *MockServiceMockRecorder) Remove(ctx, volName, force any) *gomock.Call

Remove indicates an expected call of Remove.

Jump to

Keyboard shortcuts

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