mock

package
v0.0.0-...-e3103ca Latest Latest
Warning

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

Go to latest
Published: May 21, 2023 License: MIT Imports: 70 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExitsWith

func ExitsWith(t *testing.T, code int, runnable func())

Types

type MockClientConfig

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

MockClientConfig is a mock of ClientConfig interface.

func NewMockClientConfig

func NewMockClientConfig(ctrl *gomock.Controller) *MockClientConfig

NewMockClientConfig creates a new mock instance.

func (*MockClientConfig) ClientConfig

func (m *MockClientConfig) ClientConfig() (*rest.Config, error)

ClientConfig mocks base method.

func (*MockClientConfig) ConfigAccess

func (m *MockClientConfig) ConfigAccess() clientcmd.ConfigAccess

ConfigAccess mocks base method.

func (*MockClientConfig) EXPECT

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

func (*MockClientConfig) Namespace

func (m *MockClientConfig) Namespace() (string, bool, error)

Namespace mocks base method.

func (*MockClientConfig) RawConfig

func (m *MockClientConfig) RawConfig() (api.Config, error)

RawConfig mocks base method.

type MockClientConfigMockRecorder

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

MockClientConfigMockRecorder is the mock recorder for MockClientConfig.

func (*MockClientConfigMockRecorder) ClientConfig

func (mr *MockClientConfigMockRecorder) ClientConfig() *gomock.Call

ClientConfig indicates an expected call of ClientConfig.

func (*MockClientConfigMockRecorder) ConfigAccess

func (mr *MockClientConfigMockRecorder) ConfigAccess() *gomock.Call

ConfigAccess indicates an expected call of ConfigAccess.

func (*MockClientConfigMockRecorder) Namespace

func (mr *MockClientConfigMockRecorder) Namespace() *gomock.Call

Namespace indicates an expected call of Namespace.

func (*MockClientConfigMockRecorder) RawConfig

func (mr *MockClientConfigMockRecorder) RawConfig() *gomock.Call

RawConfig indicates an expected call of RawConfig.

type MockInterface

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

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) AdmissionregistrationV1

func (m *MockInterface) AdmissionregistrationV1() v1.AdmissionregistrationV1Interface

AdmissionregistrationV1 mocks base method.

func (*MockInterface) AdmissionregistrationV1alpha1

func (m *MockInterface) AdmissionregistrationV1alpha1() v1alpha1.AdmissionregistrationV1alpha1Interface

AdmissionregistrationV1alpha1 mocks base method.

func (*MockInterface) AdmissionregistrationV1beta1

func (m *MockInterface) AdmissionregistrationV1beta1() v1beta1.AdmissionregistrationV1beta1Interface

AdmissionregistrationV1beta1 mocks base method.

func (*MockInterface) AppsV1

func (m *MockInterface) AppsV1() v10.AppsV1Interface

AppsV1 mocks base method.

func (*MockInterface) AppsV1beta1

func (m *MockInterface) AppsV1beta1() v1beta10.AppsV1beta1Interface

AppsV1beta1 mocks base method.

func (*MockInterface) AppsV1beta2

func (m *MockInterface) AppsV1beta2() v1beta2.AppsV1beta2Interface

AppsV1beta2 mocks base method.

func (*MockInterface) AuthenticationV1

func (m *MockInterface) AuthenticationV1() v11.AuthenticationV1Interface

AuthenticationV1 mocks base method.

func (*MockInterface) AuthenticationV1alpha1

func (m *MockInterface) AuthenticationV1alpha1() v1alpha11.AuthenticationV1alpha1Interface

AuthenticationV1alpha1 mocks base method.

func (*MockInterface) AuthenticationV1beta1

func (m *MockInterface) AuthenticationV1beta1() v1beta11.AuthenticationV1beta1Interface

AuthenticationV1beta1 mocks base method.

func (*MockInterface) AuthorizationV1

func (m *MockInterface) AuthorizationV1() v12.AuthorizationV1Interface

AuthorizationV1 mocks base method.

func (*MockInterface) AuthorizationV1beta1

func (m *MockInterface) AuthorizationV1beta1() v1beta12.AuthorizationV1beta1Interface

AuthorizationV1beta1 mocks base method.

func (*MockInterface) AutoscalingV1

