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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppsV1Interface

type AppsV1Interface struct {
	mock.Mock
}

AppsV1Interface is an autogenerated mock type for the AppsV1Interface type

func (*AppsV1Interface) ControllerRevisions

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

ControllerRevisions provides a mock function with given fields: namespace

func (*AppsV1Interface) DaemonSets

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

DaemonSets provides a mock function with given fields: namespace

func (*AppsV1Interface) Deployments

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

Deployments provides a mock function with given fields: namespace

func (*AppsV1Interface) RESTClient

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

RESTClient provides a mock function with given fields:

func (*AppsV1Interface) ReplicaSets

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

ReplicaSets provides a mock function with given fields: namespace

func (*AppsV1Interface) StatefulSets

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

StatefulSets provides a mock function with given fields: namespace

type ControllerRevisionExpansion

type ControllerRevisionExpansion struct {
	mock.Mock
}

ControllerRevisionExpansion is an autogenerated mock type for the ControllerRevisionExpansion type

type ControllerRevisionInterface

type ControllerRevisionInterface struct {
	mock.Mock
}

ControllerRevisionInterface is an autogenerated mock type for the ControllerRevisionInterface type

func (*ControllerRevisionInterface) Create

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

func (*ControllerRevisionInterface) Delete

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

func (*ControllerRevisionInterface) DeleteCollection

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

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

func (*ControllerRevisionInterface) Get

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

func (*ControllerRevisionInterface) List

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

func (*ControllerRevisionInterface) Patch

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

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

func (*ControllerRevisionInterface) Update

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

func (*ControllerRevisionInterface) Watch

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

type ControllerRevisionsGetter

type ControllerRevisionsGetter struct {
	mock.Mock
}

ControllerRevisionsGetter is an autogenerated mock type for the ControllerRevisionsGetter type

func (*ControllerRevisionsGetter) ControllerRevisions

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

ControllerRevisions provides a mock function with given fields: namespace

type DaemonSetExpansion

type DaemonSetExpansion struct {
	mock.Mock
}

DaemonSetExpansion is an autogenerated mock type for the DaemonSetExpansion type

type DaemonSetInterface

type DaemonSetInterface struct {
	mock.Mock
}

DaemonSetInterface is an autogenerated mock type for the DaemonSetInterface type

func (*DaemonSetInterface) Create

func (_m *DaemonSetInterface) Create(ctx context.Context, daemonSet *v1.DaemonSet, opts metav1.CreateOptions) (*v1.DaemonSet, error)

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

func (*DaemonSetInterface) Delete

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

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

func (*DaemonSetInterface) DeleteCollection

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

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

func (*DaemonSetInterface) Get

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

func (*DaemonSetInterface) List

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

func (*DaemonSetInterface) Patch

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

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

func (*DaemonSetInterface) Update

func (_m *DaemonSetInterface) Update(ctx context.Context, daemonSet *v1.DaemonSet, opts metav1.UpdateOptions) (*v1.DaemonSet, error)

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

func (*DaemonSetInterface) UpdateStatus

func (_m *DaemonSetInterface) UpdateStatus(ctx context.Context, daemonSet *v1.DaemonSet, opts metav1.UpdateOptions) (*v1.DaemonSet, error)

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

func (*DaemonSetInterface) Watch

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

type DaemonSetsGetter

type DaemonSetsGetter struct {
	mock.Mock
}

DaemonSetsGetter is an autogenerated mock type for the DaemonSetsGetter type

func (*DaemonSetsGetter) DaemonSets

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

DaemonSets provides a mock function with given fields: namespace

type DeploymentExpansion

type DeploymentExpansion struct {
	mock.Mock
}

DeploymentExpansion is an autogenerated mock type for the DeploymentExpansion type

type DeploymentInterface

type DeploymentInterface struct {
	mock.Mock
}

DeploymentInterface is an autogenerated mock type for the DeploymentInterface type

