Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockTFPluginClientInterface
- func (m *MockTFPluginClientInterface) CancelContract(contractID uint64) 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) FilterNodes(filter types.NodeFilter, pagination types.Limit) ([]types.Node, int, error)
- func (m *MockTFPluginClientInterface) GetDeployment(nodeID uint32, contractID uint64) (gridtypes.Deployment, error)
- func (m *MockTFPluginClientInterface) GetGridNetwork() string
- func (m *MockTFPluginClientInterface) ListContractsOfProjectName(projectName string) (graphql.Contracts, error)
- func (m *MockTFPluginClientInterface) LoadGatewayNameFromGrid(nodeID uint32, name, deploymentName string) (workloads.GatewayNameProxy, error)
- func (m *MockTFPluginClientInterface) LoadVMFromGrid(nodeID uint32, name, deploymentName string) (workloads.VM, error)
- type MockTFPluginClientInterfaceMockRecorder
- func (mr *MockTFPluginClientInterfaceMockRecorder) CancelContract(contractID 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) FilterNodes(filter, pagination interface{}) *gomock.Call
- func (mr *MockTFPluginClientInterfaceMockRecorder) GetDeployment(nodeID, contractID interface{}) *gomock.Call
- func (mr *MockTFPluginClientInterfaceMockRecorder) GetGridNetwork() *gomock.Call
- func (mr *MockTFPluginClientInterfaceMockRecorder) ListContractsOfProjectName(projectName interface{}) *gomock.Call
- func (mr *MockTFPluginClientInterfaceMockRecorder) LoadGatewayNameFromGrid(nodeID, name, deploymentName interface{}) *gomock.Call
- func (mr *MockTFPluginClientInterfaceMockRecorder) LoadVMFromGrid(nodeID, name, deploymentName 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) 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 ¶
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) 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.