mountutilmock

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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

func (*MockOs) Stat

func (m *MockOs) Stat(name string) (os.FileInfo, error)

type MockOsMockRecorder

type MockOsMockRecorder struct {
	// contains filtered or unexported fields
}

func (*MockOsMockRecorder) Stat

func (m *MockOsMockRecorder) Stat(name any) *gomock.Call

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) Create

func (m *MockVolumeStore) Create(name string, labels []string) (*native.Volume, error)

Create mocks the Create method of VolumeStore

func (*MockVolumeStore) Dir

func (m *MockVolumeStore) Dir() string

Dir mocks the Dir method of VolumeStore

func (*MockVolumeStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockVolumeStore) Get

func (m *MockVolumeStore) Get(name string, size bool) (*native.Volume, error)

Get mocks the Get method of VolumeStore

func (*MockVolumeStore) List

func (m *MockVolumeStore) List(size bool) (map[string]native.Volume, error)

List mocks the List method of VolumeStore

func (*MockVolumeStore) Remove

func (m *MockVolumeStore) Remove(names []string) ([]string, error)

Remove mocks the Remove 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) Dir

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

func (*MockVolumeStoreMockRecorder) List

func (m *MockVolumeStoreMockRecorder) List(size any) *gomock.Call

List indicates an expected call of List

func (*MockVolumeStoreMockRecorder) Remove

func (m *MockVolumeStoreMockRecorder) Remove(names 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