Documentation ¶
Overview ¶
Package mock_kubeclient is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) BackupCluster(arg0 context.Context, arg1 string) error
- func (m *MockInterface) DeleteMaster(arg0 string) error
- func (m *MockInterface) DrainAndDeleteWorker(arg0 context.Context, arg1 string) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) EnsureSyncPod(arg0 context.Context, arg1 string, arg2 []byte) error
- func (m *MockInterface) GetControlPlanePods(arg0 context.Context) ([]v1.Pod, error)
- func (m *MockInterface) WaitForReadyMaster(arg0 context.Context, arg1 string) error
- func (m *MockInterface) WaitForReadySyncPod(arg0 context.Context) error
- func (m *MockInterface) WaitForReadyWorker(arg0 context.Context, arg1 string) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) BackupCluster(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DeleteMaster(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DrainAndDeleteWorker(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) EnsureSyncPod(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetControlPlanePods(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) WaitForReadyMaster(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) WaitForReadySyncPod(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) WaitForReadyWorker(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance
func (*MockInterface) BackupCluster ¶
func (m *MockInterface) BackupCluster(arg0 context.Context, arg1 string) error
BackupCluster mocks base method
func (*MockInterface) DeleteMaster ¶
func (m *MockInterface) DeleteMaster(arg0 string) error
DeleteMaster mocks base method
func (*MockInterface) DrainAndDeleteWorker ¶
func (m *MockInterface) DrainAndDeleteWorker(arg0 context.Context, arg1 string) error
DrainAndDeleteWorker mocks base method
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockInterface) EnsureSyncPod ¶
EnsureSyncPod mocks base method
func (*MockInterface) GetControlPlanePods ¶
GetControlPlanePods mocks base method
func (*MockInterface) WaitForReadyMaster ¶
func (m *MockInterface) WaitForReadyMaster(arg0 context.Context, arg1 string) error
WaitForReadyMaster mocks base method
func (*MockInterface) WaitForReadySyncPod ¶
func (m *MockInterface) WaitForReadySyncPod(arg0 context.Context) error
WaitForReadySyncPod mocks base method
func (*MockInterface) WaitForReadyWorker ¶
func (m *MockInterface) WaitForReadyWorker(arg0 context.Context, arg1 string) error
WaitForReadyWorker mocks base method
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface
func (*MockInterfaceMockRecorder) BackupCluster ¶
func (mr *MockInterfaceMockRecorder) BackupCluster(arg0, arg1 interface{}) *gomock.Call
BackupCluster indicates an expected call of BackupCluster
func (*MockInterfaceMockRecorder) DeleteMaster ¶
func (mr *MockInterfaceMockRecorder) DeleteMaster(arg0 interface{}) *gomock.Call
DeleteMaster indicates an expected call of DeleteMaster
func (*MockInterfaceMockRecorder) DrainAndDeleteWorker ¶
func (mr *MockInterfaceMockRecorder) DrainAndDeleteWorker(arg0, arg1 interface{}) *gomock.Call
DrainAndDeleteWorker indicates an expected call of DrainAndDeleteWorker
func (*MockInterfaceMockRecorder) EnsureSyncPod ¶
func (mr *MockInterfaceMockRecorder) EnsureSyncPod(arg0, arg1, arg2 interface{}) *gomock.Call
EnsureSyncPod indicates an expected call of EnsureSyncPod
func (*MockInterfaceMockRecorder) GetControlPlanePods ¶
func (mr *MockInterfaceMockRecorder) GetControlPlanePods(arg0 interface{}) *gomock.Call
GetControlPlanePods indicates an expected call of GetControlPlanePods
func (*MockInterfaceMockRecorder) WaitForReadyMaster ¶
func (mr *MockInterfaceMockRecorder) WaitForReadyMaster(arg0, arg1 interface{}) *gomock.Call
WaitForReadyMaster indicates an expected call of WaitForReadyMaster
func (*MockInterfaceMockRecorder) WaitForReadySyncPod ¶
func (mr *MockInterfaceMockRecorder) WaitForReadySyncPod(arg0 interface{}) *gomock.Call
WaitForReadySyncPod indicates an expected call of WaitForReadySyncPod
func (*MockInterfaceMockRecorder) WaitForReadyWorker ¶
func (mr *MockInterfaceMockRecorder) WaitForReadyWorker(arg0, arg1 interface{}) *gomock.Call
WaitForReadyWorker indicates an expected call of WaitForReadyWorker