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