func (m *MockInterface) AutoscalingV1() v13.AutoscalingV1Interface

AutoscalingV1 mocks base method.

func (*MockInterface) AutoscalingV2

func (m *MockInterface) AutoscalingV2() v2.AutoscalingV2Interface

AutoscalingV2 mocks base method.

func (*MockInterface) AutoscalingV2beta1

func (m *MockInterface) AutoscalingV2beta1() v2beta1.AutoscalingV2beta1Interface

AutoscalingV2beta1 mocks base method.

func (*MockInterface) AutoscalingV2beta2

func (m *MockInterface) AutoscalingV2beta2() v2beta2.AutoscalingV2beta2Interface

AutoscalingV2beta2 mocks base method.

func (*MockInterface) BatchV1

func (m *MockInterface) BatchV1() v14.BatchV1Interface

BatchV1 mocks base method.

func (*MockInterface) BatchV1beta1

func (m *MockInterface) BatchV1beta1() v1beta13.BatchV1beta1Interface

BatchV1beta1 mocks base method.

func (*MockInterface) CertificatesV1

func (m *MockInterface) CertificatesV1() v15.CertificatesV1Interface

CertificatesV1 mocks base method.

func (*MockInterface) CertificatesV1beta1

func (m *MockInterface) CertificatesV1beta1() v1beta14.CertificatesV1beta1Interface

CertificatesV1beta1 mocks base method.

func (*MockInterface) CoordinationV1

func (m *MockInterface) CoordinationV1() v16.CoordinationV1Interface

CoordinationV1 mocks base method.

func (*MockInterface) CoordinationV1beta1

func (m *MockInterface) CoordinationV1beta1() v1beta15.CoordinationV1beta1Interface

CoordinationV1beta1 mocks base method.

func (*MockInterface) CoreV1

func (m *MockInterface) CoreV1() v17.CoreV1Interface

CoreV1 mocks base method.

func (*MockInterface) Discovery

Discovery mocks base method.

func (*MockInterface) DiscoveryV1

func (m *MockInterface) DiscoveryV1() v18.DiscoveryV1Interface

DiscoveryV1 mocks base method.

func (*MockInterface) DiscoveryV1beta1

func (m *MockInterface) DiscoveryV1beta1() v1beta16.DiscoveryV1beta1Interface

DiscoveryV1beta1 mocks base method.

func (*MockInterface) EXPECT

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

func (*MockInterface) EventsV1

func (m *MockInterface) EventsV1() v19.EventsV1Interface

EventsV1 mocks base method.

func (*MockInterface) EventsV1beta1

func (m *MockInterface) EventsV1beta1() v1beta17.EventsV1beta1Interface

EventsV1beta1 mocks base method.

func (*MockInterface) ExtensionsV1beta1

func (m *MockInterface) ExtensionsV1beta1() v1beta18.ExtensionsV1beta1Interface

ExtensionsV1beta1 mocks base method.

func (*MockInterface) FlowcontrolV1alpha1

func (m *MockInterface) FlowcontrolV1alpha1() v1alpha12.FlowcontrolV1alpha1Interface

FlowcontrolV1alpha1 mocks base method.

func (*MockInterface) FlowcontrolV1beta1

func (m *MockInterface) FlowcontrolV1beta1() v1beta19.FlowcontrolV1beta1Interface

FlowcontrolV1beta1 mocks base method.

func (*MockInterface) FlowcontrolV1beta2

func (m *MockInterface) FlowcontrolV1beta2() v1beta20.FlowcontrolV1beta2Interface

FlowcontrolV1beta2 mocks base method.

func (*MockInterface) FlowcontrolV1beta3

func (m *MockInterface) FlowcontrolV1beta3() v1beta3.FlowcontrolV1beta3Interface

FlowcontrolV1beta3 mocks base method.

func (*MockInterface) InternalV1alpha1

func (m *MockInterface) InternalV1alpha1() v1alpha10.InternalV1alpha1Interface

InternalV1alpha1 mocks base method.

func (*MockInterface) NetworkingV1

func (m *MockInterface) NetworkingV1() v110.NetworkingV1Interface

NetworkingV1 mocks base method.

func (*MockInterface) NetworkingV1alpha1

func (m *MockInterface) NetworkingV1alpha1() v1alpha13.NetworkingV1alpha1Interface

