mock_pod

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mock_pod is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPodInterface

type MockPodInterface struct {
	// contains filtered or unexported fields
}

MockPodInterface is a mock of PodInterface interface

func NewMockPodInterface

func NewMockPodInterface(ctrl *gomock.Controller) *MockPodInterface

NewMockPodInterface creates a new mock instance

func (*MockPodInterface) Bind

func (m *MockPodInterface) Bind(arg0 context.Context, arg1 *v1.Binding, arg2 v10.CreateOptions) error

Bind mocks base method

func (*MockPodInterface) Create

func (m *MockPodInterface) Create(arg0 context.Context, arg1 *v1.Pod, arg2 v10.CreateOptions) (*v1.Pod, error)

Create mocks base method

func (*MockPodInterface) Delete

func (m *MockPodInterface) Delete(arg0 context.Context, arg1 string, arg2 v10.DeleteOptions) error

Delete mocks base method

func (*MockPodInterface) DeleteCollection

func (m *MockPodInterface) DeleteCollection(arg0 context.Context, arg1 v10.DeleteOptions, arg2 v10.ListOptions) error

DeleteCollection mocks base method

func (*MockPodInterface) EXPECT

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

func (*MockPodInterface) Evict

func (m *MockPodInterface) Evict(arg0 context.Context, arg1 *v1beta1.Eviction) error

Evict mocks base method

func (*MockPodInterface) Get

func (m *MockPodInterface) Get(arg0 context.Context, arg1 string, arg2 v10.GetOptions) (*v1.Pod, error)

Get mocks base method

func (*MockPodInterface) GetEphemeralContainers added in v0.11.0

func (m *MockPodInterface) GetEphemeralContainers(arg0 context.Context, arg1 string, arg2 v10.GetOptions) (*v1.EphemeralContainers, error)

GetEphemeralContainers mocks base method

func (*MockPodInterface) GetLogs

func (m *MockPodInterface) GetLogs(arg0 string, arg1 *v1.PodLogOptions) *rest.Request

GetLogs mocks base method

func (*MockPodInterface) List

func (m *MockPodInterface) List(arg0 context.Context, arg1 v10.ListOptions) (*v1.PodList, error)

List mocks base method

func (*MockPodInterface) Patch

func (m *MockPodInterface) Patch(arg0 context.Context, arg1 string, arg2 types.PatchType, arg3 []byte, arg4 v10.PatchOptions, arg5 ...string) (*v1.Pod, error)

Patch mocks base method

func (*MockPodInterface) Update

func (m *MockPodInterface) Update(arg0 context.Context, arg1 *v1.Pod, arg2 v10.UpdateOptions) (*v1.Pod, error)

Update mocks base method

func (*MockPodInterface) UpdateEphemeralContainers added in v0.11.0

func (m *MockPodInterface) UpdateEphemeralContainers(arg0 context.Context, arg1 string, arg2 *v1.EphemeralContainers, arg3 v10.UpdateOptions) (*v1.EphemeralContainers, error)

UpdateEphemeralContainers mocks base method

func (*MockPodInterface) UpdateStatus

func (m *MockPodInterface) UpdateStatus(arg0 context.Context, arg1 *v1.Pod, arg2 v10.UpdateOptions) (*v1.Pod, error)

UpdateStatus mocks base method

func (*MockPodInterface) Watch

Watch mocks base method

type MockPodInterfaceMockRecorder

type MockPodInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockPodInterfaceMockRecorder is the mock recorder for MockPodInterface

func (*MockPodInterfaceMockRecorder) Bind

func (mr *MockPodInterfaceMockRecorder) Bind(arg0, arg1, arg2 interface{}) *gomock.Call

Bind indicates an expected call of Bind

func (*MockPodInterfaceMockRecorder) Create

func (mr *MockPodInterfaceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockPodInterfaceMockRecorder) Delete

func (mr *MockPodInterfaceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockPodInterfaceMockRecorder) DeleteCollection

func (mr *MockPodInterfaceMockRecorder) DeleteCollection(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteCollection indicates an expected call of DeleteCollection

func (*MockPodInterfaceMockRecorder) Evict

func (mr *MockPodInterfaceMockRecorder) Evict(arg0, arg1 interface{}) *gomock.Call

Evict indicates an expected call of Evict

func (*MockPodInterfaceMockRecorder) Get

func (mr *MockPodInterfaceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockPodInterfaceMockRecorder) GetEphemeralContainers added in v0.11.0

func (mr *MockPodInterfaceMockRecorder) GetEphemeralContainers(arg0, arg1, arg2 interface{}) *gomock.Call

GetEphemeralContainers indicates an expected call of GetEphemeralContainers

func (*MockPodInterfaceMockRecorder) GetLogs

func (mr *MockPodInterfaceMockRecorder) GetLogs(arg0, arg1 interface{}) *gomock.Call

GetLogs indicates an expected call of GetLogs

func (*MockPodInterfaceMockRecorder) List

func (mr *MockPodInterfaceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockPodInterfaceMockRecorder) Patch

func (mr *MockPodInterfaceMockRecorder) Patch(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call

Patch indicates an expected call of Patch

func (*MockPodInterfaceMockRecorder) Update

func (mr *MockPodInterfaceMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update

func (*MockPodInterfaceMockRecorder) UpdateEphemeralContainers added in v0.11.0

func (mr *MockPodInterfaceMockRecorder) UpdateEphemeralContainers(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdateEphemeralContainers indicates an expected call of UpdateEphemeralContainers

func (*MockPodInterfaceMockRecorder) UpdateStatus

func (mr *MockPodInterfaceMockRecorder) UpdateStatus(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus

func (*MockPodInterfaceMockRecorder) Watch

func (mr *MockPodInterfaceMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call

Watch indicates an expected call of Watch

Jump to

Keyboard shortcuts

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