mock_zfs

package
v2.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_zfs is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) Datasets

func (m *MockClient) Datasets(pool string, kind zfs.DatasetKind) zfs.Datasets

Datasets mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) Pool

func (m *MockClient) Pool(name string) zfs.Pool

Pool mocks base method.

func (*MockClient) PoolNames

func (m *MockClient) PoolNames() ([]string, error)

PoolNames mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) Datasets

func (mr *MockClientMockRecorder) Datasets(pool, kind interface{}) *gomock.Call

Datasets indicates an expected call of Datasets.

func (*MockClientMockRecorder) Pool

func (mr *MockClientMockRecorder) Pool(name interface{}) *gomock.Call

Pool indicates an expected call of Pool.

func (*MockClientMockRecorder) PoolNames

func (mr *MockClientMockRecorder) PoolNames() *gomock.Call

PoolNames indicates an expected call of PoolNames.

type MockDatasetProperties

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

MockDatasetProperties is a mock of DatasetProperties interface.

func NewMockDatasetProperties

func NewMockDatasetProperties(ctrl *gomock.Controller) *MockDatasetProperties

NewMockDatasetProperties creates a new mock instance.

func (*MockDatasetProperties) DatasetName

func (m *MockDatasetProperties) DatasetName() string

DatasetName mocks base method.

func (*MockDatasetProperties) EXPECT

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

func (*MockDatasetProperties) Properties

func (m *MockDatasetProperties) Properties() map[string]string

Properties mocks base method.

type MockDatasetPropertiesMockRecorder

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

MockDatasetPropertiesMockRecorder is the mock recorder for MockDatasetProperties.

func (*MockDatasetPropertiesMockRecorder) DatasetName

func (mr *MockDatasetPropertiesMockRecorder) DatasetName() *gomock.Call

DatasetName indicates an expected call of DatasetName.

func (*MockDatasetPropertiesMockRecorder) Properties

func (mr *MockDatasetPropertiesMockRecorder) Properties() *gomock.Call

Properties indicates an expected call of Properties.

type MockDatasets

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

MockDatasets is a mock of Datasets interface.

func NewMockDatasets

func NewMockDatasets(ctrl *gomock.Controller) *MockDatasets

NewMockDatasets creates a new mock instance.

func (*MockDatasets) EXPECT

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

func (*MockDatasets) Kind

func (m *MockDatasets) Kind() zfs.DatasetKind

Kind mocks base method.

func (*MockDatasets) Pool

func (m *MockDatasets) Pool() string

Pool mocks base method.

func (*MockDatasets) Properties

func (m *MockDatasets) Properties(props ...string) ([]zfs.DatasetProperties, error)

Properties mocks base method.

type MockDatasetsMockRecorder

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

MockDatasetsMockRecorder is the mock recorder for MockDatasets.

func (*MockDatasetsMockRecorder) Kind

func (mr *MockDatasetsMockRecorder) Kind() *gomock.Call

Kind indicates an expected call of Kind.

func (*MockDatasetsMockRecorder) Pool

func (mr *MockDatasetsMockRecorder) Pool() *gomock.Call

Pool indicates an expected call of Pool.

func (*MockDatasetsMockRecorder) Properties

func (mr *MockDatasetsMockRecorder) Properties(props ...interface{}) *gomock.Call

Properties indicates an expected call of Properties.

type MockPool

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

MockPool is a mock of Pool interface.

func NewMockPool

func NewMockPool(ctrl *gomock.Controller) *MockPool

NewMockPool creates a new mock instance.

func (*MockPool) EXPECT

func (m *MockPool) EXPECT() *MockPoolMockRecorder

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

func (*MockPool) Name

func (m *MockPool) Name() string

Name mocks base method.

func (*MockPool) Properties

func (m *MockPool) Properties(props ...string) (zfs.PoolProperties, error)

Properties mocks base method.

type MockPoolMockRecorder

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

MockPoolMockRecorder is the mock recorder for MockPool.

func (*MockPoolMockRecorder) Name

func (mr *MockPoolMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockPoolMockRecorder) Properties

func (mr *MockPoolMockRecorder) Properties(props ...interface{}) *gomock.Call

Properties indicates an expected call of Properties.

type MockPoolProperties

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

MockPoolProperties is a mock of PoolProperties interface.

func NewMockPoolProperties

func NewMockPoolProperties(ctrl *gomock.Controller) *MockPoolProperties

NewMockPoolProperties creates a new mock instance.

func (*MockPoolProperties) EXPECT

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

func (*MockPoolProperties) Properties

func (m *MockPoolProperties) Properties() map[string]string

Properties mocks base method.

type MockPoolPropertiesMockRecorder

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

MockPoolPropertiesMockRecorder is the mock recorder for MockPoolProperties.

func (*MockPoolPropertiesMockRecorder) Properties

func (mr *MockPoolPropertiesMockRecorder) Properties() *gomock.Call

Properties indicates an expected call of Properties.

type Mockhandler

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

Mockhandler is a mock of handler interface.

func NewMockhandler

func NewMockhandler(ctrl *gomock.Controller) *Mockhandler

NewMockhandler creates a new mock instance.

func (*Mockhandler) EXPECT

func (m *Mockhandler) EXPECT() *MockhandlerMockRecorder

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

type MockhandlerMockRecorder

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

MockhandlerMockRecorder is the mock recorder for Mockhandler.

Jump to

Keyboard shortcuts

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