NetworkingV1alpha1 mocks base method.

func (*MockInterface) NetworkingV1beta1

func (m *MockInterface) NetworkingV1beta1() v1beta110.NetworkingV1beta1Interface

NetworkingV1beta1 mocks base method.

func (*MockInterface) NodeV1

func (m *MockInterface) NodeV1() v111.NodeV1Interface

NodeV1 mocks base method.

func (*MockInterface) NodeV1alpha1

func (m *MockInterface) NodeV1alpha1() v1alpha14.NodeV1alpha1Interface

NodeV1alpha1 mocks base method.

func (*MockInterface) NodeV1beta1

func (m *MockInterface) NodeV1beta1() v1beta111.NodeV1beta1Interface

NodeV1beta1 mocks base method.

func (*MockInterface) PolicyV1

func (m *MockInterface) PolicyV1() v112.PolicyV1Interface

PolicyV1 mocks base method.

func (*MockInterface) PolicyV1beta1

func (m *MockInterface) PolicyV1beta1() v1beta112.PolicyV1beta1Interface

PolicyV1beta1 mocks base method.

func (*MockInterface) RbacV1

func (m *MockInterface) RbacV1() v113.RbacV1Interface

RbacV1 mocks base method.

func (*MockInterface) RbacV1alpha1

func (m *MockInterface) RbacV1alpha1() v1alpha15.RbacV1alpha1Interface

RbacV1alpha1 mocks base method.

func (*MockInterface) RbacV1beta1

func (m *MockInterface) RbacV1beta1() v1beta113.RbacV1beta1Interface

RbacV1beta1 mocks base method.

func (*MockInterface) ResourceV1alpha1

func (m *MockInterface) ResourceV1alpha1() v1alpha16.ResourceV1alpha1Interface

ResourceV1alpha1 mocks base method.

func (*MockInterface) SchedulingV1

func (m *MockInterface) SchedulingV1() v114.SchedulingV1Interface

SchedulingV1 mocks base method.

func (*MockInterface) SchedulingV1alpha1

func (m *MockInterface) SchedulingV1alpha1() v1alpha17.SchedulingV1alpha1Interface

SchedulingV1alpha1 mocks base method.

func (*MockInterface) SchedulingV1beta1

func (m *MockInterface) SchedulingV1beta1() v1beta114.SchedulingV1beta1Interface

SchedulingV1beta1 mocks base method.

func (*MockInterface) StorageV1

func (m *MockInterface) StorageV1() v115.StorageV1Interface

StorageV1 mocks base method.

func (*MockInterface) StorageV1alpha1

func (m *MockInterface) StorageV1alpha1() v1alpha18.StorageV1alpha1Interface

StorageV1alpha1 mocks base method.

func (*MockInterface) StorageV1beta1

func (m *MockInterface) StorageV1beta1() v1beta115.StorageV1beta1Interface

StorageV1beta1 mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) AdmissionregistrationV1

func (mr *MockInterfaceMockRecorder) AdmissionregistrationV1() *gomock.Call

AdmissionregistrationV1 indicates an expected call of AdmissionregistrationV1.

func (*MockInterfaceMockRecorder) AdmissionregistrationV1alpha1

func (mr *MockInterfaceMockRecorder) AdmissionregistrationV1alpha1() *gomock.Call

AdmissionregistrationV1alpha1 indicates an expected call of AdmissionregistrationV1alpha1.

func (*MockInterfaceMockRecorder) AdmissionregistrationV1beta1

func (mr *MockInterfaceMockRecorder) AdmissionregistrationV1beta1() *gomock.Call

AdmissionregistrationV1beta1 indicates an expected call of AdmissionregistrationV1beta1.

func (*MockInterfaceMockRecorder) AppsV1

func (mr *MockInterfaceMockRecorder) AppsV1() *gomock.Call

AppsV1 indicates an expected call of AppsV1.

func (*MockInterfaceMockRecorder) AppsV1beta1

func (mr *MockInterfaceMockRecorder) AppsV1beta1() *gomock.Call

AppsV1beta1 indicates an expected call of AppsV1beta1.

func (*MockInterfaceMockRecorder) AppsV1beta2

func (mr *MockInterfaceMockRecorder) AppsV1beta2() *gomock.Call

AppsV1beta2 indicates an expected call of AppsV1beta2.

func (*MockInterfaceMockRecorder) AuthenticationV1

func (mr *MockInterfaceMockRecorder) AuthenticationV1() *gomock.Call

AuthenticationV1 indicates an expected call of AuthenticationV1.

func (*MockInterfaceMockRecorder) AuthenticationV1alpha1

func (mr *MockInterfaceMockRecorder) AuthenticationV1alpha1() *gomock.Call

AuthenticationV1alpha1 indicates an expected call of AuthenticationV1alpha1.

func (*MockInterfaceMockRecorder) AuthenticationV1beta1

func (mr *MockInterfaceMockRecorder) AuthenticationV1beta1() *gomock.Call

AuthenticationV1beta1 indicates an expected call of AuthenticationV1beta1.

func (*MockInterfaceMockRecorder) AuthorizationV1

func (mr *MockInterfaceMockRecorder) AuthorizationV1() *gomock.Call

AuthorizationV1 indicates an expected call of AuthorizationV1.

func (*MockInterfaceMockRecorder) AuthorizationV1beta1

func (mr *MockInterfaceMockRecorder) AuthorizationV1beta1() *gomock.Call

AuthorizationV1beta1 indicates an expected call of AuthorizationV1beta1.

func (*MockInterfaceMockRecorder) AutoscalingV1

func (mr *MockInterfaceMockRecorder) AutoscalingV1() *gomock.Call

AutoscalingV1 indicates an expected call of AutoscalingV1.

func (*MockInterfaceMockRecorder) AutoscalingV2

func (mr *MockInterfaceMockRecorder) AutoscalingV2() *gomock.Call

AutoscalingV2 indicates an expected call of AutoscalingV2.

func (*MockInterfaceMockRecorder) AutoscalingV2beta1

func (mr *MockInterfaceMockRecorder) AutoscalingV2beta1() *gomock.Call

AutoscalingV2beta1 indicates an expected call of AutoscalingV2beta1.

func (*MockInterfaceMockRecorder) AutoscalingV2beta2

func (mr *MockInterfaceMockRecorder) AutoscalingV2beta2() *gomock.Call

AutoscalingV2beta2 indicates an expected call of AutoscalingV2beta2.

func (*MockInterfaceMockRecorder) BatchV1

func (mr *MockInterfaceMockRecorder) BatchV1() *gomock.Call

BatchV1 indicates an expected call of BatchV1.

func (*MockInterfaceMockRecorder) BatchV1beta1

func (mr *MockInterfaceMockRecorder) BatchV1beta1() *gomock.Call

BatchV1beta1 indicates an expected call of BatchV1beta1.

func (*MockInterfaceMockRecorder) CertificatesV1

func (mr *MockInterfaceMockRecorder) CertificatesV1() *gomock.Call

CertificatesV1 indicates an expected call of CertificatesV1.

func (*MockInterfaceMockRecorder) CertificatesV1beta1

func (mr *MockInterfaceMockRecorder) CertificatesV1beta1() *gomock.Call

CertificatesV1beta1 indicates an expected call of CertificatesV1beta1.

func (*MockInterfaceMockRecorder) CoordinationV1

func (mr *MockInterfaceMockRecorder) CoordinationV1() *gomock.Call

CoordinationV1 indicates an expected call of CoordinationV1.

func (*MockInterfaceMockRecorder) CoordinationV1beta1

func (mr *MockInterfaceMockRecorder) CoordinationV1beta1() *gomock.Call

CoordinationV1beta1 indicates an expected call of CoordinationV1beta1.

func (*MockInterfaceMockRecorder) CoreV1

func (mr *MockInterfaceMockRecorder) CoreV1() *gomock.Call

CoreV1 indicates an expected call of CoreV1.

func (*MockInterfaceMockRecorder) Discovery

func (mr *MockInterfaceMockRecorder) Discovery() *gomock.Call

Discovery indicates an expected call of Discovery.

func (*MockInterfaceMockRecorder) DiscoveryV1

func (mr *MockInterfaceMockRecorder) DiscoveryV1() *gomock.Call

DiscoveryV1 indicates an expected call of DiscoveryV1.

func (*MockInterfaceMockRecorder) DiscoveryV1beta1

func (mr *MockInterfaceMockRecorder) DiscoveryV1beta1() *gomock.Call

DiscoveryV1beta1 indicates an expected call of DiscoveryV1beta1.

func (*MockInterfaceMockRecorder) EventsV1

func (mr *MockInterfaceMockRecorder) EventsV1() *gomock.Call

EventsV1 indicates an expected call of EventsV1.

func (*MockInterfaceMockRecorder) EventsV1beta1

func (mr *MockInterfaceMockRecorder) EventsV1beta1() *gomock.Call

EventsV1beta1 indicates an expected call of EventsV1beta1.

func (*MockInterfaceMockRecorder) ExtensionsV1beta1

func (mr *MockInterfaceMockRecorder) ExtensionsV1beta1() *gomock.Call

ExtensionsV1beta1 indicates an expected call of ExtensionsV1beta1.

func (*MockInterfaceMockRecorder) FlowcontrolV1alpha1

func (mr *MockInterfaceMockRecorder) FlowcontrolV1alpha1() *gomock.Call

FlowcontrolV1alpha1 indicates an expected call of FlowcontrolV1alpha1.

func (*MockInterfaceMockRecorder) FlowcontrolV1beta1

func (mr *MockInterfaceMockRecorder) FlowcontrolV1beta1() *gomock.Call

FlowcontrolV1beta1 indicates an expected call of FlowcontrolV1beta1.

func (*MockInterfaceMockRecorder) FlowcontrolV1beta2

func (mr *MockInterfaceMockRecorder) FlowcontrolV1beta2() *gomock.Call

FlowcontrolV1beta2 indicates an expected call of FlowcontrolV1beta2.

func (*MockInterfaceMockRecorder) FlowcontrolV1beta3

func (mr *MockInterfaceMockRecorder) FlowcontrolV1beta3() *gomock.Call

FlowcontrolV1beta3 indicates an expected call of FlowcontrolV1beta3.

func (*MockInterfaceMockRecorder) InternalV1alpha1

func (mr *MockInterfaceMockRecorder) InternalV1alpha1() *gomock.Call

InternalV1alpha1 indicates an expected call of InternalV1alpha1.

func (*MockInterfaceMockRecorder) NetworkingV1

func (mr *MockInterfaceMockRecorder) NetworkingV1() *gomock.Call

NetworkingV1 indicates an expected call of NetworkingV1.

func (*MockInterfaceMockRecorder) NetworkingV1alpha1

func (mr *MockInterfaceMockRecorder) NetworkingV1alpha1() *gomock.Call

NetworkingV1alpha1 indicates an expected call of NetworkingV1alpha1.

func (*MockInterfaceMockRecorder) NetworkingV1beta1

func (mr *MockInterfaceMockRecorder) NetworkingV1beta1() *gomock.Call

NetworkingV1beta1 indicates an expected call of NetworkingV1beta1.

func (*MockInterfaceMockRecorder) NodeV1

func (mr *MockInterfaceMockRecorder) NodeV1() *gomock.Call

NodeV1 indicates an expected call of NodeV1.

func (*MockInterfaceMockRecorder) NodeV1alpha1

func (mr *MockInterfaceMockRecorder) NodeV1alpha1() *gomock.Call

NodeV1alpha1 indicates an expected call of NodeV1alpha1.

func (*MockInterfaceMockRecorder) NodeV1beta1

func (mr *MockInterfaceMockRecorder) NodeV1beta1() *gomock.Call

NodeV1beta1 indicates an expected call of NodeV1beta1.

func (*MockInterfaceMockRecorder) PolicyV1

func (mr *MockInterfaceMockRecorder) PolicyV1() *gomock.Call

PolicyV1 indicates an expected call of PolicyV1.

func (*MockInterfaceMockRecorder) PolicyV1beta1

func (mr *MockInterfaceMockRecorder) PolicyV1beta1() *gomock.Call

PolicyV1beta1 indicates an expected call of PolicyV1beta1.

func (*MockInterfaceMockRecorder) RbacV1

func (mr *MockInterfaceMockRecorder) RbacV1() *gomock.Call

RbacV1 indicates an expected call of RbacV1.

func (*MockInterfaceMockRecorder) RbacV1alpha1

func (mr *MockInterfaceMockRecorder) RbacV1alpha1() *gomock.Call

RbacV1alpha1 indicates an expected call of RbacV1alpha1.

