mockclient

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Overview

Package mockclient 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) Cluster

func (m *MockClient) Cluster() client.ClusterClient

Cluster 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) Networking

func (m *MockClient) Networking() client.NetworkingClient

Networking mocks base method.

func (*MockClient) Prism

func (m *MockClient) Prism() client.PrismClient

Prism mocks base method.

type MockClientClusterCall

type MockClientClusterCall struct {
	*gomock.Call
}

MockClientClusterCall wrap *gomock.Call

func (*MockClientClusterCall) Do

Do rewrite *gomock.Call.Do

func (*MockClientClusterCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockClientClusterCall) Return

Return rewrite *gomock.Call.Return

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) Cluster

Cluster indicates an expected call of Cluster.

func (*MockClientMockRecorder) Networking

Networking indicates an expected call of Networking.

func (*MockClientMockRecorder) Prism

Prism indicates an expected call of Prism.

type MockClientNetworkingCall

type MockClientNetworkingCall struct {
	*gomock.Call
}

MockClientNetworkingCall wrap *gomock.Call

func (*MockClientNetworkingCall) Do

Do rewrite *gomock.Call.Do

func (*MockClientNetworkingCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockClientNetworkingCall) Return

Return rewrite *gomock.Call.Return

type MockClientPrismCall

type MockClientPrismCall struct {
	*gomock.Call
}

MockClientPrismCall wrap *gomock.Call

func (*MockClientPrismCall) Do

Do rewrite *gomock.Call.Do

func (*MockClientPrismCall) DoAndReturn

func (c *MockClientPrismCall) DoAndReturn(f func() client.PrismClient) *MockClientPrismCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockClientPrismCall) Return

Return rewrite *gomock.Call.Return

type MockClusterClient

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

MockClusterClient is a mock of ClusterClient interface.

func NewMockClusterClient

func NewMockClusterClient(ctrl *gomock.Controller) *MockClusterClient

NewMockClusterClient creates a new mock instance.

func (*MockClusterClient) EXPECT

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

func (*MockClusterClient) GetCluster

func (m *MockClusterClient) GetCluster(arg0 string) (*client.Cluster, error)

GetCluster mocks base method.

type MockClusterClientGetClusterCall

type MockClusterClientGetClusterCall struct {
	*gomock.Call
}

MockClusterClientGetClusterCall wrap *gomock.Call

func (*MockClusterClientGetClusterCall) Do

Do rewrite *gomock.Call.Do

func (*MockClusterClientGetClusterCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockClusterClientGetClusterCall) Return

Return rewrite *gomock.Call.Return

type MockClusterClientMockRecorder

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

MockClusterClientMockRecorder is the mock recorder for MockClusterClient.

func (*MockClusterClientMockRecorder) GetCluster

GetCluster indicates an expected call of GetCluster.

type MockNetworkingClient

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

MockNetworkingClient is a mock of NetworkingClient interface.

func NewMockNetworkingClient

func NewMockNetworkingClient(ctrl *gomock.Controller) *MockNetworkingClient

NewMockNetworkingClient creates a new mock instance.

func (*MockNetworkingClient) EXPECT

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

func (*MockNetworkingClient) GetSubnet

func (m *MockNetworkingClient) GetSubnet(arg0 string, arg1 client.GetSubnetOpts) (*client.Subnet, error)

GetSubnet mocks base method.

func (*MockNetworkingClient) ReserveIPs added in v0.3.0

ReserveIPs mocks base method.

func (*MockNetworkingClient) UnreserveIPs added in v0.3.0

UnreserveIPs mocks base method.

type MockNetworkingClientGetSubnetCall

type MockNetworkingClientGetSubnetCall struct {
	*gomock.Call
}

MockNetworkingClientGetSubnetCall wrap *gomock.Call

func (*MockNetworkingClientGetSubnetCall) Do

Do rewrite *gomock.Call.Do

func (*MockNetworkingClientGetSubnetCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockNetworkingClientGetSubnetCall) Return

Return rewrite *gomock.Call.Return

type MockNetworkingClientMockRecorder

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

MockNetworkingClientMockRecorder is the mock recorder for MockNetworkingClient.

func (*MockNetworkingClientMockRecorder) GetSubnet

GetSubnet indicates an expected call of GetSubnet.

func (*MockNetworkingClientMockRecorder) ReserveIPs added in v0.3.0

ReserveIPs indicates an expected call of ReserveIPs.

func (*MockNetworkingClientMockRecorder) UnreserveIPs added in v0.3.0

UnreserveIPs indicates an expected call of UnreserveIPs.

type MockNetworkingClientReserveIPsCall added in v0.3.0

type MockNetworkingClientReserveIPsCall struct {
	*gomock.Call
}

MockNetworkingClientReserveIPsCall wrap *gomock.Call

func (*MockNetworkingClientReserveIPsCall) Do added in v0.3.0

Do rewrite *gomock.Call.Do

func (*MockNetworkingClientReserveIPsCall) DoAndReturn added in v0.3.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockNetworkingClientReserveIPsCall) Return added in v0.3.0

Return rewrite *gomock.Call.Return

type MockNetworkingClientUnreserveIPsCall added in v0.3.0

type MockNetworkingClientUnreserveIPsCall struct {
	*gomock.Call
}

MockNetworkingClientUnreserveIPsCall wrap *gomock.Call

func (*MockNetworkingClientUnreserveIPsCall) Do added in v0.3.0

Do rewrite *gomock.Call.Do

func (*MockNetworkingClientUnreserveIPsCall) DoAndReturn added in v0.3.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockNetworkingClientUnreserveIPsCall) Return added in v0.3.0

Return rewrite *gomock.Call.Return

type MockPrismClient

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

MockPrismClient is a mock of PrismClient interface.

func NewMockPrismClient

func NewMockPrismClient(ctrl *gomock.Controller) *MockPrismClient

NewMockPrismClient creates a new mock instance.

func (*MockPrismClient) EXPECT

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

func (*MockPrismClient) GetTaskData added in v0.2.0

func (m *MockPrismClient) GetTaskData(arg0 string) ([]config.KVPair, error)

GetTaskData mocks base method.

type MockPrismClientGetTaskDataCall added in v0.2.0

type MockPrismClientGetTaskDataCall struct {
	*gomock.Call
}

MockPrismClientGetTaskDataCall wrap *gomock.Call

func (*MockPrismClientGetTaskDataCall) Do added in v0.2.0

Do rewrite *gomock.Call.Do

func (*MockPrismClientGetTaskDataCall) DoAndReturn added in v0.2.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPrismClientGetTaskDataCall) Return added in v0.2.0

Return rewrite *gomock.Call.Return

type MockPrismClientMockRecorder

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

MockPrismClientMockRecorder is the mock recorder for MockPrismClient.

func (*MockPrismClientMockRecorder) GetTaskData added in v0.2.0

GetTaskData indicates an expected call of GetTaskData.

Jump to

Keyboard shortcuts

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