mocks

package
v0.0.0-...-e0ff526 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: BSD-3-Clause Imports: 47 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface struct {
	mock.Mock
}

Interface is an autogenerated mock type for the Interface type

func NewInterface

func NewInterface(t mockConstructorTestingTNewInterface) *Interface

NewInterface creates a new instance of Interface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Interface) AdmissionregistrationV1

func (_m *Interface) AdmissionregistrationV1() v1.AdmissionregistrationV1Interface

AdmissionregistrationV1 provides a mock function with given fields:

func (*Interface) AdmissionregistrationV1beta1

func (_m *Interface) AdmissionregistrationV1beta1() v1beta1.AdmissionregistrationV1beta1Interface

AdmissionregistrationV1beta1 provides a mock function with given fields:

func (*Interface) AppsV1

func (_m *Interface) AppsV1() appsv1.AppsV1Interface

AppsV1 provides a mock function with given fields:

func (*Interface) AppsV1beta1

func (_m *Interface) AppsV1beta1() appsv1beta1.AppsV1beta1Interface

AppsV1beta1 provides a mock function with given fields:

func (*Interface) AppsV1beta2

func (_m *Interface) AppsV1beta2() v1beta2.AppsV1beta2Interface

AppsV1beta2 provides a mock function with given fields:

func (*Interface) AuthenticationV1

func (_m *Interface) AuthenticationV1() authenticationv1.AuthenticationV1Interface

AuthenticationV1 provides a mock function with given fields:

func (*Interface) AuthenticationV1beta1

AuthenticationV1beta1 provides a mock function with given fields:

func (*Interface) AuthorizationV1

func (_m *Interface) AuthorizationV1() authorizationv1.AuthorizationV1Interface

AuthorizationV1 provides a mock function with given fields:

func (*Interface) AuthorizationV1beta1

AuthorizationV1beta1 provides a mock function with given fields:

func (*Interface) AutoscalingV1

func (_m *Interface) AutoscalingV1() autoscalingv1.AutoscalingV1Interface

AutoscalingV1 provides a mock function with given fields:

func (*Interface) AutoscalingV2beta1

func (_m *Interface) AutoscalingV2beta1() v2beta1.AutoscalingV2beta1Interface

AutoscalingV2beta1 provides a mock function with given fields:

func (*Interface) AutoscalingV2beta2

func (_m *Interface) AutoscalingV2beta2() v2beta2.AutoscalingV2beta2Interface

AutoscalingV2beta2 provides a mock function with given fields:

func (*Interface) BatchV1

func (_m *Interface) BatchV1() batchv1.BatchV1Interface

BatchV1 provides a mock function with given fields:

func (*Interface) BatchV1beta1

func (_m *Interface) BatchV1beta1() batchv1beta1.BatchV1beta1Interface

BatchV1beta1 provides a mock function with given fields:

func (*Interface) CertificatesV1

func (_m *Interface) CertificatesV1() certificatesv1.CertificatesV1Interface

CertificatesV1 provides a mock function with given fields:

func (*Interface) CertificatesV1beta1

CertificatesV1beta1 provides a mock function with given fields:

func (*Interface) CoordinationV1

func (_m *Interface) CoordinationV1() coordinationv1.CoordinationV1Interface

CoordinationV1 provides a mock function with given fields:

func (*Interface) CoordinationV1beta1

CoordinationV1beta1 provides a mock function with given fields:

func (*Interface) CoreV1

func (_m *Interface) CoreV1() corev1.CoreV1Interface

CoreV1 provides a mock function with given fields:

func (*Interface) Discovery

func (_m *Interface) Discovery() discovery.DiscoveryInterface

Discovery provides a mock function with given fields:

func (*Interface) DiscoveryV1

func (_m *Interface) DiscoveryV1() discoveryv1.DiscoveryV1Interface

DiscoveryV1 provides a mock function with given fields:

func (*Interface) DiscoveryV1beta1

func (_m *Interface) DiscoveryV1beta1() discoveryv1beta1.DiscoveryV1beta1Interface

DiscoveryV1beta1 provides a mock function with given fields:

func (*Interface) EXPECT

func (_m *Interface) EXPECT() *Interface_Expecter