func (*MockInterfaceMockRecorder) RbacV1beta1

func (mr *MockInterfaceMockRecorder) RbacV1beta1() *gomock.Call

RbacV1beta1 indicates an expected call of RbacV1beta1.

func (*MockInterfaceMockRecorder) ResourceV1alpha1

func (mr *MockInterfaceMockRecorder) ResourceV1alpha1() *gomock.Call

ResourceV1alpha1 indicates an expected call of ResourceV1alpha1.

func (*MockInterfaceMockRecorder) SchedulingV1

func (mr *MockInterfaceMockRecorder) SchedulingV1() *gomock.Call

SchedulingV1 indicates an expected call of SchedulingV1.

func (*MockInterfaceMockRecorder) SchedulingV1alpha1

func (mr *MockInterfaceMockRecorder) SchedulingV1alpha1() *gomock.Call

SchedulingV1alpha1 indicates an expected call of SchedulingV1alpha1.

func (*MockInterfaceMockRecorder) SchedulingV1beta1

func (mr *MockInterfaceMockRecorder) SchedulingV1beta1() *gomock.Call

SchedulingV1beta1 indicates an expected call of SchedulingV1beta1.

func (*MockInterfaceMockRecorder) StorageV1

func (mr *MockInterfaceMockRecorder) StorageV1() *gomock.Call

StorageV1 indicates an expected call of StorageV1.

func (*MockInterfaceMockRecorder) StorageV1alpha1

func (mr *MockInterfaceMockRecorder) StorageV1alpha1() *gomock.Call

StorageV1alpha1 indicates an expected call of StorageV1alpha1.

func (*MockInterfaceMockRecorder) StorageV1beta1

func (mr *MockInterfaceMockRecorder) StorageV1beta1() *gomock.Call

StorageV1beta1 indicates an expected call of StorageV1beta1.

type MockK8sClient

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

MockK8sClient is a mock of K8sClient interface.

func NewMockK8sClient

func NewMockK8sClient(ctrl *gomock.Controller) *MockK8sClient

NewMockK8sClient creates a new mock instance.

func (*MockK8sClient) EXPECT

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

func (*MockK8sClient) NewClientConfig

NewClientConfig mocks base method.

func (*MockK8sClient) NewClientset

func (m *MockK8sClient) NewClientset(c *rest.Config) (kubernetes.Interface, error)

NewClientset mocks base method.

type MockK8sClientMockRecorder

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

MockK8sClientMockRecorder is the mock recorder for MockK8sClient.

func (*MockK8sClientMockRecorder) NewClientConfig

func (mr *MockK8sClientMockRecorder) NewClientConfig(loader, overrides interface{}) *gomock.Call

NewClientConfig indicates an expected call of NewClientConfig.

func (*MockK8sClientMockRecorder) NewClientset

func (mr *MockK8sClientMockRecorder) NewClientset(c interface{}) *gomock.Call

NewClientset indicates an expected call of NewClientset.

type MockOsServices

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

func NewMockOsServices

func NewMockOsServices() *MockOsServices

func (*MockOsServices) Args

func (mock *MockOsServices) Args() []string

func (*MockOsServices) Exit

func (*MockOsServices) Exit(code int)

func (*MockOsServices) Getenv

func (mock *MockOsServices) Getenv(key string) string

func (*MockOsServices) SetArgs

func (mock *MockOsServices) SetArgs(args ...string)

func (*MockOsServices) Setenv

func (mock *MockOsServices) Setenv(key string, value string)

func (*MockOsServices) Stderr

func (mock *MockOsServices) Stderr() io.Writer

func (*MockOsServices) StderrBuffer

func (mock *MockOsServices) StderrBuffer() *bytes.Buffer

func (*MockOsServices) Stdin

func (mock *MockOsServices) Stdin() io.Reader

func (*MockOsServices) StdinBuffer

func (mock *MockOsServices) StdinBuffer() *bytes.Buffer

func (*MockOsServices) Stdout

func (mock *MockOsServices) Stdout() io.Writer

func (*MockOsServices) StdoutBuffer

func (mock *MockOsServices) StdoutBuffer() *bytes.Buffer

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) Apply

Apply mocks base method.

func (*MockPodInterface) ApplyStatus