func (*DeploymentInterface) Create

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

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

func (*DeploymentInterface) Delete

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

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

func (*DeploymentInterface) DeleteCollection

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

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

func (*DeploymentInterface) Get

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

func (*DeploymentInterface) GetScale

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

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

func (*DeploymentInterface) List

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

func (*DeploymentInterface) Patch

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

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

func (*DeploymentInterface) Update

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

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

func (*DeploymentInterface) UpdateScale

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

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

func (*DeploymentInterface) UpdateStatus

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

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

func (*DeploymentInterface) Watch

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

type DeploymentsGetter

type DeploymentsGetter struct {
	mock.Mock
}

DeploymentsGetter is an autogenerated mock type for the DeploymentsGetter type

func (*DeploymentsGetter) Deployments

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

Deployments provides a mock function with given fields: namespace

type ReplicaSetExpansion

type ReplicaSetExpansion struct {
	mock.Mock
}

ReplicaSetExpansion is an autogenerated mock type for the ReplicaSetExpansion type

type ReplicaSetInterface

type ReplicaSetInterface struct {
	mock.Mock
}

ReplicaSetInterface is an autogenerated mock type for the ReplicaSetInterface type

func (*ReplicaSetInterface) Create

func (_m *ReplicaSetInterface) Create(ctx context.Context, replicaSet *v1.ReplicaSet, opts metav1.CreateOptions) (*v1.ReplicaSet, error)

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

func (*ReplicaSetInterface) Delete

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

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

func (*ReplicaSetInterface) DeleteCollection

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

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

func (*ReplicaSetInterface) Get

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

func (*ReplicaSetInterface) GetScale

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

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

func (*ReplicaSetInterface) List

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

func (*ReplicaSetInterface) Patch

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

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

func (*ReplicaSetInterface) Update

func (_m *ReplicaSetInterface) Update(ctx context.Context, replicaSet *v1.ReplicaSet, opts metav1.UpdateOptions) (*v1.ReplicaSet, error)

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

func (*ReplicaSetInterface) UpdateScale

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

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

func (*ReplicaSetInterface) UpdateStatus

func (_m *ReplicaSetInterface) UpdateStatus(ctx context.Context, replicaSet *v1.ReplicaSet, opts metav1.UpdateOptions) (*v1.ReplicaSet, error)

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

func (*ReplicaSetInterface) Watch

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

type ReplicaSetsGetter

type ReplicaSetsGetter struct {
	mock.Mock
}

ReplicaSetsGetter is an autogenerated mock type for the ReplicaSetsGetter type

func (*ReplicaSetsGetter) ReplicaSets

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

ReplicaSets provides a mock function with given fields: namespace

type StatefulSetExpansion

type StatefulSetExpansion struct {
	mock.Mock
}

StatefulSetExpansion is an autogenerated mock type for the StatefulSetExpansion type

type StatefulSetInterface

type StatefulSetInterface struct {
	mock.Mock
}

StatefulSetInterface is an autogenerated mock type for the StatefulSetInterface type

func (*StatefulSetInterface) Create

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

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

func (*StatefulSetInterface) Delete

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

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

func (*StatefulSetInterface) DeleteCollection

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

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

func (*StatefulSetInterface) Get

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

func (*StatefulSetInterface) GetScale

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

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

func (*StatefulSetInterface) List

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

func (*StatefulSetInterface) Patch

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

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

func (*StatefulSetInterface) Update

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

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

func (*StatefulSetInterface) UpdateScale

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

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

func (*StatefulSetInterface) UpdateStatus

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

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

func (*StatefulSetInterface) Watch

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

type StatefulSetsGetter

type StatefulSetsGetter struct {
	mock.Mock
}

StatefulSetsGetter is an autogenerated mock type for the StatefulSetsGetter type

func (*StatefulSetsGetter) StatefulSets

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

StatefulSets 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