kubernetes_mocks

package
v0.0.0-...-e391bab Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentStatusExpansion

type ComponentStatusExpansion struct {
	mock.Mock
}

ComponentStatusExpansion is an autogenerated mock type for the ComponentStatusExpansion type

type ComponentStatusInterface

type ComponentStatusInterface struct {
	mock.Mock
}

ComponentStatusInterface is an autogenerated mock type for the ComponentStatusInterface type

func (*ComponentStatusInterface) Create

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

func (*ComponentStatusInterface) Delete

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

func (*ComponentStatusInterface) DeleteCollection

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

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

func (*ComponentStatusInterface) Get

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

func (*ComponentStatusInterface) List

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

func (*ComponentStatusInterface) Patch

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

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

func (*ComponentStatusInterface) Update

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

func (*ComponentStatusInterface) Watch

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

type ComponentStatusesGetter

type ComponentStatusesGetter struct {
	mock.Mock
}

ComponentStatusesGetter is an autogenerated mock type for the ComponentStatusesGetter type

func (*ComponentStatusesGetter) ComponentStatuses

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

ComponentStatuses provides a mock function with given fields:

type ConfigMapExpansion

type ConfigMapExpansion struct {
	mock.Mock
}

ConfigMapExpansion is an autogenerated mock type for the ConfigMapExpansion type

type ConfigMapInterface

type ConfigMapInterface struct {
	mock.Mock
}

ConfigMapInterface is an autogenerated mock type for the ConfigMapInterface type

func (*ConfigMapInterface) Create

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

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

func (*ConfigMapInterface) Delete

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

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

func (*ConfigMapInterface) DeleteCollection

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

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

func (*ConfigMapInterface) Get

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

func (*ConfigMapInterface) List

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

func (*ConfigMapInterface) Patch

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

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

func (*ConfigMapInterface) Update

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

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

func (*ConfigMapInterface) Watch

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

type ConfigMapsGetter

type ConfigMapsGetter struct {
	mock.Mock
}

ConfigMapsGetter is an autogenerated mock type for the ConfigMapsGetter type

func (*ConfigMapsGetter) ConfigMaps

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

ConfigMaps provides a mock function with given fields: namespace

type CoreV1Interface

type CoreV1Interface struct {
	mock.Mock
}

CoreV1Interface is an autogenerated mock type for the CoreV1Interface type

func (*CoreV1Interface) ComponentStatuses

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

ComponentStatuses provides a mock function with given fields:

func (*CoreV1Interface) ConfigMaps

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

ConfigMaps provides a mock function with given fields: namespace

func (*CoreV1Interface) Endpoints

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

Endpoints provides a mock function with given fields: namespace

func (*CoreV1Interface) Events

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

Events provides a mock function with given fields: namespace

func (*CoreV1Interface) LimitRanges

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

LimitRanges provides a mock function with given fields: namespace

func (*CoreV1Interface) Namespaces

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

Namespaces provides a mock function with given fields:

func (*CoreV1Interface) Nodes

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

Nodes provides a mock function with given fields:

func (*CoreV1Interface) PersistentVolumeClaims

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

PersistentVolumeClaims provides a mock function with given fields: namespace

func (*CoreV1Interface) PersistentVolumes

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

PersistentVolumes provides a mock function with given fields:

func (*CoreV1Interface) PodTemplates

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

PodTemplates provides a mock function with given fields: namespace

func (*CoreV1Interface) Pods

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

Pods provides a mock function with given fields: namespace

func (*CoreV1Interface) RESTClient

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

RESTClient provides a mock function with given fields:

func (*CoreV1Interface) ReplicationControllers

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

ReplicationControllers provides a mock function with given fields: namespace

func (*CoreV1Interface) ResourceQuotas

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

ResourceQuotas provides a mock function with given fields: namespace

func (*CoreV1Interface) Secrets

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

Secrets provides a mock function with given fields: namespace

func (*CoreV1Interface) ServiceAccounts

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

ServiceAccounts provides a mock function with given fields: namespace

func (*CoreV1Interface) Services

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

Services provides a mock function with given fields: namespace

type EndpointsExpansion

type EndpointsExpansion struct {
	mock.Mock
}

EndpointsExpansion is an autogenerated mock type for the EndpointsExpansion type

type EndpointsGetter

type EndpointsGetter struct {
	mock.Mock
}

EndpointsGetter is an autogenerated mock type for the EndpointsGetter type

func (*EndpointsGetter) Endpoints

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

Endpoints provides a mock function with given fields: namespace

type EndpointsInterface

type EndpointsInterface struct {
	mock.Mock
}

EndpointsInterface is an autogenerated mock type for the EndpointsInterface type

func (*EndpointsInterface) Create

func (_m *EndpointsInterface) Create(ctx context.Context, endpoints *v1.Endpoints, opts metav1.CreateOptions) (*v1.Endpoints, error)

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

func (*EndpointsInterface) Delete

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

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

func (*EndpointsInterface) DeleteCollection

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

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

func (*EndpointsInterface) Get

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

func (*EndpointsInterface) List

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

func (*EndpointsInterface) Patch

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

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

func (*EndpointsInterface) Update

func (_m *EndpointsInterface) Update(ctx context.Context, endpoints *v1.Endpoints, opts metav1.UpdateOptions) (*v1.Endpoints, error)

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

func (*EndpointsInterface) Watch

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

type EventExpansion

type EventExpansion struct {
	mock.Mock
}

EventExpansion is an autogenerated mock type for the EventExpansion type

func (*EventExpansion) CreateWithEventNamespace

func (_m *EventExpansion) CreateWithEventNamespace(event *v1.Event) (*v1.Event, error)

CreateWithEventNamespace provides a mock function with given fields: event

func (*EventExpansion) GetFieldSelector

func (_m *EventExpansion) GetFieldSelector(involvedObjectName *string, involvedObjectNamespace *string, involvedObjectKind *string, involvedObjectUID *string) fields.Selector

GetFieldSelector provides a mock function with given fields: involvedObjectName, involvedObjectNamespace, involvedObjectKind, involvedObjectUID

func (*EventExpansion) PatchWithEventNamespace

func (_m *EventExpansion) PatchWithEventNamespace(event *v1.Event, data []byte) (*v1.Event, error)

PatchWithEventNamespace provides a mock function with given fields: event, data

func (*EventExpansion) Search

func (_m *EventExpansion) Search(scheme *runtime.Scheme, objOrRef runtime.Object) (*v1.EventList, error)

Search provides a mock function with given fields: scheme, objOrRef

func (*EventExpansion) UpdateWithEventNamespace

func (_m *EventExpansion) UpdateWithEventNamespace(event *v1.Event) (*v1.Event, error)

UpdateWithEventNamespace provides a mock function with given fields: event

type EventInterface

type EventInterface struct {
	mock.Mock
}

EventInterface is an autogenerated mock type for the EventInterface type

func (*EventInterface) Create

func (_m *EventInterface) Create(ctx context.Context, event *v1.Event, opts metav1.CreateOptions) (*v1.Event, error)

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

func (*EventInterface) CreateWithEventNamespace

func (_m *EventInterface) CreateWithEventNamespace(event *v1.Event) (*v1.Event, error)

CreateWithEventNamespace provides a mock function with given fields: event

func (*EventInterface) Delete

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

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

func (*EventInterface) DeleteCollection

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

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

func (*EventInterface) Get

func (_m *EventInterface) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Event, error)

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

func (*EventInterface) GetFieldSelector

func (_m *EventInterface) GetFieldSelector(involvedObjectName *string, involvedObjectNamespace *string, involvedObjectKind *string, involvedObjectUID *string) fields.Selector

GetFieldSelector provides a mock function with given fields: involvedObjectName, involvedObjectNamespace, involvedObjectKind, involvedObjectUID

