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 AppsV1beta2Interface

type AppsV1beta2Interface struct {
	mock.Mock
}

AppsV1beta2Interface is an autogenerated mock type for the AppsV1beta2Interface type

func (*AppsV1beta2Interface) ControllerRevisions

func (_m *AppsV1beta2Interface) ControllerRevisions(namespace string) v1beta2.ControllerRevisionInterface

ControllerRevisions provides a mock function with given fields: namespace

func (*AppsV1beta2Interface) DaemonSets

func (_m *AppsV1beta2Interface) DaemonSets(namespace string) v1beta2.DaemonSetInterface

DaemonSets provides a mock function with given fields: namespace

func (*AppsV1beta2Interface) Deployments

func (_m *AppsV1beta2Interface) Deployments(namespace string) v1beta2.DeploymentInterface

Deployments provides a mock function with given fields: namespace

func (*AppsV1beta2Interface) RESTClient

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

RESTClient provides a mock function with given fields:

func (*AppsV1beta2Interface) ReplicaSets

func (_m *AppsV1beta2Interface) ReplicaSets(namespace string) v1beta2.ReplicaSetInterface

ReplicaSets provides a mock function with given fields: namespace

func (*AppsV1beta2Interface) StatefulSets

func (_m *AppsV1beta2Interface) StatefulSets(namespace string) v1beta2.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) (*v1beta2.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) v1beta2.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 *v1beta2.DaemonSet, opts v1.CreateOptions) (*v1beta2.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 v1.DeleteOptions) error

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

func (*DaemonSetInterface) DeleteCollection

func (_m *DaemonSetInterface) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.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 v1.PatchOptions, subresources ...string) (*v1beta2.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 *v1beta2.DaemonSet, opts v1.UpdateOptions) (*v1beta2.DaemonSet, error)

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

func (*DaemonSetInterface) UpdateStatus

func (_m *DaemonSetInterface) UpdateStatus(ctx context.Context, daemonSet *v1beta2.DaemonSet, opts v1.UpdateOptions) (*v1beta2.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) v1beta2.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

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) (*v1beta2.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 *v1beta2.Deployment, opts v1.UpdateOptions) (*v1beta2.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) v1beta2.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

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

func (*ReplicaSetInterface) Delete

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

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

func (*ReplicaSetInterface) DeleteCollection

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

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

func (*ReplicaSetInterface) Update

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

func (*ReplicaSetInterface) UpdateStatus

func (_m *ReplicaSetInterface) UpdateStatus(ctx context.Context, replicaSet *v1beta2.ReplicaSet, opts v1.UpdateOptions) (*v1beta2.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) v1beta2.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

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) GetScale

func (_m *StatefulSetInterface) GetScale(ctx context.Context, statefulSetName string, options v1.GetOptions) (*v1beta2.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 v1.PatchOptions, subresources ...string) (*v1beta2.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) UpdateScale

func (_m *StatefulSetInterface) UpdateScale(ctx context.Context, statefulSetName string, scale *v1beta2.Scale, opts v1.UpdateOptions) (*v1beta2.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 *v1beta2.StatefulSet, opts v1.UpdateOptions) (*v1beta2.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) v1beta2.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