func (m *MockPodInterface) ApplyStatus(arg0 context.Context, arg1 *v12.PodApplyConfiguration, arg2 v11.ApplyOptions) (*v1.Pod, error)

ApplyStatus mocks base method.

func (*MockPodInterface) Bind

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

Bind mocks base method.

func (*MockPodInterface) Create

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

Create mocks base method.

func (*MockPodInterface) Delete

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

Delete mocks base method.

func (*MockPodInterface) DeleteCollection

func (m *MockPodInterface) DeleteCollection(arg0 context.Context, arg1 v11.DeleteOptions, arg2 v11.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) EvictV1

func (m *MockPodInterface) EvictV1(arg0 context.Context, arg1 *v10.Eviction) error

EvictV1 mocks base method.

func (*MockPodInterface) EvictV1beta1

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

EvictV1beta1 mocks base method.

func (*MockPodInterface) Get

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

Get 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 v11.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 v11.PatchOptions, arg5 ...string) (*v1.Pod, error)

Patch mocks base method.

func (*MockPodInterface) ProxyGet

func (m *MockPodInterface) ProxyGet(arg0, arg1, arg2, arg3 string, arg4 map[string]string) rest.ResponseWrapper

ProxyGet mocks base method.

func (*MockPodInterface) Update

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

Update mocks base method.

func (*MockPodInterface) UpdateEphemeralContainers

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

UpdateEphemeralContainers mocks base method.

func (*MockPodInterface) UpdateStatus

func (m *MockPodInterface) UpdateStatus(arg0 context.Context, arg1 *v1.Pod, arg2 v11.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) Apply

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

Apply indicates an expected call of Apply.

func (*MockPodInterfaceMockRecorder) ApplyStatus

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

ApplyStatus indicates an expected call of ApplyStatus.

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) EvictV1

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

EvictV1 indicates an expected call of EvictV1.

func (*MockPodInterfaceMockRecorder) EvictV1beta1

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

EvictV1beta1 indicates an expected call of EvictV1beta1.

func (*MockPodInterfaceMockRecorder) Get

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

Get indicates an expected call of Get.

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) ProxyGet

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

ProxyGet indicates an expected call of ProxyGet.

func (*MockPodInterfaceMockRecorder) Update

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

Update indicates an expected call of Update.

func (*MockPodInterfaceMockRecorder) UpdateEphemeralContainers

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.

type MockRunner

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

MockRunner is a mock of Runner interface.

func NewMockRunner

func NewMockRunner(ctrl *gomock.Controller) *MockRunner

NewMockRunner creates a new mock instance.

func (*MockRunner) EXPECT

func (m *MockRunner) EXPECT() *MockRunnerMockRecorder

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

func (*MockRunner) Run

func (m *MockRunner) Run(ctx context.Context, job *runner.Job, out io.Writer) (int, error)

Run mocks base method.

func (*MockRunner) Start

func (m *MockRunner) Start(ctx context.Context, job *runner.Job) (*runner.Execution, error)

Start mocks base method.

type MockRunnerFactory

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

MockRunnerFactory is a mock of RunnerFactory interface.

func NewMockRunnerFactory

func NewMockRunnerFactory(ctrl *gomock.Controller) *MockRunnerFactory

NewMockRunnerFactory creates a new mock instance.

func (*MockRunnerFactory) EXPECT

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

func (*MockRunnerFactory) New

func (m *MockRunnerFactory) New(kubeconfig string) (runner.Runner, error)

New mocks base method.

type MockRunnerFactoryMockRecorder

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

MockRunnerFactoryMockRecorder is the mock recorder for MockRunnerFactory.

func (*MockRunnerFactoryMockRecorder) New

func (mr *MockRunnerFactoryMockRecorder) New(kubeconfig interface{}) *gomock.Call

New indicates an expected call of New.

type MockRunnerMockRecorder

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

MockRunnerMockRecorder is the mock recorder for MockRunner.

func (*MockRunnerMockRecorder) Run

func (mr *MockRunnerMockRecorder) Run(ctx, job, out interface{}) *gomock.Call

Run indicates an expected call of Run.

func (*MockRunnerMockRecorder) Start

func (mr *MockRunnerMockRecorder) Start(ctx, job interface{}) *gomock.Call

Start indicates an expected call of Start.

Jump to

Keyboard shortcuts

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