func (*EventInterface) List

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

func (*EventInterface) Patch

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

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

func (*EventInterface) PatchWithEventNamespace

func (_m *EventInterface) PatchWithEventNamespace(event *v1.Event, data []byte) (*v1.Event, error)

PatchWithEventNamespace provides a mock function with given fields: event, data

func (*EventInterface) Search

func (_m *EventInterface) Search(scheme *runtime.Scheme, objOrRef runtime.Object) (*v1.EventList, error)

Search provides a mock function with given fields: scheme, objOrRef

func (*EventInterface) Update

func (_m *EventInterface) Update(ctx context.Context, event *v1.Event, opts metav1.UpdateOptions) (*v1.Event, error)

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

func (*EventInterface) UpdateWithEventNamespace

func (_m *EventInterface) UpdateWithEventNamespace(event *v1.Event) (*v1.Event, error)

UpdateWithEventNamespace provides a mock function with given fields: event

func (*EventInterface) Watch

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

type EventsGetter

type EventsGetter struct {
	mock.Mock
}

EventsGetter is an autogenerated mock type for the EventsGetter type

func (*EventsGetter) Events

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

Events provides a mock function with given fields: namespace

type LimitRangeExpansion

type LimitRangeExpansion struct {
	mock.Mock
}

LimitRangeExpansion is an autogenerated mock type for the LimitRangeExpansion type

type LimitRangeInterface

type LimitRangeInterface struct {
	mock.Mock
}

LimitRangeInterface is an autogenerated mock type for the LimitRangeInterface type

func (*LimitRangeInterface) Create

func (_m *LimitRangeInterface) Create(ctx context.Context, limitRange *v1.LimitRange, opts metav1.CreateOptions) (*v1.LimitRange, error)

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

func (*LimitRangeInterface) Delete

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

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

func (*LimitRangeInterface) DeleteCollection

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

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

func (*LimitRangeInterface) Get

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

func (*LimitRangeInterface) List

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

func (*LimitRangeInterface) Patch

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

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

func (*LimitRangeInterface) Update

func (_m *LimitRangeInterface) Update(ctx context.Context, limitRange *v1.LimitRange, opts metav1.UpdateOptions) (*v1.LimitRange, error)

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

func (*LimitRangeInterface) Watch

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

type LimitRangesGetter

type LimitRangesGetter struct {
	mock.Mock
}

LimitRangesGetter is an autogenerated mock type for the LimitRangesGetter type

func (*LimitRangesGetter) LimitRanges

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

LimitRanges provides a mock function with given fields: namespace

type NamespaceExpansion

type NamespaceExpansion struct {
	mock.Mock
}

NamespaceExpansion is an autogenerated mock type for the NamespaceExpansion type

func (*NamespaceExpansion) Finalize

func (_m *NamespaceExpansion) Finalize(ctx context.Context, item *v1.Namespace, opts metav1.UpdateOptions) (*v1.Namespace, error)

Finalize provides a mock function with given fields: ctx, item, opts

type NamespaceInterface

type NamespaceInterface struct {
	mock.Mock
}

NamespaceInterface is an autogenerated mock type for the NamespaceInterface type

func (*NamespaceInterface) Create

func (_m *NamespaceInterface) Create(ctx context.Context, namespace *v1.Namespace, opts metav1.CreateOptions) (*v1.Namespace, error)

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

func (*NamespaceInterface) Delete

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

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

func (*NamespaceInterface) Finalize

func (_m *NamespaceInterface) Finalize(ctx context.Context, item *v1.Namespace, opts metav1.UpdateOptions) (*v1.Namespace, error)

Finalize provides a mock function with given fields: ctx, item, opts

func (*NamespaceInterface) Get

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

func (*NamespaceInterface) List

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

func (*NamespaceInterface) Patch

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

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

func (*NamespaceInterface) Update

func (_m *NamespaceInterface) Update(ctx context.Context, namespace *v1.Namespace, opts metav1.UpdateOptions) (*v1.Namespace, error)

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

func (*NamespaceInterface) UpdateStatus

func (_m *NamespaceInterface) UpdateStatus(ctx context.Context, namespace *v1.Namespace, opts metav1.UpdateOptions) (*v1.Namespace, error)

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

func (*NamespaceInterface) Watch

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

type NamespacesGetter

type NamespacesGetter struct {
	mock.Mock
}

NamespacesGetter is an autogenerated mock type for the NamespacesGetter type

func (*NamespacesGetter) Namespaces

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

Namespaces provides a mock function with given fields:

type NodeExpansion

type NodeExpansion struct {
	mock.Mock
}

NodeExpansion is an autogenerated mock type for the NodeExpansion type

func (*NodeExpansion) PatchStatus

func (_m *NodeExpansion) PatchStatus(ctx context.Context, nodeName string, data []byte) (*v1.Node, error)

PatchStatus provides a mock function with given fields: ctx, nodeName, data

type NodeInterface

type NodeInterface struct {
	mock.Mock
}

NodeInterface is an autogenerated mock type for the NodeInterface type

func (*NodeInterface) Create

func (_m *NodeInterface) Create(ctx context.Context, node *v1.Node, opts metav1.CreateOptions) (*v1.Node, error)

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

func (*NodeInterface) Delete

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

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

func (*NodeInterface) DeleteCollection

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

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

func (*NodeInterface) Get

func (_m *NodeInterface) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Node, error)

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

func (*NodeInterface) List

func (_m *NodeInterface) List(ctx context.Context, opts metav1.ListOptions) (*v1.NodeList, error)

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

func (*NodeInterface) Patch

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

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

func (*NodeInterface) PatchStatus

func (_m *NodeInterface) PatchStatus(ctx context.Context, nodeName string, data []byte) (*v1.Node, error)

PatchStatus provides a mock function with given fields: ctx, nodeName, data

func (*NodeInterface) Update

func (_m *NodeInterface) Update(ctx context.Context, node *v1.Node, opts metav1.UpdateOptions) (*v1.Node, error)

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

func (*NodeInterface) UpdateStatus

func (_m *NodeInterface) UpdateStatus(ctx context.Context, node *v1.Node, opts metav1.UpdateOptions) (*v1.Node, error)

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

func (*NodeInterface) Watch

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

type NodesGetter

type NodesGetter struct {
	mock.Mock
}

NodesGetter is an autogenerated mock type for the NodesGetter type

func (*NodesGetter) Nodes

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

Nodes provides a mock function with given fields:

type PersistentVolumeClaimExpansion

type PersistentVolumeClaimExpansion struct {
	mock.Mock
}

PersistentVolumeClaimExpansion is an autogenerated mock type for the PersistentVolumeClaimExpansion type

type PersistentVolumeClaimInterface

type PersistentVolumeClaimInterface struct {
	mock.Mock
}

PersistentVolumeClaimInterface is an autogenerated mock type for the PersistentVolumeClaimInterface type

func (*PersistentVolumeClaimInterface) Create

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

func (*PersistentVolumeClaimInterface) Delete

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

func (*PersistentVolumeClaimInterface) DeleteCollection

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

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

func (*PersistentVolumeClaimInterface) Get

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

func (*PersistentVolumeClaimInterface) List

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

func (*PersistentVolumeClaimInterface) Patch

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

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

func (*PersistentVolumeClaimInterface) Update

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

func (*PersistentVolumeClaimInterface) UpdateStatus

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

func (*PersistentVolumeClaimInterface) Watch

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

type PersistentVolumeClaimsGetter

type PersistentVolumeClaimsGetter struct {
	mock.Mock
}

PersistentVolumeClaimsGetter is an autogenerated mock type for the PersistentVolumeClaimsGetter type

func (*PersistentVolumeClaimsGetter) PersistentVolumeClaims

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

PersistentVolumeClaims provides a mock function with given fields: namespace

type PersistentVolumeExpansion

type PersistentVolumeExpansion struct {
	mock.Mock
}

PersistentVolumeExpansion is an autogenerated mock type for the PersistentVolumeExpansion type

type PersistentVolumeInterface

type PersistentVolumeInterface struct {
	mock.Mock
}

PersistentVolumeInterface is an autogenerated mock type for the PersistentVolumeInterface type

func (*PersistentVolumeInterface) Create

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

func (*PersistentVolumeInterface) Delete

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

func (*PersistentVolumeInterface) DeleteCollection

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

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

func (*PersistentVolumeInterface) Get

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

func (*PersistentVolumeInterface) List

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

func (*PersistentVolumeInterface) Patch

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

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

func (*PersistentVolumeInterface) Update

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

func (*PersistentVolumeInterface) UpdateStatus

func (_m *PersistentVolumeInterface) UpdateStatus(ctx context.Context, persistentVolume *v1.PersistentVolume, opts metav1.UpdateOptions) (*v1.PersistentVolume, error)

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

func (*PersistentVolumeInterface) Watch

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

type PersistentVolumesGetter

type PersistentVolumesGetter struct {
	mock.Mock
}

PersistentVolumesGetter is an autogenerated mock type for the PersistentVolumesGetter type

func (*PersistentVolumesGetter) PersistentVolumes

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

PersistentVolumes provides a mock function with given fields:

type PodExpansion

type PodExpansion struct {
	mock.Mock
}

PodExpansion is an autogenerated mock type for the PodExpansion type

func (*PodExpansion) Bind

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

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

func (*PodExpansion) Evict

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

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

func (*PodExpansion) GetLogs

func (_m *PodExpansion) GetLogs(name string, opts *v1.PodLogOptions) *rest.Request

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

func (*PodExpansion) ProxyGet

func (_m *PodExpansion) 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

type PodInterface

type PodInterface struct {
	mock.Mock
}

PodInterface is an autogenerated mock type for the PodInterface type

func (*PodInterface) Bind

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

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

func (*PodInterface) Create

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

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

func (*PodInterface) Delete

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

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

func (*PodInterface) DeleteCollection

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

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

func (*PodInterface) Evict

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

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

func (*PodInterface) Get

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

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

func (*PodInterface) GetEphemeralContainers

func (_m *PodInterface) GetEphemeralContainers(ctx context.Context, podName string, options metav1.GetOptions) (*v1.EphemeralContainers, error)

GetEphemeralContainers provides a mock function with given fields: ctx, podName, options

func (*PodInterface) GetLogs

func (_m *PodInterface) GetLogs(name string, opts *v1.PodLogOptions) *rest.Request

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

func (*PodInterface) List

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

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

func (*PodInterface) Patch

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

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

func (*PodInterface) ProxyGet

func (_m *PodInterface) 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 (*PodInterface) Update

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

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

func (*PodInterface) UpdateEphemeralContainers

func (_m *PodInterface) UpdateEphemeralContainers(ctx context.Context, podName string, ephemeralContainers *v1.EphemeralContainers, opts metav1.UpdateOptions) (*v1.EphemeralContainers, error)

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

func (*PodInterface) UpdateStatus

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

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

func (*PodInterface) Watch

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

type PodTemplateExpansion

type PodTemplateExpansion struct {
	mock.Mock
}

PodTemplateExpansion is an autogenerated mock type for the PodTemplateExpansion type

type PodTemplateInterface

type PodTemplateInterface struct {
	mock.Mock
}

PodTemplateInterface is an autogenerated mock type for the PodTemplateInterface type

func (*PodTemplateInterface) Create

func (_m *PodTemplateInterface) Create(ctx context.Context, podTemplate *v1.PodTemplate, opts metav1.CreateOptions) (*v1.PodTemplate, error)

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

func (*PodTemplateInterface) Delete

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

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

func (*PodTemplateInterface) DeleteCollection

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

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

func (*PodTemplateInterface) Get

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

func (*PodTemplateInterface) List

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

func (*PodTemplateInterface) Patch

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

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

func (*PodTemplateInterface) Update

func (_m *PodTemplateInterface) Update(ctx context.Context, podTemplate *v1.PodTemplate, opts metav1.UpdateOptions) (*v1.PodTemplate, error)

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

func (*PodTemplateInterface) Watch

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

type PodTemplatesGetter

type PodTemplatesGetter struct {
	mock.Mock
}

PodTemplatesGetter is an autogenerated mock type for the PodTemplatesGetter type

func (*PodTemplatesGetter) PodTemplates

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

PodTemplates provides a mock function with given fields: namespace

type PodsGetter

type PodsGetter struct {
	mock.Mock
}

PodsGetter is an autogenerated mock type for the PodsGetter type

func (*PodsGetter) Pods

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

Pods provides a mock function with given fields: namespace

type ReplicationControllerExpansion

type ReplicationControllerExpansion struct {
	mock.Mock
}

ReplicationControllerExpansion is an autogenerated mock type for the ReplicationControllerExpansion type

type ReplicationControllerInterface

type ReplicationControllerInterface struct {
	mock.Mock
}

ReplicationControllerInterface is an autogenerated mock type for the ReplicationControllerInterface type

func (*ReplicationControllerInterface) Create

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

func (*ReplicationControllerInterface) Delete

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

func (*ReplicationControllerInterface) DeleteCollection

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

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

func (*ReplicationControllerInterface) Get

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

func (*ReplicationControllerInterface) GetScale

func (_m *ReplicationControllerInterface) GetScale(ctx context.Context, replicationControllerName string, options metav1.GetOptions) (*autoscalingv1.Scale, error)

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

func (*ReplicationControllerInterface) List

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

func (*ReplicationControllerInterface) Patch

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

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

func (*ReplicationControllerInterface) Update

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

func (*ReplicationControllerInterface) UpdateScale

func (_m *ReplicationControllerInterface) UpdateScale(ctx context.Context, replicationControllerName string, scale *autoscalingv1.Scale, opts metav1.UpdateOptions) (*autoscalingv1.Scale, error)

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

func (*ReplicationControllerInterface) UpdateStatus

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

func (*ReplicationControllerInterface) Watch

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

type ReplicationControllersGetter

type ReplicationControllersGetter struct {
	mock.Mock
}

ReplicationControllersGetter is an autogenerated mock type for the ReplicationControllersGetter type

func (*ReplicationControllersGetter) ReplicationControllers

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

ReplicationControllers provides a mock function with given fields: namespace

type ResourceQuotaExpansion

type ResourceQuotaExpansion struct {
	mock.Mock
}

ResourceQuotaExpansion is an autogenerated mock type for the ResourceQuotaExpansion type

type ResourceQuotaInterface

type ResourceQuotaInterface struct {
	mock.Mock
}

ResourceQuotaInterface is an autogenerated mock type for the ResourceQuotaInterface type

func (*ResourceQuotaInterface) Create

func (_m *ResourceQuotaInterface) Create(ctx context.Context, resourceQuota *v1.ResourceQuota, opts metav1.CreateOptions) (*v1.ResourceQuota, error)

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

func (*ResourceQuotaInterface) Delete

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

func (*ResourceQuotaInterface) DeleteCollection

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

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

func (*ResourceQuotaInterface) Get

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

func (*ResourceQuotaInterface) List

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

func (*ResourceQuotaInterface) Patch

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

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

func (*ResourceQuotaInterface) Update

func (_m *ResourceQuotaInterface) Update(ctx context.Context, resourceQuota *v1.ResourceQuota, opts metav1.UpdateOptions) (*v1.ResourceQuota, error)

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

func (*ResourceQuotaInterface) UpdateStatus

func (_m *ResourceQuotaInterface) UpdateStatus(ctx context.Context, resourceQuota *v1.ResourceQuota, opts metav1.UpdateOptions) (*v1.ResourceQuota, error)

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

