Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockProviderKubectlClient
- func (m *MockProviderKubectlClient) ApplyHardware(arg0 context.Context, arg1, arg2 string) error
- func (m *MockProviderKubectlClient) DeleteEksaDatacenterConfig(arg0 context.Context, arg1, arg2, arg3, arg4 string) error
- func (m *MockProviderKubectlClient) DeleteEksaMachineConfig(arg0 context.Context, arg1, arg2, arg3, arg4 string) error
- func (m *MockProviderKubectlClient) EXPECT() *MockProviderKubectlClientMockRecorder
- func (m *MockProviderKubectlClient) GetMachineDeployment(arg0 context.Context, arg1 string, arg2 ...executables.KubectlOpt) (*v1beta1.MachineDeployment, error)
- type MockProviderKubectlClientMockRecorder
- func (mr *MockProviderKubectlClientMockRecorder) ApplyHardware(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockProviderKubectlClientMockRecorder) DeleteEksaDatacenterConfig(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockProviderKubectlClientMockRecorder) DeleteEksaMachineConfig(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockProviderKubectlClientMockRecorder) GetMachineDeployment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockProviderPbnjClient
- type MockProviderPbnjClientMockRecorder
- type MockProviderTinkClient
- type MockProviderTinkClientMockRecorder
- type MockSSHAuthKeyGenerator
- type MockSSHAuthKeyGeneratorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProviderKubectlClient ¶
type MockProviderKubectlClient struct {
// contains filtered or unexported fields
}
MockProviderKubectlClient is a mock of ProviderKubectlClient interface.
func NewMockProviderKubectlClient ¶
func NewMockProviderKubectlClient(ctrl *gomock.Controller) *MockProviderKubectlClient
NewMockProviderKubectlClient creates a new mock instance.
func (*MockProviderKubectlClient) ApplyHardware ¶
func (m *MockProviderKubectlClient) ApplyHardware(arg0 context.Context, arg1, arg2 string) error
ApplyHardware mocks base method.
func (*MockProviderKubectlClient) DeleteEksaDatacenterConfig ¶
func (m *MockProviderKubectlClient) DeleteEksaDatacenterConfig(arg0 context.Context, arg1, arg2, arg3, arg4 string) error
DeleteEksaDatacenterConfig mocks base method.
func (*MockProviderKubectlClient) DeleteEksaMachineConfig ¶
func (m *MockProviderKubectlClient) DeleteEksaMachineConfig(arg0 context.Context, arg1, arg2, arg3, arg4 string) error
DeleteEksaMachineConfig mocks base method.
func (*MockProviderKubectlClient) EXPECT ¶
func (m *MockProviderKubectlClient) EXPECT() *MockProviderKubectlClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProviderKubectlClient) GetMachineDeployment ¶ added in v0.7.1
func (m *MockProviderKubectlClient) GetMachineDeployment(arg0 context.Context, arg1 string, arg2 ...executables.KubectlOpt) (*v1beta1.MachineDeployment, error)
GetMachineDeployment mocks base method.
type MockProviderKubectlClientMockRecorder ¶
type MockProviderKubectlClientMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderKubectlClientMockRecorder is the mock recorder for MockProviderKubectlClient.
func (*MockProviderKubectlClientMockRecorder) ApplyHardware ¶
func (mr *MockProviderKubectlClientMockRecorder) ApplyHardware(arg0, arg1, arg2 interface{}) *gomock.Call
ApplyHardware indicates an expected call of ApplyHardware.
func (*MockProviderKubectlClientMockRecorder) DeleteEksaDatacenterConfig ¶
func (mr *MockProviderKubectlClientMockRecorder) DeleteEksaDatacenterConfig(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
DeleteEksaDatacenterConfig indicates an expected call of DeleteEksaDatacenterConfig.
func (*MockProviderKubectlClientMockRecorder) DeleteEksaMachineConfig ¶
func (mr *MockProviderKubectlClientMockRecorder) DeleteEksaMachineConfig(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
DeleteEksaMachineConfig indicates an expected call of DeleteEksaMachineConfig.
func (*MockProviderKubectlClientMockRecorder) GetMachineDeployment ¶ added in v0.7.1
func (mr *MockProviderKubectlClientMockRecorder) GetMachineDeployment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetMachineDeployment indicates an expected call of GetMachineDeployment.
type MockProviderPbnjClient ¶ added in v0.8.0
type MockProviderPbnjClient struct {
// contains filtered or unexported fields
}
MockProviderPbnjClient is a mock of ProviderPbnjClient interface.
func NewMockProviderPbnjClient ¶ added in v0.8.0
func NewMockProviderPbnjClient(ctrl *gomock.Controller) *MockProviderPbnjClient
NewMockProviderPbnjClient creates a new mock instance.
func (*MockProviderPbnjClient) EXPECT ¶ added in v0.8.0
func (m *MockProviderPbnjClient) EXPECT() *MockProviderPbnjClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProviderPbnjClient) GetPowerState ¶ added in v0.8.0
func (m *MockProviderPbnjClient) GetPowerState(arg0 context.Context, arg1 pbnj.BmcSecretConfig) (pbnj.PowerState, error)
GetPowerState mocks base method.
type MockProviderPbnjClientMockRecorder ¶ added in v0.8.0
type MockProviderPbnjClientMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderPbnjClientMockRecorder is the mock recorder for MockProviderPbnjClient.
func (*MockProviderPbnjClientMockRecorder) GetPowerState ¶ added in v0.8.0
func (mr *MockProviderPbnjClientMockRecorder) GetPowerState(arg0, arg1 interface{}) *gomock.Call
GetPowerState indicates an expected call of GetPowerState.
type MockProviderTinkClient ¶ added in v0.8.0
type MockProviderTinkClient struct {
// contains filtered or unexported fields
}
MockProviderTinkClient is a mock of ProviderTinkClient interface.
func NewMockProviderTinkClient ¶ added in v0.8.0
func NewMockProviderTinkClient(ctrl *gomock.Controller) *MockProviderTinkClient
NewMockProviderTinkClient creates a new mock instance.
func (*MockProviderTinkClient) EXPECT ¶ added in v0.8.0
func (m *MockProviderTinkClient) EXPECT() *MockProviderTinkClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProviderTinkClient) GetHardware ¶ added in v0.8.0
GetHardware mocks base method.
func (*MockProviderTinkClient) GetWorkflow ¶ added in v0.8.0
GetWorkflow mocks base method.
type MockProviderTinkClientMockRecorder ¶ added in v0.8.0
type MockProviderTinkClientMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderTinkClientMockRecorder is the mock recorder for MockProviderTinkClient.
func (*MockProviderTinkClientMockRecorder) GetHardware ¶ added in v0.8.0
func (mr *MockProviderTinkClientMockRecorder) GetHardware(arg0 interface{}) *gomock.Call
GetHardware indicates an expected call of GetHardware.
func (*MockProviderTinkClientMockRecorder) GetWorkflow ¶ added in v0.8.0
func (mr *MockProviderTinkClientMockRecorder) GetWorkflow(arg0 interface{}) *gomock.Call
GetWorkflow indicates an expected call of GetWorkflow.
type MockSSHAuthKeyGenerator ¶ added in v0.8.0
type MockSSHAuthKeyGenerator struct {
// contains filtered or unexported fields
}
MockSSHAuthKeyGenerator is a mock of SSHAuthKeyGenerator interface.
func NewMockSSHAuthKeyGenerator ¶ added in v0.8.0
func NewMockSSHAuthKeyGenerator(ctrl *gomock.Controller) *MockSSHAuthKeyGenerator
NewMockSSHAuthKeyGenerator creates a new mock instance.
func (*MockSSHAuthKeyGenerator) EXPECT ¶ added in v0.8.0
func (m *MockSSHAuthKeyGenerator) EXPECT() *MockSSHAuthKeyGeneratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSSHAuthKeyGenerator) GenerateSSHAuthKey ¶ added in v0.8.0
func (m *MockSSHAuthKeyGenerator) GenerateSSHAuthKey(arg0 filewriter.FileWriter) (string, error)
GenerateSSHAuthKey mocks base method.
type MockSSHAuthKeyGeneratorMockRecorder ¶ added in v0.8.0
type MockSSHAuthKeyGeneratorMockRecorder struct {
// contains filtered or unexported fields
}
MockSSHAuthKeyGeneratorMockRecorder is the mock recorder for MockSSHAuthKeyGenerator.
func (*MockSSHAuthKeyGeneratorMockRecorder) GenerateSSHAuthKey ¶ added in v0.8.0
func (mr *MockSSHAuthKeyGeneratorMockRecorder) GenerateSSHAuthKey(arg0 interface{}) *gomock.Call
GenerateSSHAuthKey indicates an expected call of GenerateSSHAuthKey.