mockclient

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: Apache-2.0 Imports: 6 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.ReserveIPOpts) (*client.Subnet, error)

GetSubnet mocks base method.

func (*MockNetworkingClient) ReserveIP

func (m *MockNetworkingClient) ReserveIP(arg0 context.Context, arg1 string, arg2 client.ReserveIPOpts) (net.IP, error)

ReserveIP mocks base method.

func (*MockNetworkingClient) UnreserveIP

func (m *MockNetworkingClient) UnreserveIP(arg0 context.Context, arg1 net.IP, arg2 string, arg3 client.ReserveIPOpts) error

UnreserveIP 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) ReserveIP

ReserveIP indicates an expected call of ReserveIP.

func (*MockNetworkingClientMockRecorder) UnreserveIP

func (mr *MockNetworkingClientMockRecorder) UnreserveIP(arg0, arg1, arg2, arg3 any) *MockNetworkingClientUnreserveIPCall

UnreserveIP indicates an expected call of UnreserveIP.

type MockNetworkingClientReserveIPCall

type MockNetworkingClientReserveIPCall struct {
	*gomock.Call
}

MockNetworkingClientReserveIPCall wrap *gomock.Call

func (*MockNetworkingClientReserveIPCall) Do

Do rewrite *gomock.Call.Do

func (*MockNetworkingClientReserveIPCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockNetworkingClientReserveIPCall) Return

Return rewrite *gomock.Call.Return

type MockNetworkingClientUnreserveIPCall

type MockNetworkingClientUnreserveIPCall struct {
	*gomock.Call
}

MockNetworkingClientUnreserveIPCall wrap *gomock.Call

func (*MockNetworkingClientUnreserveIPCall) Do

Do rewrite *gomock.Call.Do

func (*MockNetworkingClientUnreserveIPCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockNetworkingClientUnreserveIPCall) Return

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

func (m *MockPrismClient) WaitForTaskCompletion(arg0 context.Context, arg1 string, arg2 client.WaitForTaskCompletionOpts) ([]config.KVPair, error)

WaitForTaskCompletion mocks base method.

type MockPrismClientMockRecorder

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

MockPrismClientMockRecorder is the mock recorder for MockPrismClient.

func (*MockPrismClientMockRecorder) WaitForTaskCompletion

func (mr *MockPrismClientMockRecorder) WaitForTaskCompletion(arg0, arg1, arg2 any) *MockPrismClientWaitForTaskCompletionCall

WaitForTaskCompletion indicates an expected call of WaitForTaskCompletion.

type MockPrismClientWaitForTaskCompletionCall

type MockPrismClientWaitForTaskCompletionCall struct {
	*gomock.Call
}

MockPrismClientWaitForTaskCompletionCall wrap *gomock.Call

func (*MockPrismClientWaitForTaskCompletionCall) Do

Do rewrite *gomock.Call.Do

func (*MockPrismClientWaitForTaskCompletionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockPrismClientWaitForTaskCompletionCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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