func (*ResourceQuotaInterface) Watch

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

type ResourceQuotasGetter

type ResourceQuotasGetter struct {
	mock.Mock
}

ResourceQuotasGetter is an autogenerated mock type for the ResourceQuotasGetter type

func (*ResourceQuotasGetter) ResourceQuotas

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

ResourceQuotas provides a mock function with given fields: namespace

type SecretExpansion

type SecretExpansion struct {
	mock.Mock
}

SecretExpansion is an autogenerated mock type for the SecretExpansion type

type SecretInterface

type SecretInterface struct {
	mock.Mock
}

SecretInterface is an autogenerated mock type for the SecretInterface type

func (*SecretInterface) Create

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

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

func (*SecretInterface) Delete

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

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

func (*SecretInterface) DeleteCollection

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

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

func (*SecretInterface) Get

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

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

func (*SecretInterface) List

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

func (*SecretInterface) Patch

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

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

func (*SecretInterface) Update

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

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

func (*SecretInterface) Watch

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

type SecretsGetter

type SecretsGetter struct {
	mock.Mock
}

SecretsGetter is an autogenerated mock type for the SecretsGetter type

func (*SecretsGetter) Secrets

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

Secrets provides a mock function with given fields: namespace

type ServiceAccountExpansion

type ServiceAccountExpansion struct {
	mock.Mock
}

ServiceAccountExpansion is an autogenerated mock type for the ServiceAccountExpansion type

type ServiceAccountInterface

type ServiceAccountInterface struct {
	mock.Mock
}

ServiceAccountInterface is an autogenerated mock type for the ServiceAccountInterface type

func (*ServiceAccountInterface) Create

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

func (*ServiceAccountInterface) CreateToken

func (_m *ServiceAccountInterface) CreateToken(ctx context.Context, serviceAccountName string, tokenRequest *authenticationv1.TokenRequest, opts metav1.CreateOptions) (*authenticationv1.TokenRequest, error)

CreateToken provides a mock function with given fields: ctx, serviceAccountName, tokenRequest, opts

func (*ServiceAccountInterface) Delete

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

func (*ServiceAccountInterface) DeleteCollection

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

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

func (*ServiceAccountInterface) Get

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

func (*ServiceAccountInterface) List

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

func (*ServiceAccountInterface) Patch

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

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

func (*ServiceAccountInterface) Update

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

func (*ServiceAccountInterface) Watch

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

type ServiceAccountsGetter

type ServiceAccountsGetter struct {
	mock.Mock
}

ServiceAccountsGetter is an autogenerated mock type for the ServiceAccountsGetter type

func (*ServiceAccountsGetter) ServiceAccounts

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

ServiceAccounts provides a mock function with given fields: namespace

type ServiceExpansion

type ServiceExpansion struct {
	mock.Mock
}

ServiceExpansion is an autogenerated mock type for the ServiceExpansion type

func (*ServiceExpansion) ProxyGet

func (_m *ServiceExpansion) 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

type ServiceInterface

type ServiceInterface struct {
	mock.Mock
}

ServiceInterface is an autogenerated mock type for the ServiceInterface type

func (*ServiceInterface) Create

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

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

func (*ServiceInterface) Delete

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

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

func (*ServiceInterface) Get

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

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

func (*ServiceInterface) List

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

func (*ServiceInterface) Patch

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

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

func (*ServiceInterface) ProxyGet

func (_m *ServiceInterface) 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 (*ServiceInterface) Update

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

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

func (*ServiceInterface) UpdateStatus

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

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

func (*ServiceInterface) Watch

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

type ServicesGetter

type ServicesGetter struct {
	mock.Mock
}

ServicesGetter is an autogenerated mock type for the ServicesGetter type

func (*ServicesGetter) Services

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

Services provides a mock function with given fields: namespace

Jump to

Keyboard shortcuts

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