Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockTFPluginClientInterface
- func (m *MockTFPluginClientInterface) CancelByProjectName(projectName string) error
- func (m *MockTFPluginClientInterface) DeployDeployment(ctx context.Context, dl *workloads.Deployment) error
- func (m *MockTFPluginClientInterface) DeployGatewayName(ctx context.Context, gw *workloads.GatewayNameProxy) error
- func (m *MockTFPluginClientInterface) DeployNetwork(ctx context.Context, znet *workloads.ZNet) error
- func (m *MockTFPluginClientInterface) EXPECT() *MockTFPluginClientInterfaceMockRecorder
- func (m *MockTFPluginClientInterface) GetAvailableNode(ctx context.Context, options types.NodeFilter, rootfs uint64) (uint32, error)
- func (m *MockTFPluginClientInterface) GetGridNetwork() string
- func (m *MockTFPluginClientInterface) ListContractsOfProjectName(projectName string) (graphql.Contracts, error)
- func (m *MockTFPluginClientInterface) LoadGatewayNameFromGrid(ctx context.Context, nodeID uint32, name, deploymentName string) (workloads.GatewayNameProxy, error)
- func (m *MockTFPluginClientInterface) LoadVMFromGrid(ctx context.Context, nodeID uint32, name, deploymentName string) (workloads.VM, error)
- func (m *MockTFPluginClientInterface) SetState(nodeID uint32, contractIDs []uint64)
- type MockTFPluginClientInterfaceMockRecorder
- func (mr *MockTFPluginClientInterfaceMockRecorder) CancelByProjectName(projectName interface{}) *gomock.Call
- func (mr *MockTFPluginClientInterfaceMockRecorder) DeployDeployment(ctx, dl interface{}) *gomock.Call
- func (mr *MockTFPluginClientInterfaceMockRecorder) DeployGatewayName(ctx, gw interface{}) *gomock.Call
- func (mr *MockTFPluginClientInterfaceMockRecorder) DeployNetwork(ctx, znet interface{}) *gomock.Call
- func (mr *MockTFPluginClientInterfaceMockRecorder) GetAvailableNode(ctx, options, rootfs interface{}) *gomock.Call
- func (mr *MockTFPluginClientInterfaceMockRecorder) GetGridNetwork() *gomock.Call
- func (mr *MockTFPluginClientInterfaceMockRecorder) ListContractsOfProjectName(projectName interface{}) *gomock.Call
- func (mr *MockTFPluginClientInterfaceMockRecorder) LoadGatewayNameFromGrid(ctx context.Context, nodeID, name, deploymentName interface{}) *gomock.Call
- func (mr *MockTFPluginClientInterfaceMockRecorder) LoadVMFromGrid(ctx context.Context, nodeID, name, deploymentName interface{}) *gomock.Call
- func (mr *MockTFPluginClientInterfaceMockRecorder) SetState(nodeID, contractIDs interface{}) *gomock.Call
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 ¶
func (m *MockTFPluginClientInterface) DeployGatewayName(ctx context.Context, gw *workloads.GatewayNameProxy) error
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 ¶
func (m *MockTFPluginClientInterface) EXPECT() *MockTFPluginClientInterfaceMockRecorder
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.