mock_k8s

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_k8s is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClientInterface

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

MockClientInterface is a mock of ClientInterface interface

func NewMockClientInterface

func NewMockClientInterface(ctrl *gomock.Controller) *MockClientInterface

NewMockClientInterface creates a new mock instance

func (*MockClientInterface) DeletePod

func (m *MockClientInterface) DeletePod(pod *v1.Pod) error

DeletePod mocks base method

func (*MockClientInterface) EXPECT

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

func (*MockClientInterface) GetPods

func (m *MockClientInterface) GetPods(namespace string, options metav1.ListOptions) (*v1.PodList, error)

GetPods mocks base method

func (*MockClientInterface) NewSharedInformerFactory added in v1.2.0

func (m *MockClientInterface) NewSharedInformerFactory(ns string) (informers.SharedInformerFactory, error)

NewSharedInformerFactory mocks base method

type MockClientInterfaceMockRecorder

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

MockClientInterfaceMockRecorder is the mock recorder for MockClientInterface

func (*MockClientInterfaceMockRecorder) DeletePod

func (mr *MockClientInterfaceMockRecorder) DeletePod(pod interface{}) *gomock.Call

DeletePod indicates an expected call of DeletePod

func (*MockClientInterfaceMockRecorder) GetPods

func (mr *MockClientInterfaceMockRecorder) GetPods(namespace interface{}) *gomock.Call

GetPods indicates an expected call of GetPods

func (*MockClientInterfaceMockRecorder) NewSharedInformerFactory added in v1.2.0

func (mr *MockClientInterfaceMockRecorder) NewSharedInformerFactory(ns interface{}) *gomock.Call

NewSharedInformerFactory indicates an expected call of NewSharedInformerFactory

Jump to

Keyboard shortcuts

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