func (*Interface) EventsV1

func (_m *Interface) EventsV1() eventsv1.EventsV1Interface

EventsV1 provides a mock function with given fields:

func (*Interface) EventsV1beta1

func (_m *Interface) EventsV1beta1() eventsv1beta1.EventsV1beta1Interface

EventsV1beta1 provides a mock function with given fields:

func (*Interface) ExtensionsV1beta1

func (_m *Interface) ExtensionsV1beta1() extensionsv1beta1.ExtensionsV1beta1Interface

ExtensionsV1beta1 provides a mock function with given fields:

func (*Interface) FlowcontrolV1alpha1

func (_m *Interface) FlowcontrolV1alpha1() v1alpha1.FlowcontrolV1alpha1Interface

FlowcontrolV1alpha1 provides a mock function with given fields:

func (*Interface) FlowcontrolV1beta1

func (_m *Interface) FlowcontrolV1beta1() flowcontrolv1beta1.FlowcontrolV1beta1Interface

FlowcontrolV1beta1 provides a mock function with given fields:

func (*Interface) InternalV1alpha1

InternalV1alpha1 provides a mock function with given fields:

func (*Interface) NetworkingV1

func (_m *Interface) NetworkingV1() networkingv1.NetworkingV1Interface

NetworkingV1 provides a mock function with given fields:

func (*Interface) NetworkingV1beta1

func (_m *Interface) NetworkingV1beta1() networkingv1beta1.NetworkingV1beta1Interface

NetworkingV1beta1 provides a mock function with given fields:

func (*Interface) NodeV1

func (_m *Interface) NodeV1() nodev1.NodeV1Interface

NodeV1 provides a mock function with given fields:

func (*Interface) NodeV1alpha1

func (_m *Interface) NodeV1alpha1() nodev1alpha1.NodeV1alpha1Interface

NodeV1alpha1 provides a mock function with given fields:

func (*Interface) NodeV1beta1

func (_m *Interface) NodeV1beta1() nodev1beta1.NodeV1beta1Interface

NodeV1beta1 provides a mock function with given fields:

func (*Interface) PolicyV1

func (_m *Interface) PolicyV1() policyv1.PolicyV1Interface

PolicyV1 provides a mock function with given fields:

func (*Interface) PolicyV1beta1

func (_m *Interface) PolicyV1beta1() policyv1beta1.PolicyV1beta1Interface

PolicyV1beta1 provides a mock function with given fields:

func (*Interface) RbacV1

func (_m *Interface) RbacV1() rbacv1.RbacV1Interface

RbacV1 provides a mock function with given fields:

func (*Interface) RbacV1alpha1

func (_m *Interface) RbacV1alpha1() rbacv1alpha1.RbacV1alpha1Interface

RbacV1alpha1 provides a mock function with given fields:

func (*Interface) RbacV1beta1

func (_m *Interface) RbacV1beta1() rbacv1beta1.RbacV1beta1Interface

RbacV1beta1 provides a mock function with given fields:

func (*Interface) SchedulingV1

func (_m *Interface) SchedulingV1() schedulingv1.SchedulingV1Interface

SchedulingV1 provides a mock function with given fields:

func (*Interface) SchedulingV1alpha1

func (_m *Interface) SchedulingV1alpha1() schedulingv1alpha1.SchedulingV1alpha1Interface

SchedulingV1alpha1 provides a mock function with given fields:

func (*Interface) SchedulingV1beta1

func (_m *Interface) SchedulingV1beta1() schedulingv1beta1.SchedulingV1beta1Interface

SchedulingV1beta1 provides a mock function with given fields:

func (*Interface) StorageV1

func (_m *Interface) StorageV1() storagev1.StorageV1Interface

StorageV1 provides a mock function with given fields:

func (*Interface) StorageV1alpha1

func (_m *Interface) StorageV1alpha1() storagev1alpha1.StorageV1alpha1Interface

StorageV1alpha1 provides a mock function with given fields:

func (*Interface) StorageV1beta1

func (_m *Interface) StorageV1beta1() storagev1beta1.StorageV1beta1Interface

StorageV1beta1 provides a mock function with given fields:

type Interface_AdmissionregistrationV1_Call

type Interface_AdmissionregistrationV1_Call struct {
	*mock.Call
}

Interface_AdmissionregistrationV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdmissionregistrationV1'

func (*Interface_AdmissionregistrationV1_Call) Run

func (*Interface_AdmissionregistrationV1_Call) RunAndReturn

type Interface_AdmissionregistrationV1beta1_Call

type Interface_AdmissionregistrationV1beta1_Call struct {
	*mock.Call
}

Interface_AdmissionregistrationV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdmissionregistrationV1beta1'

func (*Interface_AdmissionregistrationV1beta1_Call) Run

func (*Interface_AdmissionregistrationV1beta1_Call) RunAndReturn

type Interface_AppsV1_Call

type Interface_AppsV1_Call struct {
	*mock.Call
}

Interface_AppsV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AppsV1'

func (*Interface_AppsV1_Call) Return

func (*Interface_AppsV1_Call) Run

func (_c *Interface_AppsV1_Call) Run(run func()) *Interface_AppsV1_Call

func (*Interface_AppsV1_Call) RunAndReturn

func (_c *Interface_AppsV1_Call) RunAndReturn(run func() appsv1.AppsV1Interface) *Interface_AppsV1_Call

type Interface_AppsV1beta1_Call

type Interface_AppsV1beta1_Call struct {
	*mock.Call
}

Interface_AppsV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AppsV1beta1'

func (*Interface_AppsV1beta1_Call) Return

func (*Interface_AppsV1beta1_Call) Run

func (*Interface_AppsV1beta1_Call) RunAndReturn

type Interface_AppsV1beta2_Call

type Interface_AppsV1beta2_Call struct {
	*mock.Call
}

Interface_AppsV1beta2_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AppsV1beta2'

func (*Interface_AppsV1beta2_Call) Return

func (*Interface_AppsV1beta2_Call) Run

func (*Interface_AppsV1beta2_Call) RunAndReturn

type Interface_AuthenticationV1_Call

type Interface_AuthenticationV1_Call struct {
	*mock.Call
}

Interface_AuthenticationV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AuthenticationV1'

func (*Interface_AuthenticationV1_Call) Run

func (*Interface_AuthenticationV1_Call) RunAndReturn

type Interface_AuthenticationV1beta1_Call

type Interface_AuthenticationV1beta1_Call struct {
	*mock.Call
}

Interface_AuthenticationV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AuthenticationV1beta1'

func (*Interface_AuthenticationV1beta1_Call) Run

type Interface_AuthorizationV1_Call

type Interface_AuthorizationV1_Call struct {
	*mock.Call
}

Interface_AuthorizationV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AuthorizationV1'

func (*Interface_AuthorizationV1_Call) Run

func (*Interface_AuthorizationV1_Call) RunAndReturn

type Interface_AuthorizationV1beta1_Call

type Interface_AuthorizationV1beta1_Call struct {
	*mock.Call
}

Interface_AuthorizationV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AuthorizationV1beta1'

func (*Interface_AuthorizationV1beta1_Call) Run

type Interface_AutoscalingV1_Call

type Interface_AutoscalingV1_Call struct {
	*mock.Call
}

Interface_AutoscalingV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AutoscalingV1'

func (*Interface_AutoscalingV1_Call) Return

func (*Interface_AutoscalingV1_Call) Run

func (*Interface_AutoscalingV1_Call) RunAndReturn

type Interface_AutoscalingV2beta1_Call

type Interface_AutoscalingV2beta1_Call struct {
	*mock.Call
}

Interface_AutoscalingV2beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AutoscalingV2beta1'

func (*Interface_AutoscalingV2beta1_Call) Return

func (*Interface_AutoscalingV2beta1_Call) Run

func (*Interface_AutoscalingV2beta1_Call) RunAndReturn

type Interface_AutoscalingV2beta2_Call

type Interface_AutoscalingV2beta2_Call struct {
	*mock.Call
}

Interface_AutoscalingV2beta2_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AutoscalingV2beta2'

func (*Interface_AutoscalingV2beta2_Call) Return

func (*Interface_AutoscalingV2beta2_Call) Run

func (*Interface_AutoscalingV2beta2_Call) RunAndReturn

