mocks

package
v1.1.43 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: BSD-3-Clause Imports: 66 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppsV1

type AppsV1 struct {
	mock.Mock
}

AppsV1 is an autogenerated mock type for the AppsV1 type

func NewAppsV1

func NewAppsV1(t interface {
	mock.TestingT
	Cleanup(func())
}) *AppsV1

NewAppsV1 creates a new instance of AppsV1. 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 (*AppsV1) ControllerRevisions

func (_m *AppsV1) ControllerRevisions(namespace string) v1.ControllerRevisionInterface

ControllerRevisions provides a mock function with given fields: namespace

func (*AppsV1) DaemonSets

func (_m *AppsV1) DaemonSets(namespace string) v1.DaemonSetInterface

DaemonSets provides a mock function with given fields: namespace

func (*AppsV1) Deployments

func (_m *AppsV1) Deployments(namespace string) v1.DeploymentInterface

Deployments provides a mock function with given fields: namespace

func (*AppsV1) EXPECT

func (_m *AppsV1) EXPECT() *AppsV1_Expecter

func (*AppsV1) RESTClient

func (_m *AppsV1) RESTClient() rest.Interface

RESTClient provides a mock function with given fields:

func (*AppsV1) ReplicaSets

func (_m *AppsV1) ReplicaSets(namespace string) v1.ReplicaSetInterface

ReplicaSets provides a mock function with given fields: namespace

func (*AppsV1) StatefulSets

func (_m *AppsV1) StatefulSets(namespace string) v1.StatefulSetInterface

StatefulSets provides a mock function with given fields: namespace

type AppsV1_ControllerRevisions_Call

type AppsV1_ControllerRevisions_Call struct {
	*mock.Call
}

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

func (*AppsV1_ControllerRevisions_Call) Return

func (*AppsV1_ControllerRevisions_Call) Run

func (*AppsV1_ControllerRevisions_Call) RunAndReturn added in v1.0.73

type AppsV1_DaemonSets_Call

type AppsV1_DaemonSets_Call struct {
	*mock.Call
}

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

func (*AppsV1_DaemonSets_Call) Return

func (*AppsV1_DaemonSets_Call) Run

func (_c *AppsV1_DaemonSets_Call) Run(run func(namespace string)) *AppsV1_DaemonSets_Call

func (*AppsV1_DaemonSets_Call) RunAndReturn added in v1.0.73

type AppsV1_Deployments_Call

type AppsV1_Deployments_Call struct {
	*mock.Call
}

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

func (*AppsV1_Deployments_Call) Return

func (*AppsV1_Deployments_Call) Run

func (_c *AppsV1_Deployments_Call) Run(run func(namespace string)) *AppsV1_Deployments_Call

func (*AppsV1_Deployments_Call) RunAndReturn added in v1.0.73

type AppsV1_Expecter

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

func (*AppsV1_Expecter) ControllerRevisions

func (_e *AppsV1_Expecter) ControllerRevisions(namespace interface{}) *AppsV1_ControllerRevisions_Call

ControllerRevisions is a helper method to define mock.On call

  • namespace string

func (*AppsV1_Expecter) DaemonSets

func (_e *AppsV1_Expecter) DaemonSets(namespace interface{}) *AppsV1_DaemonSets_Call

DaemonSets is a helper method to define mock.On call

  • namespace string

func (*AppsV1_Expecter) Deployments

func (_e *AppsV1_Expecter) Deployments(namespace interface{}) *AppsV1_Deployments_Call

Deployments is a helper method to define mock.On call

  • namespace string

func (*AppsV1_Expecter) RESTClient

func (_e *AppsV1_Expecter) RESTClient() *AppsV1_RESTClient_Call

RESTClient is a helper method to define mock.On call

func (*AppsV1_Expecter) ReplicaSets

func (_e *AppsV1_Expecter) ReplicaSets(namespace interface{}) *AppsV1_ReplicaSets_Call

ReplicaSets is a helper method to define mock.On call

  • namespace string

func (*AppsV1_Expecter) StatefulSets

func (_e *AppsV1_Expecter) StatefulSets(namespace interface{}) *AppsV1_StatefulSets_Call

StatefulSets is a helper method to define mock.On call

  • namespace string

type AppsV1_RESTClient_Call

type AppsV1_RESTClient_Call struct {
	*mock.Call
}

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

func (*AppsV1_RESTClient_Call) Return

func (*AppsV1_RESTClient_Call) Run

func (_c *AppsV1_RESTClient_Call) Run(run func()) *AppsV1_RESTClient_Call

func (*AppsV1_RESTClient_Call) RunAndReturn added in v1.0.73

func (_c *AppsV1_RESTClient_Call) RunAndReturn(run func() rest.Interface) *AppsV1_RESTClient_Call

type AppsV1_ReplicaSets_Call

type AppsV1_ReplicaSets_Call struct {
	*mock.Call
}

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

func (*AppsV1_ReplicaSets_Call) Return

func (*AppsV1_ReplicaSets_Call) Run

func (_c *AppsV1_ReplicaSets_Call) Run(run func(namespace string)) *AppsV1_ReplicaSets_Call

func (*AppsV1_ReplicaSets_Call) RunAndReturn added in v1.0.73

type AppsV1_StatefulSets_Call

type AppsV1_StatefulSets_Call struct {
	*mock.Call
}

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

func (*AppsV1_StatefulSets_Call) Return

func (*AppsV1_StatefulSets_Call) Run

func (_c *AppsV1_StatefulSets_Call) Run(run func(namespace string)) *AppsV1_StatefulSets_Call

func (*AppsV1_StatefulSets_Call) RunAndReturn added in v1.0.73

type ConfigMaps

type ConfigMaps struct {
	mock.Mock
}

ConfigMaps is an autogenerated mock type for the ConfigMaps type

func NewConfigMaps

func NewConfigMaps(t interface {
	mock.TestingT
	Cleanup(func())
}) *ConfigMaps

NewConfigMaps creates a new instance of ConfigMaps. 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 (*ConfigMaps) Apply

Apply provides a mock function with given fields: ctx, configMap, opts

func (*ConfigMaps) Create

func (_m *ConfigMaps) Create(ctx context.Context, configMap *corev1.ConfigMap, opts metav1.CreateOptions) (*corev1.ConfigMap, error)

Create provides a mock function with given fields: ctx, configMap, opts

func (*ConfigMaps) Delete

func (_m *ConfigMaps) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete provides a mock function with given fields: ctx, name, opts

func (*ConfigMaps) DeleteCollection

func (_m *ConfigMaps) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection provides a mock function with given fields: ctx, opts, listOpts

func (*ConfigMaps) EXPECT

func (_m *ConfigMaps) EXPECT() *ConfigMaps_Expecter

func (*ConfigMaps) Get

func (_m *ConfigMaps) Get(ctx context.Context, name string, opts metav1.GetOptions) (*corev1.ConfigMap, error)

Get provides a mock function with given fields: ctx, name, opts

func (*ConfigMaps) List

List provides a mock function with given fields: ctx, opts

func (*ConfigMaps) Patch

func (_m *ConfigMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*corev1.ConfigMap, error)

Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources

func (*ConfigMaps) Update

func (_m *ConfigMaps) Update(ctx context.Context, configMap *corev1.ConfigMap, opts metav1.UpdateOptions) (*corev1.ConfigMap, error)

Update provides a mock function with given fields: ctx, configMap, opts

func (*ConfigMaps) Watch

func (_m *ConfigMaps) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)

Watch provides a mock function with given fields: ctx, opts

type ConfigMaps_Apply_Call

type ConfigMaps_Apply_Call struct {
	*mock.Call
}

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

func (*ConfigMaps_Apply_Call) Return

func (*ConfigMaps_Apply_Call) Run

func (*ConfigMaps_Apply_Call) RunAndReturn added in v1.0.73

type ConfigMaps_Create_Call

type ConfigMaps_Create_Call struct {
	*mock.Call
}

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

func (*ConfigMaps_Create_Call) Return

func (*ConfigMaps_Create_Call) Run

func (*ConfigMaps_Create_Call) RunAndReturn added in v1.0.73

type ConfigMaps_DeleteCollection_Call

type ConfigMaps_DeleteCollection_Call struct {
	*mock.Call
}

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

func (*ConfigMaps_DeleteCollection_Call) Return

func (*ConfigMaps_DeleteCollection_Call) Run

func (*ConfigMaps_DeleteCollection_Call) RunAndReturn added in v1.0.73

type ConfigMaps_Delete_Call

type ConfigMaps_Delete_Call struct {
	*mock.Call
}

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

func (*ConfigMaps_Delete_Call) Return

func (*ConfigMaps_Delete_Call) Run

func (*ConfigMaps_Delete_Call) RunAndReturn added in v1.0.73

type ConfigMaps_Expecter

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

func (*ConfigMaps_Expecter) Apply

func (_e *ConfigMaps_Expecter) Apply(ctx interface{}, configMap interface{}, opts interface{}) *ConfigMaps_Apply_Call

Apply is a helper method to define mock.On call

  • ctx context.Context
  • configMap *v1.ConfigMapApplyConfiguration
  • opts metav1.ApplyOptions

func (*ConfigMaps_Expecter) Create

func (_e *ConfigMaps_Expecter) Create(ctx interface{}, configMap interface{}, opts interface{}) *ConfigMaps_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • configMap *corev1.ConfigMap
  • opts metav1.CreateOptions

func (*ConfigMaps_Expecter) Delete

func (_e *ConfigMaps_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *ConfigMaps_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • opts metav1.DeleteOptions

func (*ConfigMaps_Expecter) DeleteCollection

func (_e *ConfigMaps_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *ConfigMaps_DeleteCollection_Call

DeleteCollection is a helper method to define mock.On call

  • ctx context.Context
  • opts metav1.DeleteOptions
  • listOpts metav1.ListOptions

func (*ConfigMaps_Expecter) Get

func (_e *ConfigMaps_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *ConfigMaps_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • opts metav1.GetOptions

func (*ConfigMaps_Expecter) List

func (_e *ConfigMaps_Expecter) List(ctx interface{}, opts interface{}) *ConfigMaps_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • opts metav1.ListOptions

func (*ConfigMaps_Expecter) Patch

func (_e *ConfigMaps_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, opts interface{}, subresources ...interface{}) *ConfigMaps_Patch_Call

Patch is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • pt types.PatchType
  • data []byte
  • opts metav1.PatchOptions
  • subresources ...string

func (*ConfigMaps_Expecter) Update

func (_e *ConfigMaps_Expecter) Update(ctx interface{}, configMap interface{}, opts interface{}) *ConfigMaps_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • configMap *corev1.ConfigMap
  • opts metav1.UpdateOptions

func (*ConfigMaps_Expecter) Watch

func (_e *ConfigMaps_Expecter) Watch(ctx interface{}, opts interface{}) *ConfigMaps_Watch_Call

Watch is a helper method to define mock.On call

  • ctx context.Context
  • opts metav1.ListOptions

type ConfigMaps_Get_Call

type ConfigMaps_Get_Call struct {
	*mock.Call
}

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

func (*ConfigMaps_Get_Call) Return

func (*ConfigMaps_Get_Call) Run

func (_c *ConfigMaps_Get_Call) Run(run func(ctx context.Context, name string, opts metav1.GetOptions)) *ConfigMaps_Get_Call

func (*ConfigMaps_Get_Call) RunAndReturn added in v1.0.73

type ConfigMaps_List_Call

type ConfigMaps_List_Call struct {
	*mock.Call
}

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

func (*ConfigMaps_List_Call) Return

func (*ConfigMaps_List_Call) Run

func (*ConfigMaps_List_Call) RunAndReturn added in v1.0.73

type ConfigMaps_Patch_Call

type ConfigMaps_Patch_Call struct {
	*mock.Call
}

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

func (*ConfigMaps_Patch_Call) Return

func (*ConfigMaps_Patch_Call) Run

func (_c *ConfigMaps_Patch_Call) Run(run func(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string)) *ConfigMaps_Patch_Call

func (*ConfigMaps_Patch_Call) RunAndReturn added in v1.0.73

type ConfigMaps_Update_Call

type ConfigMaps_Update_Call struct {
	*mock.Call
}

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

func (*ConfigMaps_Update_Call) Return

func (*ConfigMaps_Update_Call) Run

func (*ConfigMaps_Update_Call) RunAndReturn added in v1.0.73

type ConfigMaps_Watch_Call

type ConfigMaps_Watch_Call struct {
	*mock.Call
}

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

func (*ConfigMaps_Watch_Call) Return

func (*ConfigMaps_Watch_Call) Run

func (*ConfigMaps_Watch_Call) RunAndReturn added in v1.0.73

type CoreV1

type CoreV1 struct {
	mock.Mock
}

CoreV1 is an autogenerated mock type for the CoreV1 type

func NewCoreV1

func NewCoreV1(t interface {
	mock.TestingT
	Cleanup(func())
}) *CoreV1

NewCoreV1 creates a new instance of CoreV1. 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 (*CoreV1) ComponentStatuses

func (_m *CoreV1) ComponentStatuses() v1.ComponentStatusInterface

ComponentStatuses provides a mock function with given fields:

func (*CoreV1) ConfigMaps

func (_m *CoreV1) ConfigMaps(namespace string) v1.ConfigMapInterface

ConfigMaps provides a mock function with given fields: namespace

func (*CoreV1) EXPECT

func (_m *CoreV1) EXPECT() *CoreV1_Expecter

func (*CoreV1) Endpoints

func (_m *CoreV1) Endpoints(namespace string) v1.EndpointsInterface

Endpoints provides a mock function with given fields: namespace

func (*CoreV1) Events

func (_m *CoreV1) Events(namespace string) v1.EventInterface

Events provides a mock function with given fields: namespace

func (*CoreV1) LimitRanges

func (_m *CoreV1) LimitRanges(namespace string) v1.LimitRangeInterface

LimitRanges provides a mock function with given fields: namespace

func (*CoreV1) Namespaces

func (_m *CoreV1) Namespaces() v1.NamespaceInterface

Namespaces provides a mock function with given fields:

func (*CoreV1) Nodes

func (_m *CoreV1) Nodes() v1.NodeInterface

Nodes provides a mock function with given fields:

func (*CoreV1) PersistentVolumeClaims

func (_m *CoreV1) PersistentVolumeClaims(namespace string) v1.PersistentVolumeClaimInterface

PersistentVolumeClaims provides a mock function with given fields: namespace

func (*CoreV1) PersistentVolumes

func (_m *CoreV1) PersistentVolumes() v1.PersistentVolumeInterface

PersistentVolumes provides a mock function with given fields:

func (*CoreV1) PodTemplates

func (_m *CoreV1) PodTemplates(namespace string) v1.PodTemplateInterface

PodTemplates provides a mock function with given fields: namespace

func (*CoreV1) Pods

func (_m *CoreV1) Pods(namespace string) v1.PodInterface

Pods provides a mock function with given fields: namespace

func (*CoreV1) RESTClient

func (_m *CoreV1) RESTClient() rest.Interface

RESTClient provides a mock function with given fields:

func (*CoreV1) ReplicationControllers

func (_m *CoreV1) ReplicationControllers(namespace string) v1.ReplicationControllerInterface

ReplicationControllers provides a mock function with given fields: namespace

func (*CoreV1) ResourceQuotas

func (_m *CoreV1) ResourceQuotas(namespace string) v1.ResourceQuotaInterface

ResourceQuotas provides a mock function with given fields: namespace

func (*CoreV1) Secrets

func (_m *CoreV1) Secrets(namespace string) v1.SecretInterface

Secrets provides a mock function with given fields: namespace

func (*CoreV1) ServiceAccounts

func (_m *CoreV1) ServiceAccounts(namespace string) v1.ServiceAccountInterface

ServiceAccounts provides a mock function with given fields: namespace

func (*CoreV1) Services

func (_m *CoreV1) Services(namespace string) v1.ServiceInterface

Services provides a mock function with given fields: namespace

type CoreV1_ComponentStatuses_Call

type CoreV1_ComponentStatuses_Call struct {
	*mock.Call
}

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

func (*CoreV1_ComponentStatuses_Call) Return

func (*CoreV1_ComponentStatuses_Call) Run

func (*CoreV1_ComponentStatuses_Call) RunAndReturn added in v1.0.73

type CoreV1_ConfigMaps_Call

type CoreV1_ConfigMaps_Call struct {
	*mock.Call
}

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

func (*CoreV1_ConfigMaps_Call) Return

func (*CoreV1_ConfigMaps_Call) Run

func (_c *CoreV1_ConfigMaps_Call) Run(run func(namespace string)) *CoreV1_ConfigMaps_Call

func (*CoreV1_ConfigMaps_Call) RunAndReturn added in v1.0.73

type CoreV1_Endpoints_Call

type CoreV1_Endpoints_Call struct {
	*mock.Call
}

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

func (*CoreV1_Endpoints_Call) Return

func (*CoreV1_Endpoints_Call) Run

func (_c *CoreV1_Endpoints_Call) Run(run func(namespace string)) *CoreV1_Endpoints_Call

func (*CoreV1_Endpoints_Call) RunAndReturn added in v1.0.73

type CoreV1_Events_Call

type CoreV1_Events_Call struct {
	*mock.Call
}

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

func (*CoreV1_Events_Call) Return

func (*CoreV1_Events_Call) Run

func (_c *CoreV1_Events_Call) Run(run func(namespace string)) *CoreV1_Events_Call

func (*CoreV1_Events_Call) RunAndReturn added in v1.0.73

func (_c *CoreV1_Events_Call) RunAndReturn(run func(string) v1.EventInterface) *CoreV1_Events_Call

type CoreV1_Expecter

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

func (*CoreV1_Expecter) ComponentStatuses

func (_e *CoreV1_Expecter) ComponentStatuses() *CoreV1_ComponentStatuses_Call

ComponentStatuses is a helper method to define mock.On call

func (*CoreV1_Expecter) ConfigMaps

func (_e *CoreV1_Expecter) ConfigMaps(namespace interface{}) *CoreV1_ConfigMaps_Call

ConfigMaps is a helper method to define mock.On call

  • namespace string

func (*CoreV1_Expecter) Endpoints

func (_e *CoreV1_Expecter) Endpoints(namespace interface{}) *CoreV1_Endpoints_Call

Endpoints is a helper method to define mock.On call

  • namespace string

func (*CoreV1_Expecter) Events

func (_e *CoreV1_Expecter) Events(namespace interface{}) *CoreV1_Events_Call

Events is a helper method to define mock.On call

  • namespace string

func (*CoreV1_Expecter) LimitRanges

func (_e *CoreV1_Expecter) LimitRanges(namespace interface{}) *CoreV1_LimitRanges_Call

LimitRanges is a helper method to define mock.On call

  • namespace string

func (*CoreV1_Expecter) Namespaces

func (_e *CoreV1_Expecter) Namespaces() *CoreV1_Namespaces_Call

Namespaces is a helper method to define mock.On call

func (*CoreV1_Expecter) Nodes

func (_e *CoreV1_Expecter) Nodes() *CoreV1_Nodes_Call

Nodes is a helper method to define mock.On call

func (*CoreV1_Expecter) PersistentVolumeClaims

func (_e *CoreV1_Expecter) PersistentVolumeClaims(namespace interface{}) *CoreV1_PersistentVolumeClaims_Call

PersistentVolumeClaims is a helper method to define mock.On call

  • namespace string

func (*CoreV1_Expecter) PersistentVolumes

func (_e *CoreV1_Expecter) PersistentVolumes() *CoreV1_PersistentVolumes_Call

PersistentVolumes is a helper method to define mock.On call

func (*CoreV1_Expecter) PodTemplates

func (_e *CoreV1_Expecter) PodTemplates(namespace interface{}) *CoreV1_PodTemplates_Call

PodTemplates is a helper method to define mock.On call

  • namespace string

func (*CoreV1_Expecter) Pods

func (_e *CoreV1_Expecter) Pods(namespace interface{}) *CoreV1_Pods_Call

Pods is a helper method to define mock.On call

  • namespace string

func (*CoreV1_Expecter) RESTClient

func (_e *CoreV1_Expecter) RESTClient() *CoreV1_RESTClient_Call

RESTClient is a helper method to define mock.On call

func (*CoreV1_Expecter) ReplicationControllers

func (_e *CoreV1_Expecter) ReplicationControllers(namespace interface{}) *CoreV1_ReplicationControllers_Call

ReplicationControllers is a helper method to define mock.On call

  • namespace string

func (*CoreV1_Expecter) ResourceQuotas

func (_e *CoreV1_Expecter) ResourceQuotas(namespace interface{}) *CoreV1_ResourceQuotas_Call

ResourceQuotas is a helper method to define mock.On call

  • namespace string

func (*CoreV1_Expecter) Secrets

func (_e *CoreV1_Expecter) Secrets(namespace interface{}) *CoreV1_Secrets_Call

Secrets is a helper method to define mock.On call

  • namespace string

func (*CoreV1_Expecter) ServiceAccounts

func (_e *CoreV1_Expecter) ServiceAccounts(namespace interface{}) *CoreV1_ServiceAccounts_Call

ServiceAccounts is a helper method to define mock.On call

  • namespace string

func (*CoreV1_Expecter) Services

func (_e *CoreV1_Expecter) Services(namespace interface{}) *CoreV1_Services_Call

Services is a helper method to define mock.On call

  • namespace string

type CoreV1_LimitRanges_Call

type CoreV1_LimitRanges_Call struct {
	*mock.Call
}

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

func (*CoreV1_LimitRanges_Call) Return

func (*CoreV1_LimitRanges_Call) Run

func (_c *CoreV1_LimitRanges_Call) Run(run func(namespace string)) *CoreV1_LimitRanges_Call

func (*CoreV1_LimitRanges_Call) RunAndReturn added in v1.0.73

type CoreV1_Namespaces_Call

type CoreV1_Namespaces_Call struct {
	*mock.Call
}

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

func (*CoreV1_Namespaces_Call) Return

func (*CoreV1_Namespaces_Call) Run

func (_c *CoreV1_Namespaces_Call) Run(run func()) *CoreV1_Namespaces_Call

func (*CoreV1_Namespaces_Call) RunAndReturn added in v1.0.73

type CoreV1_Nodes_Call

type CoreV1_Nodes_Call struct {
	*mock.Call
}

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

func (*CoreV1_Nodes_Call) Return

func (*CoreV1_Nodes_Call) Run

func (_c *CoreV1_Nodes_Call) Run(run func()) *CoreV1_Nodes_Call

func (*CoreV1_Nodes_Call) RunAndReturn added in v1.0.73

func (_c *CoreV1_Nodes_Call) RunAndReturn(run func() v1.NodeInterface) *CoreV1_Nodes_Call

type CoreV1_PersistentVolumeClaims_Call

type CoreV1_PersistentVolumeClaims_Call struct {
	*mock.Call
}

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

func (*CoreV1_PersistentVolumeClaims_Call) Return

func (*CoreV1_PersistentVolumeClaims_Call) Run

func (*CoreV1_PersistentVolumeClaims_Call) RunAndReturn added in v1.0.73

type CoreV1_PersistentVolumes_Call

type CoreV1_PersistentVolumes_Call struct {
	*mock.Call
}

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

func (*CoreV1_PersistentVolumes_Call) Return

func (*CoreV1_PersistentVolumes_Call) Run

func (*CoreV1_PersistentVolumes_Call) RunAndReturn added in v1.0.73

type CoreV1_PodTemplates_Call

type CoreV1_PodTemplates_Call struct {
	*mock.Call
}

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

func (*CoreV1_PodTemplates_Call) Return

func (*CoreV1_PodTemplates_Call) Run

func (_c *CoreV1_PodTemplates_Call) Run(run func(namespace string)) *CoreV1_PodTemplates_Call

func (*CoreV1_PodTemplates_Call) RunAndReturn added in v1.0.73

type CoreV1_Pods_Call

type CoreV1_Pods_Call struct {
	*mock.Call
}

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

func (*CoreV1_Pods_Call) Return

func (*CoreV1_Pods_Call) Run

func (_c *CoreV1_Pods_Call) Run(run func(namespace string)) *CoreV1_Pods_Call

func (*CoreV1_Pods_Call) RunAndReturn added in v1.0.73

func (_c *CoreV1_Pods_Call) RunAndReturn(run func(string) v1.PodInterface) *CoreV1_Pods_Call

type CoreV1_RESTClient_Call

type CoreV1_RESTClient_Call struct {
	*mock.Call
}

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

func (*CoreV1_RESTClient_Call) Return

func (*CoreV1_RESTClient_Call) Run

func (_c *CoreV1_RESTClient_Call) Run(run func()) *CoreV1_RESTClient_Call

func (*CoreV1_RESTClient_Call) RunAndReturn added in v1.0.73

func (_c *CoreV1_RESTClient_Call) RunAndReturn(run func() rest.Interface) *CoreV1_RESTClient_Call

type CoreV1_ReplicationControllers_Call

type CoreV1_ReplicationControllers_Call struct {
	*mock.Call
}

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

func (*CoreV1_ReplicationControllers_Call) Return

func (*CoreV1_ReplicationControllers_Call) Run

func (*CoreV1_ReplicationControllers_Call) RunAndReturn added in v1.0.73

type CoreV1_ResourceQuotas_Call

type CoreV1_ResourceQuotas_Call struct {
	*mock.Call
}

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

func (*CoreV1_ResourceQuotas_Call) Return

func (*CoreV1_ResourceQuotas_Call) Run

func (_c *CoreV1_ResourceQuotas_Call) Run(run func(namespace string)) *CoreV1_ResourceQuotas_Call

func (*CoreV1_ResourceQuotas_Call) RunAndReturn added in v1.0.73

type CoreV1_Secrets_Call

type CoreV1_Secrets_Call struct {
	*mock.Call
}

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

func (*CoreV1_Secrets_Call) Return

func (*CoreV1_Secrets_Call) Run

func (_c *CoreV1_Secrets_Call) Run(run func(namespace string)) *CoreV1_Secrets_Call

func (*CoreV1_Secrets_Call) RunAndReturn added in v1.0.73

func (_c *CoreV1_Secrets_Call) RunAndReturn(run func(string) v1.SecretInterface) *CoreV1_Secrets_Call

type CoreV1_ServiceAccounts_Call

type CoreV1_ServiceAccounts_Call struct {
	*mock.Call
}

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

func (*CoreV1_ServiceAccounts_Call) Return

func (*CoreV1_ServiceAccounts_Call) Run

func (_c *CoreV1_ServiceAccounts_Call) Run(run func(namespace string)) *CoreV1_ServiceAccounts_Call

func (*CoreV1_ServiceAccounts_Call) RunAndReturn added in v1.0.73

type CoreV1_Services_Call

type CoreV1_Services_Call struct {
	*mock.Call
}

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

func (*CoreV1_Services_Call) Return

func (*CoreV1_Services_Call) Run

func (_c *CoreV1_Services_Call) Run(run func(namespace string)) *CoreV1_Services_Call

func (*CoreV1_Services_Call) RunAndReturn added in v1.0.73

type Deployments

type Deployments struct {
	mock.Mock
}

Deployments is an autogenerated mock type for the Deployments type

func NewDeployments

func NewDeployments(t interface {
	mock.TestingT
	Cleanup(func())
}) *Deployments

NewDeployments creates a new instance of Deployments. 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 (*Deployments) Apply

Apply provides a mock function with given fields: ctx, deployment, opts

func (*Deployments) ApplyScale

ApplyScale provides a mock function with given fields: ctx, deploymentName, scale, opts

func (*Deployments) ApplyStatus

ApplyStatus provides a mock function with given fields: ctx, deployment, opts

func (*Deployments) Create

func (_m *Deployments) Create(ctx context.Context, deployment *appsv1.Deployment, opts metav1.CreateOptions) (*appsv1.Deployment, error)

Create provides a mock function with given fields: ctx, deployment, opts

func (*Deployments) Delete

func (_m *Deployments) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete provides a mock function with given fields: ctx, name, opts

func (*Deployments) DeleteCollection

func (_m *Deployments) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection provides a mock function with given fields: ctx, opts, listOpts

func (*Deployments) EXPECT

func (_m *Deployments) EXPECT() *Deployments_Expecter

func (*Deployments) Get

func (_m *Deployments) Get(ctx context.Context, name string, opts metav1.GetOptions) (*appsv1.Deployment, error)

Get provides a mock function with given fields: ctx, name, opts

func (*Deployments) GetScale

func (_m *Deployments) GetScale(ctx context.Context, deploymentName string, options metav1.GetOptions) (*apiautoscalingv1.Scale, error)

GetScale provides a mock function with given fields: ctx, deploymentName, options

func (*Deployments) List

List provides a mock function with given fields: ctx, opts

func (*Deployments) Patch

func (_m *Deployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*appsv1.Deployment, error)

Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources

func (*Deployments) Update

func (_m *Deployments) Update(ctx context.Context, deployment *appsv1.Deployment, opts metav1.UpdateOptions) (*appsv1.Deployment, error)

Update provides a mock function with given fields: ctx, deployment, opts

func (*Deployments) UpdateScale

func (_m *Deployments) UpdateScale(ctx context.Context, deploymentName string, scale *apiautoscalingv1.Scale, opts metav1.UpdateOptions) (*apiautoscalingv1.Scale, error)

UpdateScale provides a mock function with given fields: ctx, deploymentName, scale, opts

func (*Deployments) UpdateStatus

func (_m *Deployments) UpdateStatus(ctx context.Context, deployment *appsv1.Deployment, opts metav1.UpdateOptions) (*appsv1.Deployment, error)

UpdateStatus provides a mock function with given fields: ctx, deployment, opts

func (*Deployments) Watch

Watch provides a mock function with given fields: ctx, opts

type Deployments_ApplyScale_Call

type Deployments_ApplyScale_Call struct {
	*mock.Call
}

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

func (*Deployments_ApplyScale_Call) Return

func (*Deployments_ApplyScale_Call) Run

func (*Deployments_ApplyScale_Call) RunAndReturn added in v1.0.73

type Deployments_ApplyStatus_Call

type Deployments_ApplyStatus_Call struct {
	*mock.Call
}

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

func (*Deployments_ApplyStatus_Call) Return

func (*Deployments_ApplyStatus_Call) Run

func (*Deployments_ApplyStatus_Call) RunAndReturn added in v1.0.73

type Deployments_Apply_Call

type Deployments_Apply_Call struct {
	*mock.Call
}

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

func (*Deployments_Apply_Call) Return

func (*Deployments_Apply_Call) Run

func (*Deployments_Apply_Call) RunAndReturn added in v1.0.73

type Deployments_Create_Call

type Deployments_Create_Call struct {
	*mock.Call
}

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

func (*Deployments_Create_Call) Return

func (*Deployments_Create_Call) Run

func (*Deployments_Create_Call) RunAndReturn added in v1.0.73

type Deployments_DeleteCollection_Call

type Deployments_DeleteCollection_Call struct {
	*mock.Call
}

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

func (*Deployments_DeleteCollection_Call) Return

func (*Deployments_DeleteCollection_Call) Run

func (*Deployments_DeleteCollection_Call) RunAndReturn added in v1.0.73

type Deployments_Delete_Call

type Deployments_Delete_Call struct {
	*mock.Call
}

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

func (*Deployments_Delete_Call) Return

func (*Deployments_Delete_Call) Run

func (*Deployments_Delete_Call) RunAndReturn added in v1.0.73

type Deployments_Expecter

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

func (*Deployments_Expecter) Apply

func (_e *Deployments_Expecter) Apply(ctx interface{}, deployment interface{}, opts interface{}) *Deployments_Apply_Call

Apply is a helper method to define mock.On call

  • ctx context.Context
  • deployment *v1.DeploymentApplyConfiguration
  • opts metav1.ApplyOptions

func (*Deployments_Expecter) ApplyScale

func (_e *Deployments_Expecter) ApplyScale(ctx interface{}, deploymentName interface{}, scale interface{}, opts interface{}) *Deployments_ApplyScale_Call

ApplyScale is a helper method to define mock.On call

  • ctx context.Context
  • deploymentName string
  • scale *autoscalingv1.ScaleApplyConfiguration
  • opts metav1.ApplyOptions

func (*Deployments_Expecter) ApplyStatus

func (_e *Deployments_Expecter) ApplyStatus(ctx interface{}, deployment interface{}, opts interface{}) *Deployments_ApplyStatus_Call

ApplyStatus is a helper method to define mock.On call

  • ctx context.Context
  • deployment *v1.DeploymentApplyConfiguration
  • opts metav1.ApplyOptions

func (*Deployments_Expecter) Create

func (_e *Deployments_Expecter) Create(ctx interface{}, deployment interface{}, opts interface{}) *Deployments_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • deployment *appsv1.Deployment
  • opts metav1.CreateOptions

func (*Deployments_Expecter) Delete

func (_e *Deployments_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *Deployments_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • opts metav1.DeleteOptions

func (*Deployments_Expecter) DeleteCollection

func (_e *Deployments_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *Deployments_DeleteCollection_Call

DeleteCollection is a helper method to define mock.On call

  • ctx context.Context
  • opts metav1.DeleteOptions
  • listOpts metav1.ListOptions

func (*Deployments_Expecter) Get

func (_e *Deployments_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *Deployments_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • opts metav1.GetOptions

func (*Deployments_Expecter) GetScale

func (_e *Deployments_Expecter) GetScale(ctx interface{}, deploymentName interface{}, options interface{}) *Deployments_GetScale_Call

GetScale is a helper method to define mock.On call

  • ctx context.Context
  • deploymentName string
  • options metav1.GetOptions

func (*Deployments_Expecter) List

func (_e *Deployments_Expecter) List(ctx interface{}, opts interface{}) *Deployments_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • opts metav1.ListOptions

func (*Deployments_Expecter) Patch

func (_e *Deployments_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, opts interface{}, subresources ...interface{}) *Deployments_Patch_Call

Patch is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • pt types.PatchType
  • data []byte
  • opts metav1.PatchOptions
  • subresources ...string

func (*Deployments_Expecter) Update

func (_e *Deployments_Expecter) Update(ctx interface{}, deployment interface{}, opts interface{}) *Deployments_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • deployment *appsv1.Deployment
  • opts metav1.UpdateOptions

func (*Deployments_Expecter) UpdateScale

func (_e *Deployments_Expecter) UpdateScale(ctx interface{}, deploymentName interface{}, scale interface{}, opts interface{}) *Deployments_UpdateScale_Call

UpdateScale is a helper method to define mock.On call

  • ctx context.Context
  • deploymentName string
  • scale *apiautoscalingv1.Scale
  • opts metav1.UpdateOptions

func (*Deployments_Expecter) UpdateStatus

func (_e *Deployments_Expecter) UpdateStatus(ctx interface{}, deployment interface{}, opts interface{}) *Deployments_UpdateStatus_Call

UpdateStatus is a helper method to define mock.On call

  • ctx context.Context
  • deployment *appsv1.Deployment
  • opts metav1.UpdateOptions

func (*Deployments_Expecter) Watch

func (_e *Deployments_Expecter) Watch(ctx interface{}, opts interface{}) *Deployments_Watch_Call

Watch is a helper method to define mock.On call

  • ctx context.Context
  • opts metav1.ListOptions

type Deployments_GetScale_Call

type Deployments_GetScale_Call struct {
	*mock.Call
}

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

func (*Deployments_GetScale_Call) Return

func (*Deployments_GetScale_Call) Run

func (_c *Deployments_GetScale_Call) Run(run func(ctx context.Context, deploymentName string, options metav1.GetOptions)) *Deployments_GetScale_Call

func (*Deployments_GetScale_Call) RunAndReturn added in v1.0.73

type Deployments_Get_Call

type Deployments_Get_Call struct {
	*mock.Call
}

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

func (*Deployments_Get_Call) Return

func (*Deployments_Get_Call) Run

func (_c *Deployments_Get_Call) Run(run func(ctx context.Context, name string, opts metav1.GetOptions)) *Deployments_Get_Call

func (*Deployments_Get_Call) RunAndReturn added in v1.0.73

type Deployments_List_Call

type Deployments_List_Call struct {
	*mock.Call
}

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

func (*Deployments_List_Call) Return

func (*Deployments_List_Call) Run

func (*Deployments_List_Call) RunAndReturn added in v1.0.73

type Deployments_Patch_Call

type Deployments_Patch_Call struct {
	*mock.Call
}

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

func (*Deployments_Patch_Call) Return

func (*Deployments_Patch_Call) Run

func (_c *Deployments_Patch_Call) Run(run func(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string)) *Deployments_Patch_Call

func (*Deployments_Patch_Call) RunAndReturn added in v1.0.73

type Deployments_UpdateScale_Call

type Deployments_UpdateScale_Call struct {
	*mock.Call
}

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

func (*Deployments_UpdateScale_Call) Return

func (*Deployments_UpdateScale_Call) Run

func (*Deployments_UpdateScale_Call) RunAndReturn added in v1.0.73

type Deployments_UpdateStatus_Call

type Deployments_UpdateStatus_Call struct {
	*mock.Call
}

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

func (*Deployments_UpdateStatus_Call) Return

func (*Deployments_UpdateStatus_Call) Run

func (*Deployments_UpdateStatus_Call) RunAndReturn added in v1.0.73

type Deployments_Update_Call

type Deployments_Update_Call struct {
	*mock.Call
}

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

func (*Deployments_Update_Call) Return

func (*Deployments_Update_Call) Run

func (*Deployments_Update_Call) RunAndReturn added in v1.0.73

type Deployments_Watch_Call

type Deployments_Watch_Call struct {
	*mock.Call
}

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

func (*Deployments_Watch_Call) Return

func (*Deployments_Watch_Call) Run

func (*Deployments_Watch_Call) RunAndReturn added in v1.0.73

type KubeClient

type KubeClient struct {
	mock.Mock
}

KubeClient is an autogenerated mock type for the KubeClient type

func NewKubeClient

func NewKubeClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *KubeClient

NewKubeClient creates a new instance of KubeClient. 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 (*KubeClient) AdmissionregistrationV1

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

AdmissionregistrationV1 provides a mock function with given fields:

func (*KubeClient) AdmissionregistrationV1alpha1 added in v1.0.91

func (_m *KubeClient) AdmissionregistrationV1alpha1() v1alpha1.AdmissionregistrationV1alpha1Interface

AdmissionregistrationV1alpha1 provides a mock function with given fields:

func (*KubeClient) AdmissionregistrationV1beta1

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

AdmissionregistrationV1beta1 provides a mock function with given fields:

func (*KubeClient) AppsV1

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

AppsV1 provides a mock function with given fields:

func (*KubeClient) AppsV1beta1

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

AppsV1beta1 provides a mock function with given fields:

func (*KubeClient) AppsV1beta2

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

AppsV1beta2 provides a mock function with given fields:

func (*KubeClient) AuthenticationV1

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

AuthenticationV1 provides a mock function with given fields:

func (*KubeClient) AuthenticationV1alpha1 added in v1.0.91

AuthenticationV1alpha1 provides a mock function with given fields:

func (*KubeClient) AuthenticationV1beta1

AuthenticationV1beta1 provides a mock function with given fields:

func (*KubeClient) AuthorizationV1

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

AuthorizationV1 provides a mock function with given fields:

func (*KubeClient) AuthorizationV1beta1

AuthorizationV1beta1 provides a mock function with given fields:

func (*KubeClient) AutoscalingV1

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

AutoscalingV1 provides a mock function with given fields:

func (*KubeClient) AutoscalingV2

func (_m *KubeClient) AutoscalingV2() v2.AutoscalingV2Interface

AutoscalingV2 provides a mock function with given fields:

func (*KubeClient) AutoscalingV2beta1

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

AutoscalingV2beta1 provides a mock function with given fields:

func (*KubeClient) AutoscalingV2beta2

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

AutoscalingV2beta2 provides a mock function with given fields:

func (*KubeClient) BatchV1

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

BatchV1 provides a mock function with given fields:

func (*KubeClient) BatchV1beta1

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

BatchV1beta1 provides a mock function with given fields:

func (*KubeClient) CertificatesV1

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

CertificatesV1 provides a mock function with given fields:

func (*KubeClient) CertificatesV1alpha1 added in v1.0.91

CertificatesV1alpha1 provides a mock function with given fields:

func (*KubeClient) CertificatesV1beta1

CertificatesV1beta1 provides a mock function with given fields:

func (*KubeClient) CoordinationV1

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

CoordinationV1 provides a mock function with given fields:

func (*KubeClient) CoordinationV1beta1

CoordinationV1beta1 provides a mock function with given fields:

func (*KubeClient) CoreV1

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

CoreV1 provides a mock function with given fields:

func (*KubeClient) Discovery

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

Discovery provides a mock function with given fields:

func (*KubeClient) DiscoveryV1

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

DiscoveryV1 provides a mock function with given fields:

func (*KubeClient) DiscoveryV1beta1

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

DiscoveryV1beta1 provides a mock function with given fields:

func (*KubeClient) EXPECT

func (_m *KubeClient) EXPECT() *KubeClient_Expecter

func (*KubeClient) EventsV1

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

EventsV1 provides a mock function with given fields:

func (*KubeClient) EventsV1beta1

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

EventsV1beta1 provides a mock function with given fields:

func (*KubeClient) ExtensionsV1beta1

ExtensionsV1beta1 provides a mock function with given fields:

func (*KubeClient) FlowcontrolV1alpha1

FlowcontrolV1alpha1 provides a mock function with given fields:

func (*KubeClient) FlowcontrolV1beta1

FlowcontrolV1beta1 provides a mock function with given fields:

func (*KubeClient) FlowcontrolV1beta2

FlowcontrolV1beta2 provides a mock function with given fields:

func (*KubeClient) FlowcontrolV1beta3 added in v1.0.91

func (_m *KubeClient) FlowcontrolV1beta3() v1beta3.FlowcontrolV1beta3Interface

FlowcontrolV1beta3 provides a mock function with given fields:

func (*KubeClient) InternalV1alpha1

InternalV1alpha1 provides a mock function with given fields:

func (*KubeClient) NetworkingV1

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

NetworkingV1 provides a mock function with given fields:

func (*KubeClient) NetworkingV1alpha1 added in v1.0.91

NetworkingV1alpha1 provides a mock function with given fields:

func (*KubeClient) NetworkingV1beta1

NetworkingV1beta1 provides a mock function with given fields:

func (*KubeClient) NodeV1

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

NodeV1 provides a mock function with given fields:

func (*KubeClient) NodeV1alpha1

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

NodeV1alpha1 provides a mock function with given fields:

func (*KubeClient) NodeV1beta1

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

NodeV1beta1 provides a mock function with given fields:

func (*KubeClient) PolicyV1

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

PolicyV1 provides a mock function with given fields:

func (*KubeClient) PolicyV1beta1

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

PolicyV1beta1 provides a mock function with given fields:

func (*KubeClient) RbacV1

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

RbacV1 provides a mock function with given fields:

func (*KubeClient) RbacV1alpha1

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

RbacV1alpha1 provides a mock function with given fields:

func (*KubeClient) RbacV1beta1

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

RbacV1beta1 provides a mock function with given fields:

func (*KubeClient) ResourceV1alpha2 added in v1.0.91

func (_m *KubeClient) ResourceV1alpha2() v1alpha2.ResourceV1alpha2Interface

ResourceV1alpha2 provides a mock function with given fields:

func (*KubeClient) SchedulingV1

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

SchedulingV1 provides a mock function with given fields:

func (*KubeClient) SchedulingV1alpha1

SchedulingV1alpha1 provides a mock function with given fields:

func (*KubeClient) SchedulingV1beta1

SchedulingV1beta1 provides a mock function with given fields:

func (*KubeClient) StorageV1

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

StorageV1 provides a mock function with given fields:

func (*KubeClient) StorageV1alpha1

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

StorageV1alpha1 provides a mock function with given fields:

func (*KubeClient) StorageV1beta1

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

StorageV1beta1 provides a mock function with given fields:

type KubeClient_AdmissionregistrationV1_Call

type KubeClient_AdmissionregistrationV1_Call struct {
	*mock.Call
}

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

func (*KubeClient_AdmissionregistrationV1_Call) Run

func (*KubeClient_AdmissionregistrationV1_Call) RunAndReturn added in v1.0.73

type KubeClient_AdmissionregistrationV1alpha1_Call added in v1.0.91

type KubeClient_AdmissionregistrationV1alpha1_Call struct {
	*mock.Call
}

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

func (*KubeClient_AdmissionregistrationV1alpha1_Call) Return added in v1.0.91

func (*KubeClient_AdmissionregistrationV1alpha1_Call) Run added in v1.0.91

func (*KubeClient_AdmissionregistrationV1alpha1_Call) RunAndReturn added in v1.0.91

type KubeClient_AdmissionregistrationV1beta1_Call

type KubeClient_AdmissionregistrationV1beta1_Call struct {
	*mock.Call
}

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

func (*KubeClient_AdmissionregistrationV1beta1_Call) Run

func (*KubeClient_AdmissionregistrationV1beta1_Call) RunAndReturn added in v1.0.73

type KubeClient_AppsV1_Call

type KubeClient_AppsV1_Call struct {
	*mock.Call
}

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

func (*KubeClient_AppsV1_Call) Return

func (*KubeClient_AppsV1_Call) Run

func (_c *KubeClient_AppsV1_Call) Run(run func()) *KubeClient_AppsV1_Call

func (*KubeClient_AppsV1_Call) RunAndReturn added in v1.0.73

type KubeClient_AppsV1beta1_Call

type KubeClient_AppsV1beta1_Call struct {
	*mock.Call
}

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

func (*KubeClient_AppsV1beta1_Call) Return

func (*KubeClient_AppsV1beta1_Call) Run

func (*KubeClient_AppsV1beta1_Call) RunAndReturn added in v1.0.73

type KubeClient_AppsV1beta2_Call

type KubeClient_AppsV1beta2_Call struct {
	*mock.Call
}

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

func (*KubeClient_AppsV1beta2_Call) Return

func (*KubeClient_AppsV1beta2_Call) Run

func (*KubeClient_AppsV1beta2_Call) RunAndReturn added in v1.0.73

type KubeClient_AuthenticationV1_Call

type KubeClient_AuthenticationV1_Call struct {
	*mock.Call
}

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

func (*KubeClient_AuthenticationV1_Call) Run

func (*KubeClient_AuthenticationV1_Call) RunAndReturn added in v1.0.73

type KubeClient_AuthenticationV1alpha1_Call added in v1.0.91

type KubeClient_AuthenticationV1alpha1_Call struct {
	*mock.Call
}

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

func (*KubeClient_AuthenticationV1alpha1_Call) Return added in v1.0.91

func (*KubeClient_AuthenticationV1alpha1_Call) Run added in v1.0.91

func (*KubeClient_AuthenticationV1alpha1_Call) RunAndReturn added in v1.0.91

type KubeClient_AuthenticationV1beta1_Call

type KubeClient_AuthenticationV1beta1_Call struct {
	*mock.Call
}

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

func (*KubeClient_AuthenticationV1beta1_Call) Run

func (*KubeClient_AuthenticationV1beta1_Call) RunAndReturn added in v1.0.73

type KubeClient_AuthorizationV1_Call

type KubeClient_AuthorizationV1_Call struct {
	*mock.Call
}

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

func (*KubeClient_AuthorizationV1_Call) Run

func (*KubeClient_AuthorizationV1_Call) RunAndReturn added in v1.0.73

type KubeClient_AuthorizationV1beta1_Call

type KubeClient_AuthorizationV1beta1_Call struct {
	*mock.Call
}

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

func (*KubeClient_AuthorizationV1beta1_Call) Run

func (*KubeClient_AuthorizationV1beta1_Call) RunAndReturn added in v1.0.73

type KubeClient_AutoscalingV1_Call

type KubeClient_AutoscalingV1_Call struct {
	*mock.Call
}

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

func (*KubeClient_AutoscalingV1_Call) Return

func (*KubeClient_AutoscalingV1_Call) Run

func (*KubeClient_AutoscalingV1_Call) RunAndReturn added in v1.0.73

type KubeClient_AutoscalingV2_Call

type KubeClient_AutoscalingV2_Call struct {
	*mock.Call
}

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

func (*KubeClient_AutoscalingV2_Call) Return

func (*KubeClient_AutoscalingV2_Call) Run

func (*KubeClient_AutoscalingV2_Call) RunAndReturn added in v1.0.73

type KubeClient_AutoscalingV2beta1_Call

type KubeClient_AutoscalingV2beta1_Call struct {
	*mock.Call
}

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

func (*KubeClient_AutoscalingV2beta1_Call) Return

func (*KubeClient_AutoscalingV2beta1_Call) Run

func (*KubeClient_AutoscalingV2beta1_Call) RunAndReturn added in v1.0.73

type KubeClient_AutoscalingV2beta2_Call

type KubeClient_AutoscalingV2beta2_Call struct {
	*mock.Call
}

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

func (*KubeClient_AutoscalingV2beta2_Call) Return

func (*KubeClient_AutoscalingV2beta2_Call) Run

func (*KubeClient_AutoscalingV2beta2_Call) RunAndReturn added in v1.0.73

type KubeClient_BatchV1_Call

type KubeClient_BatchV1_Call struct {
	*mock.Call
}

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

func (*KubeClient_BatchV1_Call) Return

func (*KubeClient_BatchV1_Call) Run

func (_c *KubeClient_BatchV1_Call) Run(run func()) *KubeClient_BatchV1_Call

func (*KubeClient_BatchV1_Call) RunAndReturn added in v1.0.73

type KubeClient_BatchV1beta1_Call

type KubeClient_BatchV1beta1_Call struct {
	*mock.Call
}

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

func (*KubeClient_BatchV1beta1_Call) Return

func (*KubeClient_BatchV1beta1_Call) Run

func (*KubeClient_BatchV1beta1_Call) RunAndReturn added in v1.0.73

type KubeClient_CertificatesV1_Call

type KubeClient_CertificatesV1_Call struct {
	*mock.Call
}

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

func (*KubeClient_CertificatesV1_Call) Return

func (*KubeClient_CertificatesV1_Call) Run

func (*KubeClient_CertificatesV1_Call) RunAndReturn added in v1.0.73

type KubeClient_CertificatesV1alpha1_Call added in v1.0.91

type KubeClient_CertificatesV1alpha1_Call struct {
	*mock.Call
}

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

func (*KubeClient_CertificatesV1alpha1_Call) Return added in v1.0.91

func (*KubeClient_CertificatesV1alpha1_Call) Run added in v1.0.91

func (*KubeClient_CertificatesV1alpha1_Call) RunAndReturn added in v1.0.91

type KubeClient_CertificatesV1beta1_Call

type KubeClient_CertificatesV1beta1_Call struct {
	*mock.Call
}

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

func (*KubeClient_CertificatesV1beta1_Call) Run

func (*KubeClient_CertificatesV1beta1_Call) RunAndReturn added in v1.0.73

type KubeClient_CoordinationV1_Call

type KubeClient_CoordinationV1_Call struct {
	*mock.Call
}

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

func (*KubeClient_CoordinationV1_Call) Return

func (*KubeClient_CoordinationV1_Call) Run

func (*KubeClient_CoordinationV1_Call) RunAndReturn added in v1.0.73

type KubeClient_CoordinationV1beta1_Call

type KubeClient_CoordinationV1beta1_Call struct {
	*mock.Call
}

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

func (*KubeClient_CoordinationV1beta1_Call) Run

func (*KubeClient_CoordinationV1beta1_Call) RunAndReturn added in v1.0.73

type KubeClient_CoreV1_Call

type KubeClient_CoreV1_Call struct {
	*mock.Call
}

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

func (*KubeClient_CoreV1_Call) Return

func (*KubeClient_CoreV1_Call) Run

func (_c *KubeClient_CoreV1_Call) Run(run func()) *KubeClient_CoreV1_Call

func (*KubeClient_CoreV1_Call) RunAndReturn added in v1.0.73

type KubeClient_DiscoveryV1_Call

type KubeClient_DiscoveryV1_Call struct {
	*mock.Call
}

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

func (*KubeClient_DiscoveryV1_Call) Return

func (*KubeClient_DiscoveryV1_Call) Run

func (*KubeClient_DiscoveryV1_Call) RunAndReturn added in v1.0.73

type KubeClient_DiscoveryV1beta1_Call

type KubeClient_DiscoveryV1beta1_Call struct {
	*mock.Call
}

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

func (*KubeClient_DiscoveryV1beta1_Call) Run

func (*KubeClient_DiscoveryV1beta1_Call) RunAndReturn added in v1.0.73

type KubeClient_Discovery_Call

type KubeClient_Discovery_Call struct {
	*mock.Call
}

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

func (*KubeClient_Discovery_Call) Return

func (*KubeClient_Discovery_Call) Run

func (*KubeClient_Discovery_Call) RunAndReturn added in v1.0.73

type KubeClient_EventsV1_Call

type KubeClient_EventsV1_Call struct {
	*mock.Call
}

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

func (*KubeClient_EventsV1_Call) Return

func (*KubeClient_EventsV1_Call) Run

func (*KubeClient_EventsV1_Call) RunAndReturn added in v1.0.73

type KubeClient_EventsV1beta1_Call

type KubeClient_EventsV1beta1_Call struct {
	*mock.Call
}

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

func (*KubeClient_EventsV1beta1_Call) Return

func (*KubeClient_EventsV1beta1_Call) Run

func (*KubeClient_EventsV1beta1_Call) RunAndReturn added in v1.0.73

type KubeClient_Expecter

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

func (*KubeClient_Expecter) AdmissionregistrationV1

func (_e *KubeClient_Expecter) AdmissionregistrationV1() *KubeClient_AdmissionregistrationV1_Call

AdmissionregistrationV1 is a helper method to define mock.On call

func (*KubeClient_Expecter) AdmissionregistrationV1alpha1 added in v1.0.91

func (_e *KubeClient_Expecter) AdmissionregistrationV1alpha1() *KubeClient_AdmissionregistrationV1alpha1_Call

AdmissionregistrationV1alpha1 is a helper method to define mock.On call

func (*KubeClient_Expecter) AdmissionregistrationV1beta1

func (_e *KubeClient_Expecter) AdmissionregistrationV1beta1() *KubeClient_AdmissionregistrationV1beta1_Call

AdmissionregistrationV1beta1 is a helper method to define mock.On call

func (*KubeClient_Expecter) AppsV1

AppsV1 is a helper method to define mock.On call

func (*KubeClient_Expecter) AppsV1beta1

AppsV1beta1 is a helper method to define mock.On call

func (*KubeClient_Expecter) AppsV1beta2

AppsV1beta2 is a helper method to define mock.On call

func (*KubeClient_Expecter) AuthenticationV1

func (_e *KubeClient_Expecter) AuthenticationV1() *KubeClient_AuthenticationV1_Call

AuthenticationV1 is a helper method to define mock.On call

func (*KubeClient_Expecter) AuthenticationV1alpha1 added in v1.0.91

func (_e *KubeClient_Expecter) AuthenticationV1alpha1() *KubeClient_AuthenticationV1alpha1_Call

AuthenticationV1alpha1 is a helper method to define mock.On call

func (*KubeClient_Expecter) AuthenticationV1beta1

func (_e *KubeClient_Expecter) AuthenticationV1beta1() *KubeClient_AuthenticationV1beta1_Call

AuthenticationV1beta1 is a helper method to define mock.On call

func (*KubeClient_Expecter) AuthorizationV1

AuthorizationV1 is a helper method to define mock.On call

func (*KubeClient_Expecter) AuthorizationV1beta1

func (_e *KubeClient_Expecter) AuthorizationV1beta1() *KubeClient_AuthorizationV1beta1_Call

AuthorizationV1beta1 is a helper method to define mock.On call

func (*KubeClient_Expecter) AutoscalingV1

AutoscalingV1 is a helper method to define mock.On call

func (*KubeClient_Expecter) AutoscalingV2

AutoscalingV2 is a helper method to define mock.On call

func (*KubeClient_Expecter) AutoscalingV2beta1

func (_e *KubeClient_Expecter) AutoscalingV2beta1() *KubeClient_AutoscalingV2beta1_Call

AutoscalingV2beta1 is a helper method to define mock.On call

func (*KubeClient_Expecter) AutoscalingV2beta2

func (_e *KubeClient_Expecter) AutoscalingV2beta2() *KubeClient_AutoscalingV2beta2_Call

AutoscalingV2beta2 is a helper method to define mock.On call

func (*KubeClient_Expecter) BatchV1

BatchV1 is a helper method to define mock.On call

func (*KubeClient_Expecter) BatchV1beta1

BatchV1beta1 is a helper method to define mock.On call

func (*KubeClient_Expecter) CertificatesV1

CertificatesV1 is a helper method to define mock.On call

func (*KubeClient_Expecter) CertificatesV1alpha1 added in v1.0.91

func (_e *KubeClient_Expecter) CertificatesV1alpha1() *KubeClient_CertificatesV1alpha1_Call

CertificatesV1alpha1 is a helper method to define mock.On call

func (*KubeClient_Expecter) CertificatesV1beta1

func (_e *KubeClient_Expecter) CertificatesV1beta1() *KubeClient_CertificatesV1beta1_Call

CertificatesV1beta1 is a helper method to define mock.On call

func (*KubeClient_Expecter) CoordinationV1

CoordinationV1 is a helper method to define mock.On call

func (*KubeClient_Expecter) CoordinationV1beta1

func (_e *KubeClient_Expecter) CoordinationV1beta1() *KubeClient_CoordinationV1beta1_Call

CoordinationV1beta1 is a helper method to define mock.On call

func (*KubeClient_Expecter) CoreV1

CoreV1 is a helper method to define mock.On call

func (*KubeClient_Expecter) Discovery

Discovery is a helper method to define mock.On call

func (*KubeClient_Expecter) DiscoveryV1

DiscoveryV1 is a helper method to define mock.On call

func (*KubeClient_Expecter) DiscoveryV1beta1

func (_e *KubeClient_Expecter) DiscoveryV1beta1() *KubeClient_DiscoveryV1beta1_Call

DiscoveryV1beta1 is a helper method to define mock.On call

func (*KubeClient_Expecter) EventsV1

EventsV1 is a helper method to define mock.On call

func (*KubeClient_Expecter) EventsV1beta1

EventsV1beta1 is a helper method to define mock.On call

func (*KubeClient_Expecter) ExtensionsV1beta1

func (_e *KubeClient_Expecter) ExtensionsV1beta1() *KubeClient_ExtensionsV1beta1_Call

ExtensionsV1beta1 is a helper method to define mock.On call

func (*KubeClient_Expecter) FlowcontrolV1alpha1

func (_e *KubeClient_Expecter) FlowcontrolV1alpha1() *KubeClient_FlowcontrolV1alpha1_Call

FlowcontrolV1alpha1 is a helper method to define mock.On call

func (*KubeClient_Expecter) FlowcontrolV1beta1

func (_e *KubeClient_Expecter) FlowcontrolV1beta1() *KubeClient_FlowcontrolV1beta1_Call

FlowcontrolV1beta1 is a helper method to define mock.On call

func (*KubeClient_Expecter) FlowcontrolV1beta2

func (_e *KubeClient_Expecter) FlowcontrolV1beta2() *KubeClient_FlowcontrolV1beta2_Call

FlowcontrolV1beta2 is a helper method to define mock.On call

func (*KubeClient_Expecter) FlowcontrolV1beta3 added in v1.0.91

func (_e *KubeClient_Expecter) FlowcontrolV1beta3() *KubeClient_FlowcontrolV1beta3_Call

FlowcontrolV1beta3 is a helper method to define mock.On call

func (*KubeClient_Expecter) InternalV1alpha1

func (_e *KubeClient_Expecter) InternalV1alpha1() *KubeClient_InternalV1alpha1_Call

InternalV1alpha1 is a helper method to define mock.On call

func (*KubeClient_Expecter) NetworkingV1

NetworkingV1 is a helper method to define mock.On call

func (*KubeClient_Expecter) NetworkingV1alpha1 added in v1.0.91

func (_e *KubeClient_Expecter) NetworkingV1alpha1() *KubeClient_NetworkingV1alpha1_Call

NetworkingV1alpha1 is a helper method to define mock.On call

func (*KubeClient_Expecter) NetworkingV1beta1

func (_e *KubeClient_Expecter) NetworkingV1beta1() *KubeClient_NetworkingV1beta1_Call

NetworkingV1beta1 is a helper method to define mock.On call

func (*KubeClient_Expecter) NodeV1

NodeV1 is a helper method to define mock.On call

func (*KubeClient_Expecter) NodeV1alpha1

NodeV1alpha1 is a helper method to define mock.On call

func (*KubeClient_Expecter) NodeV1beta1

NodeV1beta1 is a helper method to define mock.On call

func (*KubeClient_Expecter) PolicyV1

PolicyV1 is a helper method to define mock.On call

func (*KubeClient_Expecter) PolicyV1beta1

PolicyV1beta1 is a helper method to define mock.On call

func (*KubeClient_Expecter) RbacV1

RbacV1 is a helper method to define mock.On call

func (*KubeClient_Expecter) RbacV1alpha1

RbacV1alpha1 is a helper method to define mock.On call

func (*KubeClient_Expecter) RbacV1beta1

RbacV1beta1 is a helper method to define mock.On call

func (*KubeClient_Expecter) ResourceV1alpha2 added in v1.0.91

func (_e *KubeClient_Expecter) ResourceV1alpha2() *KubeClient_ResourceV1alpha2_Call

ResourceV1alpha2 is a helper method to define mock.On call

func (*KubeClient_Expecter) SchedulingV1

SchedulingV1 is a helper method to define mock.On call

func (*KubeClient_Expecter) SchedulingV1alpha1

func (_e *KubeClient_Expecter) SchedulingV1alpha1() *KubeClient_SchedulingV1alpha1_Call

SchedulingV1alpha1 is a helper method to define mock.On call

func (*KubeClient_Expecter) SchedulingV1beta1

func (_e *KubeClient_Expecter) SchedulingV1beta1() *KubeClient_SchedulingV1beta1_Call

SchedulingV1beta1 is a helper method to define mock.On call

func (*KubeClient_Expecter) StorageV1

StorageV1 is a helper method to define mock.On call

func (*KubeClient_Expecter) StorageV1alpha1

StorageV1alpha1 is a helper method to define mock.On call

func (*KubeClient_Expecter) StorageV1beta1

StorageV1beta1 is a helper method to define mock.On call

type KubeClient_ExtensionsV1beta1_Call

type KubeClient_ExtensionsV1beta1_Call struct {
	*mock.Call
}

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

func (*KubeClient_ExtensionsV1beta1_Call) Run

func (*KubeClient_ExtensionsV1beta1_Call) RunAndReturn added in v1.0.73

type KubeClient_FlowcontrolV1alpha1_Call

type KubeClient_FlowcontrolV1alpha1_Call struct {
	*mock.Call
}

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

func (*KubeClient_FlowcontrolV1alpha1_Call) Run

func (*KubeClient_FlowcontrolV1alpha1_Call) RunAndReturn added in v1.0.73

type KubeClient_FlowcontrolV1beta1_Call

type KubeClient_FlowcontrolV1beta1_Call struct {
	*mock.Call
}

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

func (*KubeClient_FlowcontrolV1beta1_Call) Run

func (*KubeClient_FlowcontrolV1beta1_Call) RunAndReturn added in v1.0.73

type KubeClient_FlowcontrolV1beta2_Call

type KubeClient_FlowcontrolV1beta2_Call struct {
	*mock.Call
}

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

func (*KubeClient_FlowcontrolV1beta2_Call) Run

func (*KubeClient_FlowcontrolV1beta2_Call) RunAndReturn added in v1.0.73

type KubeClient_FlowcontrolV1beta3_Call added in v1.0.91

type KubeClient_FlowcontrolV1beta3_Call struct {
	*mock.Call
}

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

func (*KubeClient_FlowcontrolV1beta3_Call) Return added in v1.0.91

func (*KubeClient_FlowcontrolV1beta3_Call) Run added in v1.0.91

func (*KubeClient_FlowcontrolV1beta3_Call) RunAndReturn added in v1.0.91

type KubeClient_InternalV1alpha1_Call

type KubeClient_InternalV1alpha1_Call struct {
	*mock.Call
}

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

func (*KubeClient_InternalV1alpha1_Call) Run

func (*KubeClient_InternalV1alpha1_Call) RunAndReturn added in v1.0.73

type KubeClient_NetworkingV1_Call

type KubeClient_NetworkingV1_Call struct {
	*mock.Call
}

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

func (*KubeClient_NetworkingV1_Call) Return

func (*KubeClient_NetworkingV1_Call) Run

func (*KubeClient_NetworkingV1_Call) RunAndReturn added in v1.0.73

type KubeClient_NetworkingV1alpha1_Call added in v1.0.91

type KubeClient_NetworkingV1alpha1_Call struct {
	*mock.Call
}

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

func (*KubeClient_NetworkingV1alpha1_Call) Return added in v1.0.91

func (*KubeClient_NetworkingV1alpha1_Call) Run added in v1.0.91

func (*KubeClient_NetworkingV1alpha1_Call) RunAndReturn added in v1.0.91

type KubeClient_NetworkingV1beta1_Call

type KubeClient_NetworkingV1beta1_Call struct {
	*mock.Call
}

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

func (*KubeClient_NetworkingV1beta1_Call) Run

func (*KubeClient_NetworkingV1beta1_Call) RunAndReturn added in v1.0.73

type KubeClient_NodeV1_Call

type KubeClient_NodeV1_Call struct {
	*mock.Call
}

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

func (*KubeClient_NodeV1_Call) Return

func (*KubeClient_NodeV1_Call) Run

func (_c *KubeClient_NodeV1_Call) Run(run func()) *KubeClient_NodeV1_Call

func (*KubeClient_NodeV1_Call) RunAndReturn added in v1.0.73

type KubeClient_NodeV1alpha1_Call

type KubeClient_NodeV1alpha1_Call struct {
	*mock.Call
}

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

func (*KubeClient_NodeV1alpha1_Call) Return

func (*KubeClient_NodeV1alpha1_Call) Run

func (*KubeClient_NodeV1alpha1_Call) RunAndReturn added in v1.0.73

type KubeClient_NodeV1beta1_Call

type KubeClient_NodeV1beta1_Call struct {
	*mock.Call
}

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

func (*KubeClient_NodeV1beta1_Call) Return

func (*KubeClient_NodeV1beta1_Call) Run

func (*KubeClient_NodeV1beta1_Call) RunAndReturn added in v1.0.73

type KubeClient_PolicyV1_Call

type KubeClient_PolicyV1_Call struct {
	*mock.Call
}

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

func (*KubeClient_PolicyV1_Call) Return

func (*KubeClient_PolicyV1_Call) Run

func (*KubeClient_PolicyV1_Call) RunAndReturn added in v1.0.73

type KubeClient_PolicyV1beta1_Call

type KubeClient_PolicyV1beta1_Call struct {
	*mock.Call
}

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

func (*KubeClient_PolicyV1beta1_Call) Return

func (*KubeClient_PolicyV1beta1_Call) Run

func (*KubeClient_PolicyV1beta1_Call) RunAndReturn added in v1.0.73

type KubeClient_RbacV1_Call

type KubeClient_RbacV1_Call struct {
	*mock.Call
}

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

func (*KubeClient_RbacV1_Call) Return

func (*KubeClient_RbacV1_Call) Run

func (_c *KubeClient_RbacV1_Call) Run(run func()) *KubeClient_RbacV1_Call

func (*KubeClient_RbacV1_Call) RunAndReturn added in v1.0.73

type KubeClient_RbacV1alpha1_Call

type KubeClient_RbacV1alpha1_Call struct {
	*mock.Call
}

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

func (*KubeClient_RbacV1alpha1_Call) Return

func (*KubeClient_RbacV1alpha1_Call) Run

func (*KubeClient_RbacV1alpha1_Call) RunAndReturn added in v1.0.73

type KubeClient_RbacV1beta1_Call

type KubeClient_RbacV1beta1_Call struct {
	*mock.Call
}

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

func (*KubeClient_RbacV1beta1_Call) Return

func (*KubeClient_RbacV1beta1_Call) Run

func (*KubeClient_RbacV1beta1_Call) RunAndReturn added in v1.0.73

type KubeClient_ResourceV1alpha2_Call added in v1.0.91

type KubeClient_ResourceV1alpha2_Call struct {
	*mock.Call
}

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

func (*KubeClient_ResourceV1alpha2_Call) Return added in v1.0.91

func (*KubeClient_ResourceV1alpha2_Call) Run added in v1.0.91

func (*KubeClient_ResourceV1alpha2_Call) RunAndReturn added in v1.0.91

type KubeClient_SchedulingV1_Call

type KubeClient_SchedulingV1_Call struct {
	*mock.Call
}

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

func (*KubeClient_SchedulingV1_Call) Return

func (*KubeClient_SchedulingV1_Call) Run

func (*KubeClient_SchedulingV1_Call) RunAndReturn added in v1.0.73

type KubeClient_SchedulingV1alpha1_Call

type KubeClient_SchedulingV1alpha1_Call struct {
	*mock.Call
}

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

func (*KubeClient_SchedulingV1alpha1_Call) Run

func (*KubeClient_SchedulingV1alpha1_Call) RunAndReturn added in v1.0.73

type KubeClient_SchedulingV1beta1_Call

type KubeClient_SchedulingV1beta1_Call struct {
	*mock.Call
}

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

func (*KubeClient_SchedulingV1beta1_Call) Run

func (*KubeClient_SchedulingV1beta1_Call) RunAndReturn added in v1.0.73

type KubeClient_StorageV1_Call

type KubeClient_StorageV1_Call struct {
	*mock.Call
}

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

func (*KubeClient_StorageV1_Call) Return

func (*KubeClient_StorageV1_Call) Run

func (*KubeClient_StorageV1_Call) RunAndReturn added in v1.0.73

type KubeClient_StorageV1alpha1_Call

type KubeClient_StorageV1alpha1_Call struct {
	*mock.Call
}

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

func (*KubeClient_StorageV1alpha1_Call) Run

func (*KubeClient_StorageV1alpha1_Call) RunAndReturn added in v1.0.73

type KubeClient_StorageV1beta1_Call

type KubeClient_StorageV1beta1_Call struct {
	*mock.Call
}

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

func (*KubeClient_StorageV1beta1_Call) Return

func (*KubeClient_StorageV1beta1_Call) Run

func (*KubeClient_StorageV1beta1_Call) RunAndReturn added in v1.0.73

type Pods

type Pods struct {
	mock.Mock
}

Pods is an autogenerated mock type for the Pods type

func NewPods

func NewPods(t interface {
	mock.TestingT
	Cleanup(func())
}) *Pods

NewPods creates a new instance of Pods. 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 (*Pods) Apply

func (_m *Pods) Apply(ctx context.Context, pod *v1.PodApplyConfiguration, opts metav1.ApplyOptions) (*corev1.Pod, error)

Apply provides a mock function with given fields: ctx, pod, opts

func (*Pods) ApplyStatus

func (_m *Pods) ApplyStatus(ctx context.Context, pod *v1.PodApplyConfiguration, opts metav1.ApplyOptions) (*corev1.Pod, error)

ApplyStatus provides a mock function with given fields: ctx, pod, opts

func (*Pods) Bind

func (_m *Pods) Bind(ctx context.Context, binding *corev1.Binding, opts metav1.CreateOptions) error

Bind provides a mock function with given fields: ctx, binding, opts

func (*Pods) Create

func (_m *Pods) Create(ctx context.Context, pod *corev1.Pod, opts metav1.CreateOptions) (*corev1.Pod, error)

Create provides a mock function with given fields: ctx, pod, opts

func (*Pods) Delete

func (_m *Pods) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete provides a mock function with given fields: ctx, name, opts

func (*Pods) DeleteCollection

func (_m *Pods) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection provides a mock function with given fields: ctx, opts, listOpts

func (*Pods) EXPECT

func (_m *Pods) EXPECT() *Pods_Expecter

func (*Pods) Evict

func (_m *Pods) Evict(ctx context.Context, eviction *v1beta1.Eviction) error

Evict provides a mock function with given fields: ctx, eviction

func (*Pods) EvictV1

func (_m *Pods) EvictV1(ctx context.Context, eviction *policyv1.Eviction) error

EvictV1 provides a mock function with given fields: ctx, eviction

func (*Pods) EvictV1beta1

func (_m *Pods) EvictV1beta1(ctx context.Context, eviction *v1beta1.Eviction) error

EvictV1beta1 provides a mock function with given fields: ctx, eviction

func (*Pods) Get

func (_m *Pods) Get(ctx context.Context, name string, opts metav1.GetOptions) (*corev1.Pod, error)

Get provides a mock function with given fields: ctx, name, opts

func (*Pods) GetLogs

func (_m *Pods) GetLogs(name string, opts *corev1.PodLogOptions) *rest.Request

GetLogs provides a mock function with given fields: name, opts

func (*Pods) List

func (_m *Pods) List(ctx context.Context, opts metav1.ListOptions) (*corev1.PodList, error)

List provides a mock function with given fields: ctx, opts

func (*Pods) Patch

func (_m *Pods) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*corev1.Pod, error)

Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources

func (*Pods) ProxyGet

func (_m *Pods) ProxyGet(scheme string, name string, port string, path string, params map[string]string) rest.ResponseWrapper

ProxyGet provides a mock function with given fields: scheme, name, port, path, params

func (*Pods) Update

func (_m *Pods) Update(ctx context.Context, pod *corev1.Pod, opts metav1.UpdateOptions) (*corev1.Pod, error)

Update provides a mock function with given fields: ctx, pod, opts

func (*Pods) UpdateEphemeralContainers

func (_m *Pods) UpdateEphemeralContainers(ctx context.Context, podName string, pod *corev1.Pod, opts metav1.UpdateOptions) (*corev1.Pod, error)

UpdateEphemeralContainers provides a mock function with given fields: ctx, podName, pod, opts

func (*Pods) UpdateStatus

func (_m *Pods) UpdateStatus(ctx context.Context, pod *corev1.Pod, opts metav1.UpdateOptions) (*corev1.Pod, error)

UpdateStatus provides a mock function with given fields: ctx, pod, opts

func (*Pods) Watch

func (_m *Pods) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)

Watch provides a mock function with given fields: ctx, opts

type Pods_ApplyStatus_Call

type Pods_ApplyStatus_Call struct {
	*mock.Call
}

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

func (*Pods_ApplyStatus_Call) Return

func (_c *Pods_ApplyStatus_Call) Return(result *corev1.Pod, err error) *Pods_ApplyStatus_Call

func (*Pods_ApplyStatus_Call) Run

func (*Pods_ApplyStatus_Call) RunAndReturn added in v1.0.73

type Pods_Apply_Call

type Pods_Apply_Call struct {
	*mock.Call
}

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

func (*Pods_Apply_Call) Return

func (_c *Pods_Apply_Call) Return(result *corev1.Pod, err error) *Pods_Apply_Call

func (*Pods_Apply_Call) Run

func (*Pods_Apply_Call) RunAndReturn added in v1.0.73

type Pods_Bind_Call

type Pods_Bind_Call struct {
	*mock.Call
}

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

func (*Pods_Bind_Call) Return

func (_c *Pods_Bind_Call) Return(_a0 error) *Pods_Bind_Call

func (*Pods_Bind_Call) Run

func (_c *Pods_Bind_Call) Run(run func(ctx context.Context, binding *corev1.Binding, opts metav1.CreateOptions)) *Pods_Bind_Call

func (*Pods_Bind_Call) RunAndReturn added in v1.0.73

type Pods_Create_Call

type Pods_Create_Call struct {
	*mock.Call
}

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

func (*Pods_Create_Call) Return

func (_c *Pods_Create_Call) Return(_a0 *corev1.Pod, _a1 error) *Pods_Create_Call

func (*Pods_Create_Call) Run

func (_c *Pods_Create_Call) Run(run func(ctx context.Context, pod *corev1.Pod, opts metav1.CreateOptions)) *Pods_Create_Call

func (*Pods_Create_Call) RunAndReturn added in v1.0.73

type Pods_DeleteCollection_Call

type Pods_DeleteCollection_Call struct {
	*mock.Call
}

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

func (*Pods_DeleteCollection_Call) Return

func (*Pods_DeleteCollection_Call) Run

func (*Pods_DeleteCollection_Call) RunAndReturn added in v1.0.73

type Pods_Delete_Call

type Pods_Delete_Call struct {
	*mock.Call
}

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

func (*Pods_Delete_Call) Return

func (_c *Pods_Delete_Call) Return(_a0 error) *Pods_Delete_Call

func (*Pods_Delete_Call) Run

func (_c *Pods_Delete_Call) Run(run func(ctx context.Context, name string, opts metav1.DeleteOptions)) *Pods_Delete_Call

func (*Pods_Delete_Call) RunAndReturn added in v1.0.73

type Pods_EvictV1_Call

type Pods_EvictV1_Call struct {
	*mock.Call
}

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

func (*Pods_EvictV1_Call) Return

func (_c *Pods_EvictV1_Call) Return(_a0 error) *Pods_EvictV1_Call

func (*Pods_EvictV1_Call) Run

func (_c *Pods_EvictV1_Call) Run(run func(ctx context.Context, eviction *policyv1.Eviction)) *Pods_EvictV1_Call

func (*Pods_EvictV1_Call) RunAndReturn added in v1.0.73

func (_c *Pods_EvictV1_Call) RunAndReturn(run func(context.Context, *policyv1.Eviction) error) *Pods_EvictV1_Call

type Pods_EvictV1beta1_Call

type Pods_EvictV1beta1_Call struct {
	*mock.Call
}

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

func (*Pods_EvictV1beta1_Call) Return

func (*Pods_EvictV1beta1_Call) Run

func (_c *Pods_EvictV1beta1_Call) Run(run func(ctx context.Context, eviction *v1beta1.Eviction)) *Pods_EvictV1beta1_Call

func (*Pods_EvictV1beta1_Call) RunAndReturn added in v1.0.73

type Pods_Evict_Call

type Pods_Evict_Call struct {
	*mock.Call
}

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

func (*Pods_Evict_Call) Return

func (_c *Pods_Evict_Call) Return(_a0 error) *Pods_Evict_Call

func (*Pods_Evict_Call) Run

func (_c *Pods_Evict_Call) Run(run func(ctx context.Context, eviction *v1beta1.Eviction)) *Pods_Evict_Call

func (*Pods_Evict_Call) RunAndReturn added in v1.0.73

func (_c *Pods_Evict_Call) RunAndReturn(run func(context.Context, *v1beta1.Eviction) error) *Pods_Evict_Call

type Pods_Expecter

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

func (*Pods_Expecter) Apply

func (_e *Pods_Expecter) Apply(ctx interface{}, pod interface{}, opts interface{}) *Pods_Apply_Call

Apply is a helper method to define mock.On call

  • ctx context.Context
  • pod *v1.PodApplyConfiguration
  • opts metav1.ApplyOptions

func (*Pods_Expecter) ApplyStatus

func (_e *Pods_Expecter) ApplyStatus(ctx interface{}, pod interface{}, opts interface{}) *Pods_ApplyStatus_Call

ApplyStatus is a helper method to define mock.On call

  • ctx context.Context
  • pod *v1.PodApplyConfiguration
  • opts metav1.ApplyOptions

func (*Pods_Expecter) Bind

func (_e *Pods_Expecter) Bind(ctx interface{}, binding interface{}, opts interface{}) *Pods_Bind_Call

Bind is a helper method to define mock.On call

  • ctx context.Context
  • binding *corev1.Binding
  • opts metav1.CreateOptions

func (*Pods_Expecter) Create

func (_e *Pods_Expecter) Create(ctx interface{}, pod interface{}, opts interface{}) *Pods_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • pod *corev1.Pod
  • opts metav1.CreateOptions

func (*Pods_Expecter) Delete

func (_e *Pods_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *Pods_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • opts metav1.DeleteOptions

func (*Pods_Expecter) DeleteCollection

func (_e *Pods_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *Pods_DeleteCollection_Call

DeleteCollection is a helper method to define mock.On call

  • ctx context.Context
  • opts metav1.DeleteOptions
  • listOpts metav1.ListOptions

func (*Pods_Expecter) Evict

func (_e *Pods_Expecter) Evict(ctx interface{}, eviction interface{}) *Pods_Evict_Call

Evict is a helper method to define mock.On call

  • ctx context.Context
  • eviction *v1beta1.Eviction

func (*Pods_Expecter) EvictV1

func (_e *Pods_Expecter) EvictV1(ctx interface{}, eviction interface{}) *Pods_EvictV1_Call

EvictV1 is a helper method to define mock.On call

  • ctx context.Context
  • eviction *policyv1.Eviction

func (*Pods_Expecter) EvictV1beta1

func (_e *Pods_Expecter) EvictV1beta1(ctx interface{}, eviction interface{}) *Pods_EvictV1beta1_Call

EvictV1beta1 is a helper method to define mock.On call

  • ctx context.Context
  • eviction *v1beta1.Eviction

func (*Pods_Expecter) Get

func (_e *Pods_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *Pods_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • opts metav1.GetOptions

func (*Pods_Expecter) GetLogs

func (_e *Pods_Expecter) GetLogs(name interface{}, opts interface{}) *Pods_GetLogs_Call

GetLogs is a helper method to define mock.On call

  • name string
  • opts *corev1.PodLogOptions

func (*Pods_Expecter) List

func (_e *Pods_Expecter) List(ctx interface{}, opts interface{}) *Pods_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • opts metav1.ListOptions

func (*Pods_Expecter) Patch

func (_e *Pods_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, opts interface{}, subresources ...interface{}) *Pods_Patch_Call

Patch is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • pt types.PatchType
  • data []byte
  • opts metav1.PatchOptions
  • subresources ...string

func (*Pods_Expecter) ProxyGet

func (_e *Pods_Expecter) ProxyGet(scheme interface{}, name interface{}, port interface{}, path interface{}, params interface{}) *Pods_ProxyGet_Call

ProxyGet is a helper method to define mock.On call

  • scheme string
  • name string
  • port string
  • path string
  • params map[string]string

func (*Pods_Expecter) Update

func (_e *Pods_Expecter) Update(ctx interface{}, pod interface{}, opts interface{}) *Pods_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • pod *corev1.Pod
  • opts metav1.UpdateOptions

func (*Pods_Expecter) UpdateEphemeralContainers

func (_e *Pods_Expecter) UpdateEphemeralContainers(ctx interface{}, podName interface{}, pod interface{}, opts interface{}) *Pods_UpdateEphemeralContainers_Call

UpdateEphemeralContainers is a helper method to define mock.On call

  • ctx context.Context
  • podName string
  • pod *corev1.Pod
  • opts metav1.UpdateOptions

func (*Pods_Expecter) UpdateStatus

func (_e *Pods_Expecter) UpdateStatus(ctx interface{}, pod interface{}, opts interface{}) *Pods_UpdateStatus_Call

UpdateStatus is a helper method to define mock.On call

  • ctx context.Context
  • pod *corev1.Pod
  • opts metav1.UpdateOptions

func (*Pods_Expecter) Watch

func (_e *Pods_Expecter) Watch(ctx interface{}, opts interface{}) *Pods_Watch_Call

Watch is a helper method to define mock.On call

  • ctx context.Context
  • opts metav1.ListOptions

type Pods_GetLogs_Call

type Pods_GetLogs_Call struct {
	*mock.Call
}

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

func (*Pods_GetLogs_Call) Return

func (_c *Pods_GetLogs_Call) Return(_a0 *rest.Request) *Pods_GetLogs_Call

func (*Pods_GetLogs_Call) Run

func (_c *Pods_GetLogs_Call) Run(run func(name string, opts *corev1.PodLogOptions)) *Pods_GetLogs_Call

func (*Pods_GetLogs_Call) RunAndReturn added in v1.0.73

func (_c *Pods_GetLogs_Call) RunAndReturn(run func(string, *corev1.PodLogOptions) *rest.Request) *Pods_GetLogs_Call

type Pods_Get_Call

type Pods_Get_Call struct {
	*mock.Call
}

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

func (*Pods_Get_Call) Return

func (_c *Pods_Get_Call) Return(_a0 *corev1.Pod, _a1 error) *Pods_Get_Call

func (*Pods_Get_Call) Run

func (_c *Pods_Get_Call) Run(run func(ctx context.Context, name string, opts metav1.GetOptions)) *Pods_Get_Call

func (*Pods_Get_Call) RunAndReturn added in v1.0.73

func (_c *Pods_Get_Call) RunAndReturn(run func(context.Context, string, metav1.GetOptions) (*corev1.Pod, error)) *Pods_Get_Call

type Pods_List_Call

type Pods_List_Call struct {
	*mock.Call
}

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

func (*Pods_List_Call) Return

func (_c *Pods_List_Call) Return(_a0 *corev1.PodList, _a1 error) *Pods_List_Call

func (*Pods_List_Call) Run

func (_c *Pods_List_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *Pods_List_Call

func (*Pods_List_Call) RunAndReturn added in v1.0.73

type Pods_Patch_Call

type Pods_Patch_Call struct {
	*mock.Call
}

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

func (*Pods_Patch_Call) Return

func (_c *Pods_Patch_Call) Return(result *corev1.Pod, err error) *Pods_Patch_Call

func (*Pods_Patch_Call) Run

func (_c *Pods_Patch_Call) Run(run func(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string)) *Pods_Patch_Call

func (*Pods_Patch_Call) RunAndReturn added in v1.0.73

type Pods_ProxyGet_Call

type Pods_ProxyGet_Call struct {
	*mock.Call
}

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

func (*Pods_ProxyGet_Call) Return

func (*Pods_ProxyGet_Call) Run

func (_c *Pods_ProxyGet_Call) Run(run func(scheme string, name string, port string, path string, params map[string]string)) *Pods_ProxyGet_Call

func (*Pods_ProxyGet_Call) RunAndReturn added in v1.0.73

type Pods_UpdateEphemeralContainers_Call

type Pods_UpdateEphemeralContainers_Call struct {
	*mock.Call
}

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

func (*Pods_UpdateEphemeralContainers_Call) Return

func (*Pods_UpdateEphemeralContainers_Call) Run

func (*Pods_UpdateEphemeralContainers_Call) RunAndReturn added in v1.0.73

type Pods_UpdateStatus_Call

type Pods_UpdateStatus_Call struct {
	*mock.Call
}

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

func (*Pods_UpdateStatus_Call) Return

func (*Pods_UpdateStatus_Call) Run

func (*Pods_UpdateStatus_Call) RunAndReturn added in v1.0.73

type Pods_Update_Call

type Pods_Update_Call struct {
	*mock.Call
}

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

func (*Pods_Update_Call) Return

func (_c *Pods_Update_Call) Return(_a0 *corev1.Pod, _a1 error) *Pods_Update_Call

func (*Pods_Update_Call) Run

func (_c *Pods_Update_Call) Run(run func(ctx context.Context, pod *corev1.Pod, opts metav1.UpdateOptions)) *Pods_Update_Call

func (*Pods_Update_Call) RunAndReturn added in v1.0.73

type Pods_Watch_Call

type Pods_Watch_Call struct {
	*mock.Call
}

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

func (*Pods_Watch_Call) Return

func (_c *Pods_Watch_Call) Return(_a0 watch.Interface, _a1 error) *Pods_Watch_Call

func (*Pods_Watch_Call) Run

func (_c *Pods_Watch_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *Pods_Watch_Call

func (*Pods_Watch_Call) RunAndReturn added in v1.0.73

type Secrets

type Secrets struct {
	mock.Mock
}

Secrets is an autogenerated mock type for the Secrets type

func NewSecrets

func NewSecrets(t interface {
	mock.TestingT
	Cleanup(func())
}) *Secrets

NewSecrets creates a new instance of Secrets. 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 (*Secrets) Apply

Apply provides a mock function with given fields: ctx, secret, opts

func (*Secrets) Create

func (_m *Secrets) Create(ctx context.Context, secret *corev1.Secret, opts metav1.CreateOptions) (*corev1.Secret, error)

Create provides a mock function with given fields: ctx, secret, opts

func (*Secrets) Delete

func (_m *Secrets) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete provides a mock function with given fields: ctx, name, opts

func (*Secrets) DeleteCollection

func (_m *Secrets) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection provides a mock function with given fields: ctx, opts, listOpts

func (*Secrets) EXPECT

func (_m *Secrets) EXPECT() *Secrets_Expecter

func (*Secrets) Get

func (_m *Secrets) Get(ctx context.Context, name string, opts metav1.GetOptions) (*corev1.Secret, error)

Get provides a mock function with given fields: ctx, name, opts

func (*Secrets) List

func (_m *Secrets) List(ctx context.Context, opts metav1.ListOptions) (*corev1.SecretList, error)

List provides a mock function with given fields: ctx, opts

func (*Secrets) Patch

func (_m *Secrets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*corev1.Secret, error)

Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources

func (*Secrets) Update

func (_m *Secrets) Update(ctx context.Context, secret *corev1.Secret, opts metav1.UpdateOptions) (*corev1.Secret, error)

Update provides a mock function with given fields: ctx, secret, opts

func (*Secrets) Watch

func (_m *Secrets) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)

Watch provides a mock function with given fields: ctx, opts

type Secrets_Apply_Call

type Secrets_Apply_Call struct {
	*mock.Call
}

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

func (*Secrets_Apply_Call) Return

func (_c *Secrets_Apply_Call) Return(result *corev1.Secret, err error) *Secrets_Apply_Call

func (*Secrets_Apply_Call) Run

func (*Secrets_Apply_Call) RunAndReturn added in v1.0.73

type Secrets_Create_Call

type Secrets_Create_Call struct {
	*mock.Call
}

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

func (*Secrets_Create_Call) Return

func (*Secrets_Create_Call) Run

func (*Secrets_Create_Call) RunAndReturn added in v1.0.73

type Secrets_DeleteCollection_Call

type Secrets_DeleteCollection_Call struct {
	*mock.Call
}

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

func (*Secrets_DeleteCollection_Call) Return

func (*Secrets_DeleteCollection_Call) Run

func (*Secrets_DeleteCollection_Call) RunAndReturn added in v1.0.73

type Secrets_Delete_Call

type Secrets_Delete_Call struct {
	*mock.Call
}

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

func (*Secrets_Delete_Call) Return

func (*Secrets_Delete_Call) Run

func (*Secrets_Delete_Call) RunAndReturn added in v1.0.73

type Secrets_Expecter

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

func (*Secrets_Expecter) Apply

func (_e *Secrets_Expecter) Apply(ctx interface{}, secret interface{}, opts interface{}) *Secrets_Apply_Call

Apply is a helper method to define mock.On call

  • ctx context.Context
  • secret *v1.SecretApplyConfiguration
  • opts metav1.ApplyOptions

func (*Secrets_Expecter) Create

func (_e *Secrets_Expecter) Create(ctx interface{}, secret interface{}, opts interface{}) *Secrets_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • secret *corev1.Secret
  • opts metav1.CreateOptions

func (*Secrets_Expecter) Delete

func (_e *Secrets_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *Secrets_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • opts metav1.DeleteOptions

func (*Secrets_Expecter) DeleteCollection

func (_e *Secrets_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *Secrets_DeleteCollection_Call

DeleteCollection is a helper method to define mock.On call

  • ctx context.Context
  • opts metav1.DeleteOptions
  • listOpts metav1.ListOptions

func (*Secrets_Expecter) Get

func (_e *Secrets_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *Secrets_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • opts metav1.GetOptions

func (*Secrets_Expecter) List

func (_e *Secrets_Expecter) List(ctx interface{}, opts interface{}) *Secrets_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • opts metav1.ListOptions

func (*Secrets_Expecter) Patch

func (_e *Secrets_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, opts interface{}, subresources ...interface{}) *Secrets_Patch_Call

Patch is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • pt types.PatchType
  • data []byte
  • opts metav1.PatchOptions
  • subresources ...string

func (*Secrets_Expecter) Update

func (_e *Secrets_Expecter) Update(ctx interface{}, secret interface{}, opts interface{}) *Secrets_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • secret *corev1.Secret
  • opts metav1.UpdateOptions

func (*Secrets_Expecter) Watch

func (_e *Secrets_Expecter) Watch(ctx interface{}, opts interface{}) *Secrets_Watch_Call

Watch is a helper method to define mock.On call

  • ctx context.Context
  • opts metav1.ListOptions

type Secrets_Get_Call

type Secrets_Get_Call struct {
	*mock.Call
}

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

func (*Secrets_Get_Call) Return

func (_c *Secrets_Get_Call) Return(_a0 *corev1.Secret, _a1 error) *Secrets_Get_Call

func (*Secrets_Get_Call) Run

func (_c *Secrets_Get_Call) Run(run func(ctx context.Context, name string, opts metav1.GetOptions)) *Secrets_Get_Call

func (*Secrets_Get_Call) RunAndReturn added in v1.0.73

type Secrets_List_Call

type Secrets_List_Call struct {
	*mock.Call
}

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

func (*Secrets_List_Call) Return

func (*Secrets_List_Call) Run

func (_c *Secrets_List_Call) Run(run func(ctx context.Context, opts metav1.ListOptions)) *Secrets_List_Call

func (*Secrets_List_Call) RunAndReturn added in v1.0.73

type Secrets_Patch_Call

type Secrets_Patch_Call struct {
	*mock.Call
}

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

func (*Secrets_Patch_Call) Return

func (_c *Secrets_Patch_Call) Return(result *corev1.Secret, err error) *Secrets_Patch_Call

func (*Secrets_Patch_Call) Run

func (_c *Secrets_Patch_Call) Run(run func(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string)) *Secrets_Patch_Call

func (*Secrets_Patch_Call) RunAndReturn added in v1.0.73

type Secrets_Update_Call

type Secrets_Update_Call struct {
	*mock.Call
}

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

func (*Secrets_Update_Call) Return

func (*Secrets_Update_Call) Run

func (*Secrets_Update_Call) RunAndReturn added in v1.0.73

type Secrets_Watch_Call

type Secrets_Watch_Call struct {
	*mock.Call
}

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

func (*Secrets_Watch_Call) Return

func (*Secrets_Watch_Call) Run

func (*Secrets_Watch_Call) RunAndReturn added in v1.0.73

type Services

type Services struct {
	mock.Mock
}

Services is an autogenerated mock type for the Services type

func NewServices

func NewServices(t interface {
	mock.TestingT
	Cleanup(func())
}) *Services

NewServices creates a new instance of Services. 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 (*Services) Apply

Apply provides a mock function with given fields: ctx, service, opts

func (*Services) ApplyStatus

func (_m *Services) ApplyStatus(ctx context.Context, service *v1.ServiceApplyConfiguration, opts metav1.ApplyOptions) (*corev1.Service, error)

ApplyStatus provides a mock function with given fields: ctx, service, opts

func (*Services) Create

func (_m *Services) Create(ctx context.Context, service *corev1.Service, opts metav1.CreateOptions) (*corev1.Service, error)

Create provides a mock function with given fields: ctx, service, opts

func (*Services) Delete

func (_m *Services) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete provides a mock function with given fields: ctx, name, opts

func (*Services) EXPECT

func (_m *Services) EXPECT() *Services_Expecter

func (*Services) Get

func (_m *Services) Get(ctx context.Context, name string, opts metav1.GetOptions) (*corev1.Service, error)

Get provides a mock function with given fields: ctx, name, opts

func (*Services) List

List provides a mock function with given fields: ctx, opts

func (*Services) Patch

func (_m *Services) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*corev1.Service, error)

Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources

func (*Services) ProxyGet

func (_m *Services) ProxyGet(scheme string, name string, port string, path string, params map[string]string) rest.ResponseWrapper

ProxyGet provides a mock function with given fields: scheme, name, port, path, params

func (*Services) Update

func (_m *Services) Update(ctx context.Context, service *corev1.Service, opts metav1.UpdateOptions) (*corev1.Service, error)

Update provides a mock function with given fields: ctx, service, opts

func (*Services) UpdateStatus

func (_m *Services) UpdateStatus(ctx context.Context, service *corev1.Service, opts metav1.UpdateOptions) (*corev1.Service, error)

UpdateStatus provides a mock function with given fields: ctx, service, opts

func (*Services) Watch

func (_m *Services) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)

Watch provides a mock function with given fields: ctx, opts

type Services_ApplyStatus_Call

type Services_ApplyStatus_Call struct {
	*mock.Call
}

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

func (*Services_ApplyStatus_Call) Return

func (*Services_ApplyStatus_Call) Run

func (*Services_ApplyStatus_Call) RunAndReturn added in v1.0.73

type Services_Apply_Call

type Services_Apply_Call struct {
	*mock.Call
}

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

func (*Services_Apply_Call) Return

func (_c *Services_Apply_Call) Return(result *corev1.Service, err error) *Services_Apply_Call

func (*Services_Apply_Call) Run

func (*Services_Apply_Call) RunAndReturn added in v1.0.73

type Services_Create_Call

type Services_Create_Call struct {
	*mock.Call
}

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

func (*Services_Create_Call) Return

func (*Services_Create_Call) Run

func (*Services_Create_Call) RunAndReturn added in v1.0.73

type Services_Delete_Call

type Services_Delete_Call struct {
	*mock.Call
}

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

func (*Services_Delete_Call) Return

func (*Services_Delete_Call) Run

func (*Services_Delete_Call) RunAndReturn added in v1.0.73

type Services_Expecter

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

func (*Services_Expecter) Apply

func (_e *Services_Expecter) Apply(ctx interface{}, service interface{}, opts interface{}) *Services_Apply_Call

Apply is a helper method to define mock.On call

  • ctx context.Context
  • service *v1.ServiceApplyConfiguration
  • opts metav1.ApplyOptions

func (*Services_Expecter) ApplyStatus

func (_e *Services_Expecter) ApplyStatus(ctx interface{}, service interface{}, opts interface{}) *Services_ApplyStatus_Call

ApplyStatus is a helper method to define mock.On call

  • ctx context.Context
  • service *v1.ServiceApplyConfiguration
  • opts metav1.ApplyOptions

func (*Services_Expecter) Create

func (_e *Services_Expecter) Create(ctx interface{}, service interface{}, opts interface{}) *Services_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • service *corev1.Service
  • opts metav1.CreateOptions

func (*Services_Expecter) Delete

func (_e *Services_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *Services_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • opts metav1.DeleteOptions

func (*Services_Expecter) Get

func (_e *Services_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *Services_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • opts metav1.GetOptions

func (*Services_Expecter) List

func (_e *Services_Expecter) List(ctx interface{}, opts interface{}) *Services_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • opts metav1.ListOptions

func (*Services_Expecter) Patch

func (_e *Services_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, opts interface{}, subresources ...interface{}) *Services_Patch_Call

Patch is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • pt types.PatchType
  • data []byte
  • opts metav1.PatchOptions
  • subresources ...string

func (*Services_Expecter) ProxyGet

func (_e *Services_Expecter) ProxyGet(scheme interface{}, name interface{}, port interface{}, path interface{}, params interface{}) *Services_ProxyGet_Call

ProxyGet is a helper method to define mock.On call

  • scheme string
  • name string
  • port string
  • path string
  • params map[string]string

func (*Services_Expecter) Update

func (_e *Services_Expecter) Update(ctx interface{}, service interface{}, opts interface{}) *Services_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • service *corev1.Service
  • opts metav1.UpdateOptions

func (*Services_Expecter) UpdateStatus

func (_e *Services_Expecter) UpdateStatus(ctx interface{}, service interface{}, opts interface{}) *Services_UpdateStatus_Call

UpdateStatus is a helper method to define mock.On call

  • ctx context.Context
  • service *corev1.Service
  • opts metav1.UpdateOptions

func (*Services_Expecter) Watch

func (_e *Services_Expecter) Watch(ctx interface{}, opts interface{}) *Services_Watch_Call

Watch is a helper method to define mock.On call

  • ctx context.Context
  • opts metav1.ListOptions

type Services_Get_Call

type Services_Get_Call struct {
	*mock.Call
}

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

func (*Services_Get_Call) Return

func (_c *Services_Get_Call) Return(_a0 *corev1.Service, _a1 error) *Services_Get_Call

func (*Services_Get_Call) Run

func (_c *Services_Get_Call) Run(run func(ctx context.Context, name string, opts metav1.GetOptions)) *Services_Get_Call

func (*Services_Get_Call) RunAndReturn added in v1.0.73

type Services_List_Call

type Services_List_Call struct {
	*mock.Call
}

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

func (*Services_List_Call) Return

func (*Services_List_Call) Run

func (*Services_List_Call) RunAndReturn added in v1.0.73

type Services_Patch_Call

type Services_Patch_Call struct {
	*mock.Call
}

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

func (*Services_Patch_Call) Return

func (_c *Services_Patch_Call) Return(result *corev1.Service, err error) *Services_Patch_Call

func (*Services_Patch_Call) Run

func (_c *Services_Patch_Call) Run(run func(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string)) *Services_Patch_Call

func (*Services_Patch_Call) RunAndReturn added in v1.0.73

type Services_ProxyGet_Call

type Services_ProxyGet_Call struct {
	*mock.Call
}

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

func (*Services_ProxyGet_Call) Return

func (*Services_ProxyGet_Call) Run

func (_c *Services_ProxyGet_Call) Run(run func(scheme string, name string, port string, path string, params map[string]string)) *Services_ProxyGet_Call

func (*Services_ProxyGet_Call) RunAndReturn added in v1.0.73

type Services_UpdateStatus_Call

type Services_UpdateStatus_Call struct {
	*mock.Call
}

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

func (*Services_UpdateStatus_Call) Return

func (*Services_UpdateStatus_Call) Run

func (*Services_UpdateStatus_Call) RunAndReturn added in v1.0.73

type Services_Update_Call

type Services_Update_Call struct {
	*mock.Call
}

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

func (*Services_Update_Call) Return

func (*Services_Update_Call) Run

func (*Services_Update_Call) RunAndReturn added in v1.0.73

type Services_Watch_Call

type Services_Watch_Call struct {
	*mock.Call
}

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

func (*Services_Watch_Call) Return

func (*Services_Watch_Call) Run

func (*Services_Watch_Call) RunAndReturn added in v1.0.73

type StatefulSets

type StatefulSets struct {
	mock.Mock
}

StatefulSets is an autogenerated mock type for the StatefulSets type

func NewStatefulSets

func NewStatefulSets(t interface {
	mock.TestingT
	Cleanup(func())
}) *StatefulSets

NewStatefulSets creates a new instance of StatefulSets. 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 (*StatefulSets) Apply

Apply provides a mock function with given fields: ctx, statefulSet, opts

func (*StatefulSets) ApplyScale

ApplyScale provides a mock function with given fields: ctx, statefulSetName, scale, opts

func (*StatefulSets) ApplyStatus

ApplyStatus provides a mock function with given fields: ctx, statefulSet, opts

func (*StatefulSets) Create

func (_m *StatefulSets) Create(ctx context.Context, statefulSet *appsv1.StatefulSet, opts metav1.CreateOptions) (*appsv1.StatefulSet, error)

Create provides a mock function with given fields: ctx, statefulSet, opts

func (*StatefulSets) Delete

func (_m *StatefulSets) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

Delete provides a mock function with given fields: ctx, name, opts

func (*StatefulSets) DeleteCollection

func (_m *StatefulSets) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

DeleteCollection provides a mock function with given fields: ctx, opts, listOpts

func (*StatefulSets) EXPECT

func (_m *StatefulSets) EXPECT() *StatefulSets_Expecter

func (*StatefulSets) Get

Get provides a mock function with given fields: ctx, name, opts

func (*StatefulSets) GetScale

func (_m *StatefulSets) GetScale(ctx context.Context, statefulSetName string, options metav1.GetOptions) (*apiautoscalingv1.Scale, error)

GetScale provides a mock function with given fields: ctx, statefulSetName, options

func (*StatefulSets) List

List provides a mock function with given fields: ctx, opts

func (*StatefulSets) Patch

func (_m *StatefulSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*appsv1.StatefulSet, error)

Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources

func (*StatefulSets) Update

func (_m *StatefulSets) Update(ctx context.Context, statefulSet *appsv1.StatefulSet, opts metav1.UpdateOptions) (*appsv1.StatefulSet, error)

Update provides a mock function with given fields: ctx, statefulSet, opts

func (*StatefulSets) UpdateScale

func (_m *StatefulSets) UpdateScale(ctx context.Context, statefulSetName string, scale *apiautoscalingv1.Scale, opts metav1.UpdateOptions) (*apiautoscalingv1.Scale, error)

UpdateScale provides a mock function with given fields: ctx, statefulSetName, scale, opts

func (*StatefulSets) UpdateStatus

func (_m *StatefulSets) UpdateStatus(ctx context.Context, statefulSet *appsv1.StatefulSet, opts metav1.UpdateOptions) (*appsv1.StatefulSet, error)

UpdateStatus provides a mock function with given fields: ctx, statefulSet, opts

func (*StatefulSets) Watch

Watch provides a mock function with given fields: ctx, opts

type StatefulSets_ApplyScale_Call

type StatefulSets_ApplyScale_Call struct {
	*mock.Call
}

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

func (*StatefulSets_ApplyScale_Call) Return

func (*StatefulSets_ApplyScale_Call) Run

type StatefulSets_ApplyStatus_Call

type StatefulSets_ApplyStatus_Call struct {
	*mock.Call
}

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

func (*StatefulSets_ApplyStatus_Call) Return

func (*StatefulSets_ApplyStatus_Call) Run

func (*StatefulSets_ApplyStatus_Call) RunAndReturn added in v1.0.73

type StatefulSets_Apply_Call

type StatefulSets_Apply_Call struct {
	*mock.Call
}

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

func (*StatefulSets_Apply_Call) Return

func (*StatefulSets_Apply_Call) Run

func (*StatefulSets_Apply_Call) RunAndReturn added in v1.0.73

type StatefulSets_Create_Call

type StatefulSets_Create_Call struct {
	*mock.Call
}

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

func (*StatefulSets_Create_Call) Return

func (*StatefulSets_Create_Call) Run

func (*StatefulSets_Create_Call) RunAndReturn added in v1.0.73

type StatefulSets_DeleteCollection_Call

type StatefulSets_DeleteCollection_Call struct {
	*mock.Call
}

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

func (*StatefulSets_DeleteCollection_Call) Return

func (*StatefulSets_DeleteCollection_Call) Run

func (*StatefulSets_DeleteCollection_Call) RunAndReturn added in v1.0.73

type StatefulSets_Delete_Call

type StatefulSets_Delete_Call struct {
	*mock.Call
}

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

func (*StatefulSets_Delete_Call) Return

func (*StatefulSets_Delete_Call) Run

func (*StatefulSets_Delete_Call) RunAndReturn added in v1.0.73

type StatefulSets_Expecter

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

func (*StatefulSets_Expecter) Apply

func (_e *StatefulSets_Expecter) Apply(ctx interface{}, statefulSet interface{}, opts interface{}) *StatefulSets_Apply_Call

Apply is a helper method to define mock.On call

  • ctx context.Context
  • statefulSet *v1.StatefulSetApplyConfiguration
  • opts metav1.ApplyOptions

func (*StatefulSets_Expecter) ApplyScale

func (_e *StatefulSets_Expecter) ApplyScale(ctx interface{}, statefulSetName interface{}, scale interface{}, opts interface{}) *StatefulSets_ApplyScale_Call

ApplyScale is a helper method to define mock.On call

  • ctx context.Context
  • statefulSetName string
  • scale *autoscalingv1.ScaleApplyConfiguration
  • opts metav1.ApplyOptions

func (*StatefulSets_Expecter) ApplyStatus

func (_e *StatefulSets_Expecter) ApplyStatus(ctx interface{}, statefulSet interface{}, opts interface{}) *StatefulSets_ApplyStatus_Call

ApplyStatus is a helper method to define mock.On call

  • ctx context.Context
  • statefulSet *v1.StatefulSetApplyConfiguration
  • opts metav1.ApplyOptions

func (*StatefulSets_Expecter) Create

func (_e *StatefulSets_Expecter) Create(ctx interface{}, statefulSet interface{}, opts interface{}) *StatefulSets_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • statefulSet *appsv1.StatefulSet
  • opts metav1.CreateOptions

func (*StatefulSets_Expecter) Delete

func (_e *StatefulSets_Expecter) Delete(ctx interface{}, name interface{}, opts interface{}) *StatefulSets_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • opts metav1.DeleteOptions

func (*StatefulSets_Expecter) DeleteCollection

func (_e *StatefulSets_Expecter) DeleteCollection(ctx interface{}, opts interface{}, listOpts interface{}) *StatefulSets_DeleteCollection_Call

DeleteCollection is a helper method to define mock.On call

  • ctx context.Context
  • opts metav1.DeleteOptions
  • listOpts metav1.ListOptions

func (*StatefulSets_Expecter) Get

func (_e *StatefulSets_Expecter) Get(ctx interface{}, name interface{}, opts interface{}) *StatefulSets_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • opts metav1.GetOptions

func (*StatefulSets_Expecter) GetScale

func (_e *StatefulSets_Expecter) GetScale(ctx interface{}, statefulSetName interface{}, options interface{}) *StatefulSets_GetScale_Call

GetScale is a helper method to define mock.On call

  • ctx context.Context
  • statefulSetName string
  • options metav1.GetOptions

func (*StatefulSets_Expecter) List

func (_e *StatefulSets_Expecter) List(ctx interface{}, opts interface{}) *StatefulSets_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • opts metav1.ListOptions

func (*StatefulSets_Expecter) Patch

func (_e *StatefulSets_Expecter) Patch(ctx interface{}, name interface{}, pt interface{}, data interface{}, opts interface{}, subresources ...interface{}) *StatefulSets_Patch_Call

Patch is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • pt types.PatchType
  • data []byte
  • opts metav1.PatchOptions
  • subresources ...string

func (*StatefulSets_Expecter) Update

func (_e *StatefulSets_Expecter) Update(ctx interface{}, statefulSet interface{}, opts interface{}) *StatefulSets_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • statefulSet *appsv1.StatefulSet
  • opts metav1.UpdateOptions

func (*StatefulSets_Expecter) UpdateScale

func (_e *StatefulSets_Expecter) UpdateScale(ctx interface{}, statefulSetName interface{}, scale interface{}, opts interface{}) *StatefulSets_UpdateScale_Call

UpdateScale is a helper method to define mock.On call

  • ctx context.Context
  • statefulSetName string
  • scale *apiautoscalingv1.Scale
  • opts metav1.UpdateOptions

func (*StatefulSets_Expecter) UpdateStatus

func (_e *StatefulSets_Expecter) UpdateStatus(ctx interface{}, statefulSet interface{}, opts interface{}) *StatefulSets_UpdateStatus_Call

UpdateStatus is a helper method to define mock.On call

  • ctx context.Context
  • statefulSet *appsv1.StatefulSet
  • opts metav1.UpdateOptions

func (*StatefulSets_Expecter) Watch

func (_e *StatefulSets_Expecter) Watch(ctx interface{}, opts interface{}) *StatefulSets_Watch_Call

Watch is a helper method to define mock.On call

  • ctx context.Context
  • opts metav1.ListOptions

type StatefulSets_GetScale_Call

type StatefulSets_GetScale_Call struct {
	*mock.Call
}

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

func (*StatefulSets_GetScale_Call) Return

func (*StatefulSets_GetScale_Call) Run

func (_c *StatefulSets_GetScale_Call) Run(run func(ctx context.Context, statefulSetName string, options metav1.GetOptions)) *StatefulSets_GetScale_Call

func (*StatefulSets_GetScale_Call) RunAndReturn added in v1.0.73

type StatefulSets_Get_Call

type StatefulSets_Get_Call struct {
	*mock.Call
}

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

func (*StatefulSets_Get_Call) Return

func (*StatefulSets_Get_Call) Run

func (*StatefulSets_Get_Call) RunAndReturn added in v1.0.73

type StatefulSets_List_Call

type StatefulSets_List_Call struct {
	*mock.Call
}

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

func (*StatefulSets_List_Call) Return

func (*StatefulSets_List_Call) Run

func (*StatefulSets_List_Call) RunAndReturn added in v1.0.73

type StatefulSets_Patch_Call

type StatefulSets_Patch_Call struct {
	*mock.Call
}

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

func (*StatefulSets_Patch_Call) Return

func (*StatefulSets_Patch_Call) Run

func (_c *StatefulSets_Patch_Call) Run(run func(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string)) *StatefulSets_Patch_Call

func (*StatefulSets_Patch_Call) RunAndReturn added in v1.0.73

type StatefulSets_UpdateScale_Call

type StatefulSets_UpdateScale_Call struct {
	*mock.Call
}

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

func (*StatefulSets_UpdateScale_Call) Return

func (*StatefulSets_UpdateScale_Call) Run

func (*StatefulSets_UpdateScale_Call) RunAndReturn added in v1.0.73

type StatefulSets_UpdateStatus_Call

type StatefulSets_UpdateStatus_Call struct {
	*mock.Call
}

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

func (*StatefulSets_UpdateStatus_Call) Return

func (*StatefulSets_UpdateStatus_Call) Run

func (*StatefulSets_UpdateStatus_Call) RunAndReturn added in v1.0.73

type StatefulSets_Update_Call

type StatefulSets_Update_Call struct {
	*mock.Call
}

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

func (*StatefulSets_Update_Call) Return

func (*StatefulSets_Update_Call) Run

func (*StatefulSets_Update_Call) RunAndReturn added in v1.0.73

type StatefulSets_Watch_Call

type StatefulSets_Watch_Call struct {
	*mock.Call
}

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

func (*StatefulSets_Watch_Call) Return

func (*StatefulSets_Watch_Call) Run

func (*StatefulSets_Watch_Call) RunAndReturn added in v1.0.73

type Watch

type Watch struct {
	mock.Mock
}

Watch is an autogenerated mock type for the Watch type

func NewWatch

func NewWatch(t interface {
	mock.TestingT
	Cleanup(func())
}) *Watch

NewWatch creates a new instance of Watch. 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 (*Watch) EXPECT

func (_m *Watch) EXPECT() *Watch_Expecter

func (*Watch) ResultChan

func (_m *Watch) ResultChan() <-chan watch.Event

ResultChan provides a mock function with given fields:

func (*Watch) Stop

func (_m *Watch) Stop()

Stop provides a mock function with given fields:

type Watch_Expecter

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

func (*Watch_Expecter) ResultChan

func (_e *Watch_Expecter) ResultChan() *Watch_ResultChan_Call

ResultChan is a helper method to define mock.On call

func (*Watch_Expecter) Stop

func (_e *Watch_Expecter) Stop() *Watch_Stop_Call

Stop is a helper method to define mock.On call

type Watch_ResultChan_Call

type Watch_ResultChan_Call struct {
	*mock.Call
}

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

func (*Watch_ResultChan_Call) Return

func (_c *Watch_ResultChan_Call) Return(_a0 <-chan watch.Event) *Watch_ResultChan_Call

func (*Watch_ResultChan_Call) Run

func (_c *Watch_ResultChan_Call) Run(run func()) *Watch_ResultChan_Call

func (*Watch_ResultChan_Call) RunAndReturn added in v1.0.73

func (_c *Watch_ResultChan_Call) RunAndReturn(run func() <-chan watch.Event) *Watch_ResultChan_Call

type Watch_Stop_Call

type Watch_Stop_Call struct {
	*mock.Call
}

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

func (*Watch_Stop_Call) Return

func (_c *Watch_Stop_Call) Return() *Watch_Stop_Call

func (*Watch_Stop_Call) Run

func (_c *Watch_Stop_Call) Run(run func()) *Watch_Stop_Call

func (*Watch_Stop_Call) RunAndReturn added in v1.0.73

func (_c *Watch_Stop_Call) RunAndReturn(run func()) *Watch_Stop_Call

Jump to

Keyboard shortcuts

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