Documentation ¶
Overview ¶
Package mock_kubevirt is a generated GoMock package.
Index ¶
- type MockMachineFactory
- type MockMachineFactoryMockRecorder
- type MockMachineInterface
- func (m *MockMachineInterface) Address() string
- func (m *MockMachineInterface) Create(ctx context.Context) error
- func (m *MockMachineInterface) Delete() error
- func (m *MockMachineInterface) DrainNodeIfNeeded(arg0 workloadcluster.WorkloadCluster) (time.Duration, error)
- func (m *MockMachineInterface) EXPECT() *MockMachineInterfaceMockRecorder
- func (m *MockMachineInterface) Exists() bool
- func (m *MockMachineInterface) GenerateProviderID() (string, error)
- func (m *MockMachineInterface) IsBootstrapped() bool
- func (m *MockMachineInterface) IsReady() bool
- func (m *MockMachineInterface) IsTerminal() (bool, string, error)
- func (m *MockMachineInterface) SupportsCheckingIsBootstrapped() bool
- type MockMachineInterfaceMockRecorder
- func (mr *MockMachineInterfaceMockRecorder) Address() *gomock.Call
- func (mr *MockMachineInterfaceMockRecorder) Create(ctx interface{}) *gomock.Call
- func (mr *MockMachineInterfaceMockRecorder) Delete() *gomock.Call
- func (mr *MockMachineInterfaceMockRecorder) DrainNodeIfNeeded(arg0 interface{}) *gomock.Call
- func (mr *MockMachineInterfaceMockRecorder) Exists() *gomock.Call
- func (mr *MockMachineInterfaceMockRecorder) GenerateProviderID() *gomock.Call
- func (mr *MockMachineInterfaceMockRecorder) IsBootstrapped() *gomock.Call
- func (mr *MockMachineInterfaceMockRecorder) IsReady() *gomock.Call
- func (mr *MockMachineInterfaceMockRecorder) IsTerminal() *gomock.Call
- func (mr *MockMachineInterfaceMockRecorder) SupportsCheckingIsBootstrapped() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMachineFactory ¶
type MockMachineFactory struct {
// contains filtered or unexported fields
}
MockMachineFactory is a mock of MachineFactory interface.
func NewMockMachineFactory ¶
func NewMockMachineFactory(ctrl *gomock.Controller) *MockMachineFactory
NewMockMachineFactory creates a new mock instance.
func (*MockMachineFactory) EXPECT ¶
func (m *MockMachineFactory) EXPECT() *MockMachineFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMachineFactory) NewMachine ¶
func (m *MockMachineFactory) NewMachine(ctx *context0.MachineContext, client client.Client, namespace string, sshKeys *ssh.ClusterNodeSshKeys) (kubevirt.MachineInterface, error)
NewMachine mocks base method.
type MockMachineFactoryMockRecorder ¶
type MockMachineFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockMachineFactoryMockRecorder is the mock recorder for MockMachineFactory.
func (*MockMachineFactoryMockRecorder) NewMachine ¶
func (mr *MockMachineFactoryMockRecorder) NewMachine(ctx, client, namespace, sshKeys interface{}) *gomock.Call
NewMachine indicates an expected call of NewMachine.
type MockMachineInterface ¶
type MockMachineInterface struct {
// contains filtered or unexported fields
}
MockMachineInterface is a mock of MachineInterface interface.
func NewMockMachineInterface ¶
func NewMockMachineInterface(ctrl *gomock.Controller) *MockMachineInterface
NewMockMachineInterface creates a new mock instance.
func (*MockMachineInterface) Address ¶
func (m *MockMachineInterface) Address() string
Address mocks base method.
func (*MockMachineInterface) Create ¶
func (m *MockMachineInterface) Create(ctx context.Context) error
Create mocks base method.
func (*MockMachineInterface) Delete ¶
func (m *MockMachineInterface) Delete() error
Delete mocks base method.
func (*MockMachineInterface) DrainNodeIfNeeded ¶ added in v0.1.8
func (m *MockMachineInterface) DrainNodeIfNeeded(arg0 workloadcluster.WorkloadCluster) (time.Duration, error)
DrainNodeIfNeeded mocks base method.
func (*MockMachineInterface) EXPECT ¶
func (m *MockMachineInterface) EXPECT() *MockMachineInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMachineInterface) Exists ¶
func (m *MockMachineInterface) Exists() bool
Exists mocks base method.
func (*MockMachineInterface) GenerateProviderID ¶
func (m *MockMachineInterface) GenerateProviderID() (string, error)
GenerateProviderID mocks base method.
func (*MockMachineInterface) IsBootstrapped ¶
func (m *MockMachineInterface) IsBootstrapped() bool
IsBootstrapped mocks base method.
func (*MockMachineInterface) IsReady ¶
func (m *MockMachineInterface) IsReady() bool
IsReady mocks base method.
func (*MockMachineInterface) IsTerminal ¶
func (m *MockMachineInterface) IsTerminal() (bool, string, error)
IsTerminal mocks base method.
func (*MockMachineInterface) SupportsCheckingIsBootstrapped ¶
func (m *MockMachineInterface) SupportsCheckingIsBootstrapped() bool
SupportsCheckingIsBootstrapped mocks base method.
type MockMachineInterfaceMockRecorder ¶
type MockMachineInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockMachineInterfaceMockRecorder is the mock recorder for MockMachineInterface.
func (*MockMachineInterfaceMockRecorder) Address ¶
func (mr *MockMachineInterfaceMockRecorder) Address() *gomock.Call
Address indicates an expected call of Address.
func (*MockMachineInterfaceMockRecorder) Create ¶
func (mr *MockMachineInterfaceMockRecorder) Create(ctx interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockMachineInterfaceMockRecorder) Delete ¶
func (mr *MockMachineInterfaceMockRecorder) Delete() *gomock.Call
Delete indicates an expected call of Delete.
func (*MockMachineInterfaceMockRecorder) DrainNodeIfNeeded ¶ added in v0.1.8
func (mr *MockMachineInterfaceMockRecorder) DrainNodeIfNeeded(arg0 interface{}) *gomock.Call
DrainNodeIfNeeded indicates an expected call of DrainNodeIfNeeded.
func (*MockMachineInterfaceMockRecorder) Exists ¶
func (mr *MockMachineInterfaceMockRecorder) Exists() *gomock.Call
Exists indicates an expected call of Exists.
func (*MockMachineInterfaceMockRecorder) GenerateProviderID ¶
func (mr *MockMachineInterfaceMockRecorder) GenerateProviderID() *gomock.Call
GenerateProviderID indicates an expected call of GenerateProviderID.
func (*MockMachineInterfaceMockRecorder) IsBootstrapped ¶
func (mr *MockMachineInterfaceMockRecorder) IsBootstrapped() *gomock.Call
IsBootstrapped indicates an expected call of IsBootstrapped.
func (*MockMachineInterfaceMockRecorder) IsReady ¶
func (mr *MockMachineInterfaceMockRecorder) IsReady() *gomock.Call
IsReady indicates an expected call of IsReady.
func (*MockMachineInterfaceMockRecorder) IsTerminal ¶
func (mr *MockMachineInterfaceMockRecorder) IsTerminal() *gomock.Call
IsTerminal indicates an expected call of IsTerminal.
func (*MockMachineInterfaceMockRecorder) SupportsCheckingIsBootstrapped ¶
func (mr *MockMachineInterfaceMockRecorder) SupportsCheckingIsBootstrapped() *gomock.Call
SupportsCheckingIsBootstrapped indicates an expected call of SupportsCheckingIsBootstrapped.