type Interface_BatchV1_Call

type Interface_BatchV1_Call struct {
	*mock.Call
}

Interface_BatchV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchV1'

func (*Interface_BatchV1_Call) Return

func (*Interface_BatchV1_Call) Run

func (_c *Interface_BatchV1_Call) Run(run func()) *Interface_BatchV1_Call

func (*Interface_BatchV1_Call) RunAndReturn

type Interface_BatchV1beta1_Call

type Interface_BatchV1beta1_Call struct {
	*mock.Call
}

Interface_BatchV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchV1beta1'

func (*Interface_BatchV1beta1_Call) Return

func (*Interface_BatchV1beta1_Call) Run

func (*Interface_BatchV1beta1_Call) RunAndReturn

type Interface_CertificatesV1_Call

type Interface_CertificatesV1_Call struct {
	*mock.Call
}

Interface_CertificatesV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CertificatesV1'

func (*Interface_CertificatesV1_Call) Return

func (*Interface_CertificatesV1_Call) Run

func (*Interface_CertificatesV1_Call) RunAndReturn

type Interface_CertificatesV1beta1_Call

type Interface_CertificatesV1beta1_Call struct {
	*mock.Call
}

Interface_CertificatesV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CertificatesV1beta1'

func (*Interface_CertificatesV1beta1_Call) Run

func (*Interface_CertificatesV1beta1_Call) RunAndReturn

type Interface_CoordinationV1_Call

type Interface_CoordinationV1_Call struct {
	*mock.Call
}

Interface_CoordinationV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CoordinationV1'

func (*Interface_CoordinationV1_Call) Return

func (*Interface_CoordinationV1_Call) Run

func (*Interface_CoordinationV1_Call) RunAndReturn

type Interface_CoordinationV1beta1_Call

type Interface_CoordinationV1beta1_Call struct {
	*mock.Call
}

Interface_CoordinationV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CoordinationV1beta1'

func (*Interface_CoordinationV1beta1_Call) Run

func (*Interface_CoordinationV1beta1_Call) RunAndReturn

type Interface_CoreV1_Call

type Interface_CoreV1_Call struct {
	*mock.Call
}

Interface_CoreV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CoreV1'

func (*Interface_CoreV1_Call) Return

func (*Interface_CoreV1_Call) Run

func (_c *Interface_CoreV1_Call) Run(run func()) *Interface_CoreV1_Call

func (*Interface_CoreV1_Call) RunAndReturn

func (_c *Interface_CoreV1_Call) RunAndReturn(run func() corev1.CoreV1Interface) *Interface_CoreV1_Call

type Interface_DiscoveryV1_Call

type Interface_DiscoveryV1_Call struct {
	*mock.Call
}

Interface_DiscoveryV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DiscoveryV1'

func (*Interface_DiscoveryV1_Call) Return

func (*Interface_DiscoveryV1_Call) Run

func (*Interface_DiscoveryV1_Call) RunAndReturn

type Interface_DiscoveryV1beta1_Call

type Interface_DiscoveryV1beta1_Call struct {
	*mock.Call
}

Interface_DiscoveryV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DiscoveryV1beta1'

func (*Interface_DiscoveryV1beta1_Call) Run

func (*Interface_DiscoveryV1beta1_Call) RunAndReturn

type Interface_Discovery_Call

type Interface_Discovery_Call struct {
	*mock.Call
}

Interface_Discovery_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Discovery'

func (*Interface_Discovery_Call) Return

func (*Interface_Discovery_Call) Run

func (*Interface_Discovery_Call) RunAndReturn

type Interface_EventsV1_Call

type Interface_EventsV1_Call struct {
	*mock.Call
}

Interface_EventsV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EventsV1'

func (*Interface_EventsV1_Call) Return

func (*Interface_EventsV1_Call) Run

func (_c *Interface_EventsV1_Call) Run(run func()) *Interface_EventsV1_Call

func (*Interface_EventsV1_Call) RunAndReturn

type Interface_EventsV1beta1_Call

type Interface_EventsV1beta1_Call struct {
	*mock.Call
}

Interface_EventsV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EventsV1beta1'

