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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppsV1beta1Interface

type AppsV1beta1Interface struct {
	mock.Mock
}

AppsV1beta1Interface is an autogenerated mock type for the AppsV1beta1Interface type

func (*AppsV1beta1Interface) ControllerRevisions

func (_m *AppsV1beta1Interface) ControllerRevisions(namespace string) v1beta1.ControllerRevisionInterface

ControllerRevisions provides a mock function with given fields: namespace

func (*AppsV1beta1Interface) Deployments

func (_m *AppsV1beta1Interface) Deployments(namespace string) v1beta1.DeploymentInterface

Deployments provides a mock function with given fields: namespace

func (*AppsV1beta1Interface) RESTClient

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

RESTClient provides a mock function with given fields:

func (*AppsV1beta1Interface) StatefulSets

func (_m *AppsV1beta1Interface) StatefulSets(namespace string) v1beta1.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 v1.DeleteOptions, listOpts v1.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 v1.PatchOptions, subresources ...string) (*v1beta1.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) v1beta1.ControllerRevisionInterface

ControllerRevisions 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

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

func (*DeploymentInterface) Delete

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

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

func (*DeploymentInterface) DeleteCollection

func (_m *DeploymentInterface) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.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) 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 v1.PatchOptions, subresources ...string) (*v1beta1.Deployment, error)

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

func (*DeploymentInterface) Update

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

func (*DeploymentInterface) UpdateStatus

func (_m *DeploymentInterface) UpdateStatus(ctx context.Context, deployment *v1beta1.Deployment, opts v1.UpdateOptions) (*v1beta1.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) v1beta1.DeploymentInterface

Deployments 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

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

func (*StatefulSetInterface) Delete

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

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

func (*StatefulSetInterface) DeleteCollection

func (_m *StatefulSetInterface) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.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) 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 v1.PatchOptions, subresources ...string) (*v1beta1.StatefulSet, error)

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

func (*StatefulSetInterface) Update

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

func (*StatefulSetInterface) UpdateStatus

func (_m *StatefulSetInterface) UpdateStatus(ctx context.Context, statefulSet *v1beta1.StatefulSet, opts v1.UpdateOptions) (*v1beta1.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) v1beta1.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