mocks

package
v1.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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 MockTFPluginClientInterface

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

MockTFPluginClientInterface is a mock of TFPluginClientInterface interface.

func NewMockTFPluginClientInterface

func NewMockTFPluginClientInterface(ctrl *gomock.Controller) *MockTFPluginClientInterface

NewMockTFPluginClientInterface creates a new mock instance.

func (*MockTFPluginClientInterface) CancelContract

func (m *MockTFPluginClientInterface) CancelContract(contractID uint64) error

CancelContract mocks base method.

func (*MockTFPluginClientInterface) DeployDeployment

func (m *MockTFPluginClientInterface) DeployDeployment(ctx context.Context, dl *workloads.Deployment) error

DeployDeployment mocks base method.

func (*MockTFPluginClientInterface) DeployGatewayName

DeployGatewayName mocks base method.

func (*MockTFPluginClientInterface) DeployNetwork

func (m *MockTFPluginClientInterface) DeployNetwork(ctx context.Context, znet *workloads.ZNet) error

DeployNetwork mocks base method.

func (*MockTFPluginClientInterface) EXPECT

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

func (*MockTFPluginClientInterface) FilterNodes

func (m *MockTFPluginClientInterface) FilterNodes(filter types.NodeFilter, pagination types.Limit) ([]types.Node, int, error)

FilterNodes mocks base method.

func (*MockTFPluginClientInterface) GetDeployment

func (m *MockTFPluginClientInterface) GetDeployment(nodeID uint32, contractID uint64) (gridtypes.Deployment, error)

GetDeployment mocks base method.

func (*MockTFPluginClientInterface) GetGridNetwork

func (m *MockTFPluginClientInterface) GetGridNetwork() string

GetGridNetwork mocks base method.

func (*MockTFPluginClientInterface) ListContractsOfProjectName

func (m *MockTFPluginClientInterface) ListContractsOfProjectName(projectName string) (graphql.Contracts, error)

ListContractsOfProjectName mocks base method.

func (*MockTFPluginClientInterface) LoadGatewayNameFromGrid

func (m *MockTFPluginClientInterface) LoadGatewayNameFromGrid(nodeID uint32, name, deploymentName string) (workloads.GatewayNameProxy, error)

LoadGatewayNameFromGrid mocks base method.

func (*MockTFPluginClientInterface) LoadVMFromGrid

func (m *MockTFPluginClientInterface) LoadVMFromGrid(nodeID uint32, name, deploymentName string) (workloads.VM, error)

LoadVMFromGrid mocks base method.

type MockTFPluginClientInterfaceMockRecorder

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

MockTFPluginClientInterfaceMockRecorder is the mock recorder for MockTFPluginClientInterface.

func (*MockTFPluginClientInterfaceMockRecorder) CancelContract

func (mr *MockTFPluginClientInterfaceMockRecorder) CancelContract(contractID interface{}) *gomock.Call

CancelContract indicates an expected call of CancelContract.

func (*MockTFPluginClientInterfaceMockRecorder) DeployDeployment

func (mr *MockTFPluginClientInterfaceMockRecorder) DeployDeployment(ctx, dl interface{}) *gomock.Call

DeployDeployment indicates an expected call of DeployDeployment.

func (*MockTFPluginClientInterfaceMockRecorder) DeployGatewayName

func (mr *MockTFPluginClientInterfaceMockRecorder) DeployGatewayName(ctx, gw interface{}) *gomock.Call

DeployGatewayName indicates an expected call of DeployGatewayName.

func (*MockTFPluginClientInterfaceMockRecorder) DeployNetwork

func (mr *MockTFPluginClientInterfaceMockRecorder) DeployNetwork(ctx, znet interface{}) *gomock.Call

DeployNetwork indicates an expected call of DeployNetwork.

func (*MockTFPluginClientInterfaceMockRecorder) FilterNodes

func (mr *MockTFPluginClientInterfaceMockRecorder) FilterNodes(filter, pagination interface{}) *gomock.Call

FilterNodes indicates an expected call of FilterNodes.

func (*MockTFPluginClientInterfaceMockRecorder) GetDeployment

func (mr *MockTFPluginClientInterfaceMockRecorder) GetDeployment(nodeID, contractID interface{}) *gomock.Call

GetDeployment indicates an expected call of GetDeployment.

func (*MockTFPluginClientInterfaceMockRecorder) GetGridNetwork

func (mr *MockTFPluginClientInterfaceMockRecorder) GetGridNetwork() *gomock.Call

GetGridNetwork indicates an expected call of GetGridNetwork.

func (*MockTFPluginClientInterfaceMockRecorder) ListContractsOfProjectName

func (mr *MockTFPluginClientInterfaceMockRecorder) ListContractsOfProjectName(projectName interface{}) *gomock.Call

ListContractsOfProjectName indicates an expected call of ListContractsOfProjectName.

func (*MockTFPluginClientInterfaceMockRecorder) LoadGatewayNameFromGrid

func (mr *MockTFPluginClientInterfaceMockRecorder) LoadGatewayNameFromGrid(nodeID, name, deploymentName interface{}) *gomock.Call

LoadGatewayNameFromGrid indicates an expected call of LoadGatewayNameFromGrid.

func (*MockTFPluginClientInterfaceMockRecorder) LoadVMFromGrid

func (mr *MockTFPluginClientInterfaceMockRecorder) LoadVMFromGrid(nodeID, name, deploymentName interface{}) *gomock.Call

LoadVMFromGrid indicates an expected call of LoadVMFromGrid.

Jump to

Keyboard shortcuts

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