func (*Interface_EventsV1beta1_Call) Return

func (*Interface_EventsV1beta1_Call) Run

func (*Interface_EventsV1beta1_Call) RunAndReturn

type Interface_Expecter

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

func (*Interface_Expecter) AdmissionregistrationV1

func (_e *Interface_Expecter) AdmissionregistrationV1() *Interface_AdmissionregistrationV1_Call

AdmissionregistrationV1 is a helper method to define mock.On call

func (*Interface_Expecter) AdmissionregistrationV1beta1

func (_e *Interface_Expecter) AdmissionregistrationV1beta1() *Interface_AdmissionregistrationV1beta1_Call

AdmissionregistrationV1beta1 is a helper method to define mock.On call

func (*Interface_Expecter) AppsV1

AppsV1 is a helper method to define mock.On call

func (*Interface_Expecter) AppsV1beta1

AppsV1beta1 is a helper method to define mock.On call

func (*Interface_Expecter) AppsV1beta2

AppsV1beta2 is a helper method to define mock.On call

func (*Interface_Expecter) AuthenticationV1

func (_e *Interface_Expecter) AuthenticationV1() *Interface_AuthenticationV1_Call

AuthenticationV1 is a helper method to define mock.On call

func (*Interface_Expecter) AuthenticationV1beta1

func (_e *Interface_Expecter) AuthenticationV1beta1() *Interface_AuthenticationV1beta1_Call

AuthenticationV1beta1 is a helper method to define mock.On call

func (*Interface_Expecter) AuthorizationV1

func (_e *Interface_Expecter) AuthorizationV1() *Interface_AuthorizationV1_Call

AuthorizationV1 is a helper method to define mock.On call

func (*Interface_Expecter) AuthorizationV1beta1

func (_e *Interface_Expecter) AuthorizationV1beta1() *Interface_AuthorizationV1beta1_Call

AuthorizationV1beta1 is a helper method to define mock.On call

func (*Interface_Expecter) AutoscalingV1

func (_e *Interface_Expecter) AutoscalingV1() *Interface_AutoscalingV1_Call

AutoscalingV1 is a helper method to define mock.On call

func (*Interface_Expecter) AutoscalingV2beta1

func (_e *Interface_Expecter) AutoscalingV2beta1() *Interface_AutoscalingV2beta1_Call

AutoscalingV2beta1 is a helper method to define mock.On call

func (*Interface_Expecter) AutoscalingV2beta2

func (_e *Interface_Expecter) AutoscalingV2beta2() *Interface_AutoscalingV2beta2_Call

AutoscalingV2beta2 is a helper method to define mock.On call

func (*Interface_Expecter) BatchV1

BatchV1 is a helper method to define mock.On call

func (*Interface_Expecter) BatchV1beta1

func (_e *Interface_Expecter) BatchV1beta1() *Interface_BatchV1beta1_Call

BatchV1beta1 is a helper method to define mock.On call

func (*Interface_Expecter) CertificatesV1

func (_e *Interface_Expecter) CertificatesV1() *Interface_CertificatesV1_Call

CertificatesV1 is a helper method to define mock.On call

func (*Interface_Expecter) CertificatesV1beta1

func (_e *Interface_Expecter) CertificatesV1beta1() *Interface_CertificatesV1beta1_Call

CertificatesV1beta1 is a helper method to define mock.On call

func (*Interface_Expecter) CoordinationV1

func (_e *Interface_Expecter) CoordinationV1() *Interface_CoordinationV1_Call

CoordinationV1 is a helper method to define mock.On call

func (*Interface_Expecter) CoordinationV1beta1

func (_e *Interface_Expecter) CoordinationV1beta1() *Interface_CoordinationV1beta1_Call

CoordinationV1beta1 is a helper method to define mock.On call

func (*Interface_Expecter) CoreV1

CoreV1 is a helper method to define mock.On call

func (*Interface_Expecter) Discovery

Discovery is a helper method to define mock.On call

func (*Interface_Expecter) DiscoveryV1

DiscoveryV1 is a helper method to define mock.On call

func (*Interface_Expecter) DiscoveryV1beta1

func (_e *Interface_Expecter) DiscoveryV1beta1() *Interface_DiscoveryV1beta1_Call

