mock_kubeclient

package
v3.2.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_kubeclient is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockKubeclient) EnsureSyncPod

func (m *MockKubeclient) EnsureSyncPod(arg0 context.Context, arg1 string, arg2 []byte) error

EnsureSyncPod mocks base method

func (*MockKubeclient) GetControlPlanePods

func (m *MockKubeclient) GetControlPlanePods(arg0 context.Context) ([]v1.Pod, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL