Documentation
¶
Overview ¶
Package mock_kubeclient is a generated GoMock package.
Index ¶
- type MockKubeclient
- func (m *MockKubeclient) DeleteMaster(arg0 kubeclient.ComputerName) error
- func (m *MockKubeclient) DrainAndDeleteWorker(arg0 context.Context, arg1 kubeclient.ComputerName) error
- func (m *MockKubeclient) EXPECT() *MockKubeclientMockRecorder
- func (m *MockKubeclient) GetControlPlanePods(arg0 context.Context) ([]v1.Pod, error)
- func (m *MockKubeclient) WaitForInfraServices(arg0 context.Context) *api.PluginError
- func (m *MockKubeclient) WaitForReadyMaster(arg0 context.Context, arg1 kubeclient.ComputerName) error
- func (m *MockKubeclient) WaitForReadyWorker(arg0 context.Context, arg1 kubeclient.ComputerName) error
- type MockKubeclientMockRecorder
- func (mr *MockKubeclientMockRecorder) DeleteMaster(arg0 interface{}) *gomock.Call
- func (mr *MockKubeclientMockRecorder) DrainAndDeleteWorker(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKubeclientMockRecorder) GetControlPlanePods(arg0 interface{}) *gomock.Call
- func (mr *MockKubeclientMockRecorder) WaitForInfraServices(arg0 interface{}) *gomock.Call
- func (mr *MockKubeclientMockRecorder) WaitForReadyMaster(arg0, arg1 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) DeleteMaster ¶
func (m *MockKubeclient) DeleteMaster(arg0 kubeclient.ComputerName) error
DeleteMaster mocks base method
func (*MockKubeclient) DrainAndDeleteWorker ¶
func (m *MockKubeclient) DrainAndDeleteWorker(arg0 context.Context, arg1 kubeclient.ComputerName) 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) GetControlPlanePods ¶
GetControlPlanePods mocks base method
func (*MockKubeclient) WaitForInfraServices ¶
func (m *MockKubeclient) WaitForInfraServices(arg0 context.Context) *api.PluginError
WaitForInfraServices mocks base method
func (*MockKubeclient) WaitForReadyMaster ¶
func (m *MockKubeclient) WaitForReadyMaster(arg0 context.Context, arg1 kubeclient.ComputerName) error
WaitForReadyMaster mocks base method
func (*MockKubeclient) WaitForReadyWorker ¶
func (m *MockKubeclient) WaitForReadyWorker(arg0 context.Context, arg1 kubeclient.ComputerName) error
WaitForReadyWorker mocks base method
type MockKubeclientMockRecorder ¶
type MockKubeclientMockRecorder struct {
// contains filtered or unexported fields
}
MockKubeclientMockRecorder is the mock recorder for MockKubeclient
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) GetControlPlanePods ¶
func (mr *MockKubeclientMockRecorder) GetControlPlanePods(arg0 interface{}) *gomock.Call
GetControlPlanePods indicates an expected call of GetControlPlanePods
func (*MockKubeclientMockRecorder) WaitForInfraServices ¶
func (mr *MockKubeclientMockRecorder) WaitForInfraServices(arg0 interface{}) *gomock.Call
WaitForInfraServices indicates an expected call of WaitForInfraServices
func (*MockKubeclientMockRecorder) WaitForReadyMaster ¶
func (mr *MockKubeclientMockRecorder) WaitForReadyMaster(arg0, arg1 interface{}) *gomock.Call
WaitForReadyMaster indicates an expected call of WaitForReadyMaster
func (*MockKubeclientMockRecorder) WaitForReadyWorker ¶
func (mr *MockKubeclientMockRecorder) WaitForReadyWorker(arg0, arg1 interface{}) *gomock.Call
WaitForReadyWorker indicates an expected call of WaitForReadyWorker