mocks

package
v0.0.0-...-818b14e Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: Apache-2.0 Imports: 6 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) CancelByProjectName

func (m *MockTFPluginClientInterface) CancelByProjectName(projectName string) error

CancelByProjectName 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) GetAvailableNode

func (m *MockTFPluginClientInterface) GetAvailableNode(ctx context.Context, options types.NodeFilter, rootfs uint64) (uint32, error)

GetAvailableNode 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(ctx context.Context, nodeID uint32, name, deploymentName string) (workloads.GatewayNameProxy, error)

LoadGatewayNameFromGrid mocks base method.

func (*MockTFPluginClientInterface) LoadVMFromGrid

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

LoadVMFromGrid mocks base method.

func (*MockTFPluginClientInterface) SetState

func (m *MockTFPluginClientInterface) SetState(nodeID uint32, contractIDs []uint64)

SetState mocks base method.

type MockTFPluginClientInterfaceMockRecorder

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

MockTFPluginClientInterfaceMockRecorder is the mock recorder for MockTFPluginClientInterface.

func (*MockTFPluginClientInterfaceMockRecorder) CancelByProjectName

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

CancelByProjectName indicates an expected call of CancelByProjectName.

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

func (mr *MockTFPluginClientInterfaceMockRecorder) GetAvailableNode(ctx, options, rootfs interface{}) *gomock.Call

GetAvailableNode indicates an expected call of GetAvailableNode.

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(ctx context.Context, nodeID, name, deploymentName interface{}) *gomock.Call

LoadGatewayNameFromGrid indicates an expected call of LoadGatewayNameFromGrid.

func (*MockTFPluginClientInterfaceMockRecorder) LoadVMFromGrid

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

LoadVMFromGrid indicates an expected call of LoadVMFromGrid.

func (*MockTFPluginClientInterfaceMockRecorder) SetState

func (mr *MockTFPluginClientInterfaceMockRecorder) SetState(nodeID, contractIDs interface{}) *gomock.Call

SetState indicates an expected call of SetState.

Jump to

Keyboard shortcuts

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