mocks

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNetworkAPIClient

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

MockNetworkAPIClient is a mock of NetworkAPIClient interface.

func NewMockNetworkAPIClient

func NewMockNetworkAPIClient(ctrl *gomock.Controller) *MockNetworkAPIClient

NewMockNetworkAPIClient creates a new mock instance.

func (*MockNetworkAPIClient) EXPECT

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

func (*MockNetworkAPIClient) NetworkConnect

func (m *MockNetworkAPIClient) NetworkConnect(arg0 context.Context, arg1, arg2 string, arg3 *network.EndpointSettings) error

NetworkConnect mocks base method.

func (*MockNetworkAPIClient) NetworkCreate

NetworkCreate mocks base method.

func (*MockNetworkAPIClient) NetworkDisconnect

func (m *MockNetworkAPIClient) NetworkDisconnect(arg0 context.Context, arg1, arg2 string, arg3 bool) error

NetworkDisconnect mocks base method.

func (*MockNetworkAPIClient) NetworkInspect

NetworkInspect mocks base method.

func (*MockNetworkAPIClient) NetworkInspectWithRaw

func (m *MockNetworkAPIClient) NetworkInspectWithRaw(arg0 context.Context, arg1 string, arg2 types.NetworkInspectOptions) (types.NetworkResource, []byte, error)

NetworkInspectWithRaw mocks base method.

func (*MockNetworkAPIClient) NetworkList

NetworkList mocks base method.

func (*MockNetworkAPIClient) NetworkRemove

func (m *MockNetworkAPIClient) NetworkRemove(arg0 context.Context, arg1 string) error

NetworkRemove mocks base method.

func (*MockNetworkAPIClient) NetworksPrune

NetworksPrune mocks base method.

type MockNetworkAPIClientMockRecorder

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

MockNetworkAPIClientMockRecorder is the mock recorder for MockNetworkAPIClient.

func (*MockNetworkAPIClientMockRecorder) NetworkConnect

func (mr *MockNetworkAPIClientMockRecorder) NetworkConnect(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

NetworkConnect indicates an expected call of NetworkConnect.

func (*MockNetworkAPIClientMockRecorder) NetworkCreate

func (mr *MockNetworkAPIClientMockRecorder) NetworkCreate(arg0, arg1, arg2 interface{}) *gomock.Call

NetworkCreate indicates an expected call of NetworkCreate.

func (*MockNetworkAPIClientMockRecorder) NetworkDisconnect

func (mr *MockNetworkAPIClientMockRecorder) NetworkDisconnect(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

NetworkDisconnect indicates an expected call of NetworkDisconnect.

func (*MockNetworkAPIClientMockRecorder) NetworkInspect

func (mr *MockNetworkAPIClientMockRecorder) NetworkInspect(arg0, arg1, arg2 interface{}) *gomock.Call

NetworkInspect indicates an expected call of NetworkInspect.

func (*MockNetworkAPIClientMockRecorder) NetworkInspectWithRaw

func (mr *MockNetworkAPIClientMockRecorder) NetworkInspectWithRaw(arg0, arg1, arg2 interface{}) *gomock.Call

NetworkInspectWithRaw indicates an expected call of NetworkInspectWithRaw.

func (*MockNetworkAPIClientMockRecorder) NetworkList

func (mr *MockNetworkAPIClientMockRecorder) NetworkList(arg0, arg1 interface{}) *gomock.Call

NetworkList indicates an expected call of NetworkList.

func (*MockNetworkAPIClientMockRecorder) NetworkRemove

func (mr *MockNetworkAPIClientMockRecorder) NetworkRemove(arg0, arg1 interface{}) *gomock.Call

NetworkRemove indicates an expected call of NetworkRemove.

func (*MockNetworkAPIClientMockRecorder) NetworksPrune

func (mr *MockNetworkAPIClientMockRecorder) NetworksPrune(arg0, arg1 interface{}) *gomock.Call

NetworksPrune indicates an expected call of NetworksPrune.

type Mockprovider

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

Mockprovider is a mock of provider interface.

func NewMockprovider

func NewMockprovider(ctrl *gomock.Controller) *Mockprovider

NewMockprovider creates a new mock instance.

func (*Mockprovider) Create

func (m *Mockprovider) Create(name string, options ...cluster.CreateOption) error

Create mocks base method.

func (*Mockprovider) EXPECT

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

func (*Mockprovider) List

func (m *Mockprovider) List() ([]string, error)

List mocks base method.

type MockproviderMockRecorder

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

MockproviderMockRecorder is the mock recorder for Mockprovider.

func (*MockproviderMockRecorder) Create

func (mr *MockproviderMockRecorder) Create(name interface{}, options ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockproviderMockRecorder) List

func (mr *MockproviderMockRecorder) List() *gomock.Call

List indicates an expected call of List.

Jump to

Keyboard shortcuts

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