DiscoveryV1beta1 is a helper method to define mock.On call

func (*Interface_Expecter) EventsV1

EventsV1 is a helper method to define mock.On call

func (*Interface_Expecter) EventsV1beta1

func (_e *Interface_Expecter) EventsV1beta1() *Interface_EventsV1beta1_Call

EventsV1beta1 is a helper method to define mock.On call

func (*Interface_Expecter) ExtensionsV1beta1

func (_e *Interface_Expecter) ExtensionsV1beta1() *Interface_ExtensionsV1beta1_Call

ExtensionsV1beta1 is a helper method to define mock.On call

func (*Interface_Expecter) FlowcontrolV1alpha1

func (_e *Interface_Expecter) FlowcontrolV1alpha1() *Interface_FlowcontrolV1alpha1_Call

FlowcontrolV1alpha1 is a helper method to define mock.On call

func (*Interface_Expecter) FlowcontrolV1beta1

func (_e *Interface_Expecter) FlowcontrolV1beta1() *Interface_FlowcontrolV1beta1_Call

FlowcontrolV1beta1 is a helper method to define mock.On call

func (*Interface_Expecter) InternalV1alpha1

func (_e *Interface_Expecter) InternalV1alpha1() *Interface_InternalV1alpha1_Call

InternalV1alpha1 is a helper method to define mock.On call

func (*Interface_Expecter) NetworkingV1

func (_e *Interface_Expecter) NetworkingV1() *Interface_NetworkingV1_Call

NetworkingV1 is a helper method to define mock.On call

func (*Interface_Expecter) NetworkingV1beta1

func (_e *Interface_Expecter) NetworkingV1beta1() *Interface_NetworkingV1beta1_Call

NetworkingV1beta1 is a helper method to define mock.On call

func (*Interface_Expecter) NodeV1

NodeV1 is a helper method to define mock.On call

func (*Interface_Expecter) NodeV1alpha1

func (_e *Interface_Expecter) NodeV1alpha1() *Interface_NodeV1alpha1_Call

NodeV1alpha1 is a helper method to define mock.On call

func (*Interface_Expecter) NodeV1beta1

NodeV1beta1 is a helper method to define mock.On call

func (*Interface_Expecter) PolicyV1

PolicyV1 is a helper method to define mock.On call

func (*Interface_Expecter) PolicyV1beta1

func (_e *Interface_Expecter) PolicyV1beta1() *Interface_PolicyV1beta1_Call

PolicyV1beta1 is a helper method to define mock.On call

func (*Interface_Expecter) RbacV1

RbacV1 is a helper method to define mock.On call

func (*Interface_Expecter) RbacV1alpha1

func (_e *Interface_Expecter) RbacV1alpha1() *Interface_RbacV1alpha1_Call

RbacV1alpha1 is a helper method to define mock.On call

func (*Interface_Expecter) RbacV1beta1

RbacV1beta1 is a helper method to define mock.On call

func (*Interface_Expecter) SchedulingV1

func (_e *Interface_Expecter) SchedulingV1() *Interface_SchedulingV1_Call

SchedulingV1 is a helper method to define mock.On call

func (*Interface_Expecter) SchedulingV1alpha1

func (_e *Interface_Expecter) SchedulingV1alpha1() *Interface_SchedulingV1alpha1_Call

SchedulingV1alpha1 is a helper method to define mock.On call

func (*Interface_Expecter) SchedulingV1beta1

func (_e *Interface_Expecter) SchedulingV1beta1() *Interface_SchedulingV1beta1_Call

SchedulingV1beta1 is a helper method to define mock.On call

func (*Interface_Expecter) StorageV1

StorageV1 is a helper method to define mock.On call

func (*Interface_Expecter) StorageV1alpha1

func (_e *Interface_Expecter) StorageV1alpha1() *Interface_StorageV1alpha1_Call

StorageV1alpha1 is a helper method to define mock.On call

func (*Interface_Expecter) StorageV1beta1

func (_e *Interface_Expecter) StorageV1beta1() *Interface_StorageV1beta1_Call

StorageV1beta1 is a helper method to define mock.On call

type Interface_ExtensionsV1beta1_Call

type Interface_ExtensionsV1beta1_Call struct {
	*mock.Call
}

Interface_ExtensionsV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExtensionsV1beta1'

func (*Interface_ExtensionsV1beta1_Call) Run

func (*Interface_ExtensionsV1beta1_Call) RunAndReturn

type Interface_FlowcontrolV1alpha1_Call

type Interface_FlowcontrolV1alpha1_Call struct {
	*mock.Call
}

Interface_FlowcontrolV1alpha1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FlowcontrolV1alpha1'

func (*Interface_FlowcontrolV1alpha1_Call) Run

func (*Interface_FlowcontrolV1alpha1_Call) RunAndReturn

type Interface_FlowcontrolV1beta1_Call

type Interface_FlowcontrolV1beta1_Call struct {
	*mock.Call
}

Interface_FlowcontrolV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FlowcontrolV1beta1'

func (*Interface_FlowcontrolV1beta1_Call) Run

func (*Interface_FlowcontrolV1beta1_Call) RunAndReturn

type Interface_InternalV1alpha1_Call

type Interface_InternalV1alpha1_Call struct {
	*mock.Call
}

Interface_InternalV1alpha1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InternalV1alpha1'

func (*Interface_InternalV1alpha1_Call) Run

func (*Interface_InternalV1alpha1_Call) RunAndReturn

type Interface_NetworkingV1_Call

type Interface_NetworkingV1_Call struct {
	*mock.Call
}

Interface_NetworkingV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NetworkingV1'

func (*Interface_NetworkingV1_Call) Return

func (*Interface_NetworkingV1_Call) Run

func (*Interface_NetworkingV1_Call) RunAndReturn

type Interface_NetworkingV1beta1_Call

type Interface_NetworkingV1beta1_Call struct {
	*mock.Call
}

Interface_NetworkingV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NetworkingV1beta1'

func (*Interface_NetworkingV1beta1_Call) Run

func (*Interface_NetworkingV1beta1_Call) RunAndReturn

type Interface_NodeV1_Call

type Interface_NodeV1_Call struct {
	*mock.Call
}

Interface_NodeV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeV1'

func (*Interface_NodeV1_Call) Return

func (*Interface_NodeV1_Call) Run

func (_c *Interface_NodeV1_Call) Run(run func()) *Interface_NodeV1_Call

func (*Interface_NodeV1_Call) RunAndReturn

func (_c *Interface_NodeV1_Call) RunAndReturn(run func() nodev1.NodeV1Interface) *Interface_NodeV1_Call

type Interface_NodeV1alpha1_Call

type Interface_NodeV1alpha1_Call struct {
	*mock.Call
}

Interface_NodeV1alpha1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeV1alpha1'

func (*Interface_NodeV1alpha1_Call) Return

func (*Interface_NodeV1alpha1_Call) Run

func (*Interface_NodeV1alpha1_Call) RunAndReturn

type Interface_NodeV1beta1_Call

type Interface_NodeV1beta1_Call struct {
	*mock.Call
}

Interface_NodeV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeV1beta1'

func (*Interface_NodeV1beta1_Call) Return

func (*Interface_NodeV1beta1_Call) Run

func (*Interface_NodeV1beta1_Call) RunAndReturn

type Interface_PolicyV1_Call

type Interface_PolicyV1_Call struct {
	*mock.Call
}

Interface_PolicyV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PolicyV1'

func (*Interface_PolicyV1_Call) Return

func (*Interface_PolicyV1_Call) Run

func (_c *Interface_PolicyV1_Call) Run(run func()) *Interface_PolicyV1_Call

func (*Interface_PolicyV1_Call) RunAndReturn

type Interface_PolicyV1beta1_Call

type Interface_PolicyV1beta1_Call struct {
	*mock.Call
}

Interface_PolicyV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PolicyV1beta1'

func (*Interface_PolicyV1beta1_Call) Return

func (*Interface_PolicyV1beta1_Call) Run

func (*Interface_PolicyV1beta1_Call) RunAndReturn

type Interface_RbacV1_Call

type Interface_RbacV1_Call struct {
	*mock.Call
}

Interface_RbacV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RbacV1'

func (*Interface_RbacV1_Call) Return

func (*Interface_RbacV1_Call) Run

func (_c *Interface_RbacV1_Call) Run(run func()) *Interface_RbacV1_Call

func (*Interface_RbacV1_Call) RunAndReturn

func (_c *Interface_RbacV1_Call) RunAndReturn(run func() rbacv1.RbacV1Interface) *Interface_RbacV1_Call

type Interface_RbacV1alpha1_Call

type Interface_RbacV1alpha1_Call struct {
	*mock.Call
}

Interface_RbacV1alpha1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RbacV1alpha1'

func (*Interface_RbacV1alpha1_Call) Return

func (*Interface_RbacV1alpha1_Call) Run

func (*Interface_RbacV1alpha1_Call) RunAndReturn

type Interface_RbacV1beta1_Call

type Interface_RbacV1beta1_Call struct {
	*mock.Call
}

Interface_RbacV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RbacV1beta1'

func (*Interface_RbacV1beta1_Call) Return

func (*Interface_RbacV1beta1_Call) Run

func (*Interface_RbacV1beta1_Call) RunAndReturn

type Interface_SchedulingV1_Call

type Interface_SchedulingV1_Call struct {
	*mock.Call
}

Interface_SchedulingV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SchedulingV1'

func (*Interface_SchedulingV1_Call) Return

func (*Interface_SchedulingV1_Call) Run

func (*Interface_SchedulingV1_Call) RunAndReturn

type Interface_SchedulingV1alpha1_Call

type Interface_SchedulingV1alpha1_Call struct {
	*mock.Call
}

Interface_SchedulingV1alpha1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SchedulingV1alpha1'

func (*Interface_SchedulingV1alpha1_Call) Run

func (*Interface_SchedulingV1alpha1_Call) RunAndReturn

type Interface_SchedulingV1beta1_Call

type Interface_SchedulingV1beta1_Call struct {
	*mock.Call
}

Interface_SchedulingV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SchedulingV1beta1'

func (*Interface_SchedulingV1beta1_Call) Run

func (*Interface_SchedulingV1beta1_Call) RunAndReturn

type Interface_StorageV1_Call

type Interface_StorageV1_Call struct {
	*mock.Call
}

Interface_StorageV1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StorageV1'

func (*Interface_StorageV1_Call) Return

func (*Interface_StorageV1_Call) Run

func (*Interface_StorageV1_Call) RunAndReturn

type Interface_StorageV1alpha1_Call

type Interface_StorageV1alpha1_Call struct {
	*mock.Call
}

Interface_StorageV1alpha1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StorageV1alpha1'

func (*Interface_StorageV1alpha1_Call) Run

func (*Interface_StorageV1alpha1_Call) RunAndReturn

type Interface_StorageV1beta1_Call

type Interface_StorageV1beta1_Call struct {
	*mock.Call
}

Interface_StorageV1beta1_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StorageV1beta1'

func (*Interface_StorageV1beta1_Call) Return

func (*Interface_StorageV1beta1_Call) Run

func (*Interface_StorageV1beta1_Call) RunAndReturn

type PeerFinder

type PeerFinder struct {
	mock.Mock
}

PeerFinder is an autogenerated mock type for the PeerFinder type

func NewPeerFinder

func NewPeerFinder(t interface {
	mock.TestingT
	Cleanup(func())
}) *PeerFinder

NewPeerFinder creates a new instance of PeerFinder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PeerFinder) Start

func (_m *PeerFinder) Start(ctx context.Context) ([]string, <-chan []string, error)

Start provides a mock function with given fields: ctx

type Server

type Server struct {
	mock.Mock
}

Server is an autogenerated mock type for the Server type

func NewServer

func NewServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *Server

NewServer creates a new instance of Server. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Server) ClientConnectionHandler

func (_m *Server) ClientConnectionHandler(ctx context.Context) http.HandlerFunc

ClientConnectionHandler provides a mock function with given fields: ctx

func (*Server) Send

func (_m *Server) Send(ctx context.Context, stream string, msg string) error

Send provides a mock function with given fields: ctx, stream, msg

func (*Server) Start

func (_m *Server) Start(ctx context.Context) error

Start provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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