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 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 *v1beta1.DaemonSet, opts v1.CreateOptions) (*v1beta1.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) (*v1beta1.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 *v1beta1.DaemonSet, opts v1.UpdateOptions) (*v1beta1.DaemonSet, error)

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

func (*DaemonSetInterface) UpdateStatus

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

func (*DeploymentExpansion) Rollback

Rollback provides a mock function with given fields: _a0, _a1, _a2

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

func (_m *DeploymentInterface) GetScale(ctx context.Context, deploymentName string, options v1.GetOptions) (*v1beta1.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 v1.PatchOptions, subresources ...string) (*v1beta1.Deployment, error)

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

func (*DeploymentInterface) Rollback

Rollback provides a mock function with given fields: _a0, _a1, _a2

func (*DeploymentInterface) Update

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

func (*DeploymentInterface) UpdateScale

func (_m *DeploymentInterface) UpdateScale(ctx context.Context, deploymentName string, scale *v1beta1.Scale, opts v1.UpdateOptions) (*v1beta1.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 *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 ExtensionsV1beta1Interface

type ExtensionsV1beta1Interface struct {
	mock.Mock
}

ExtensionsV1beta1Interface is an autogenerated mock type for the ExtensionsV1beta1Interface type

func (*ExtensionsV1beta1Interface) DaemonSets

func (_m *ExtensionsV1beta1Interface) DaemonSets(namespace string) v1beta1.DaemonSetInterface

DaemonSets provides a mock function with given fields: namespace

func (*ExtensionsV1beta1Interface) Deployments

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

Deployments provides a mock function with given fields: namespace

func (*ExtensionsV1beta1Interface) Ingresses

func (_m *ExtensionsV1beta1Interface) Ingresses(namespace string) v1beta1.IngressInterface

Ingresses provides a mock function with given fields: namespace

func (*ExtensionsV1beta1Interface) NetworkPolicies

func (_m *ExtensionsV1beta1Interface) NetworkPolicies(namespace string) v1beta1.NetworkPolicyInterface

NetworkPolicies provides a mock function with given fields: namespace

func (*ExtensionsV1beta1Interface) PodSecurityPolicies

PodSecurityPolicies provides a mock function with given fields:

func (*ExtensionsV1beta1Interface) RESTClient

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

RESTClient provides a mock function with given fields:

func (*ExtensionsV1beta1Interface) ReplicaSets

func (_m *ExtensionsV1beta1Interface) ReplicaSets(namespace string) v1beta1.ReplicaSetInterface

ReplicaSets provides a mock function with given fields: namespace

type IngressExpansion

type IngressExpansion struct {
	mock.Mock
}

IngressExpansion is an autogenerated mock type for the IngressExpansion type

type IngressInterface

type IngressInterface struct {
	mock.Mock
}

IngressInterface is an autogenerated mock type for the IngressInterface type

func (*IngressInterface) Create

func (_m *IngressInterface) Create(ctx context.Context, ingress *v1beta1.Ingress, opts v1.CreateOptions) (*v1beta1.Ingress, error)

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

func (*IngressInterface) Delete

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

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

func (*IngressInterface) DeleteCollection

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

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

func (*IngressInterface) Get

func (_m *IngressInterface) Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.Ingress, error)

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

func (*IngressInterface) List

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

func (*IngressInterface) Patch

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

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

func (*IngressInterface) Update

func (_m *IngressInterface) Update(ctx context.Context, ingress *v1beta1.Ingress, opts v1.UpdateOptions) (*v1beta1.Ingress, error)

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

func (*IngressInterface) UpdateStatus

func (_m *IngressInterface) UpdateStatus(ctx context.Context, ingress *v1beta1.Ingress, opts v1.UpdateOptions) (*v1beta1.Ingress, error)

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

func (*IngressInterface) Watch

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

type IngressesGetter

type IngressesGetter struct {
	mock.Mock
}

IngressesGetter is an autogenerated mock type for the IngressesGetter type

func (*IngressesGetter) Ingresses

func (_m *IngressesGetter) Ingresses(namespace string) v1beta1.IngressInterface

Ingresses provides a mock function with given fields: namespace

type NetworkPoliciesGetter

type NetworkPoliciesGetter struct {
	mock.Mock
}

NetworkPoliciesGetter is an autogenerated mock type for the NetworkPoliciesGetter type

func (*NetworkPoliciesGetter) NetworkPolicies

func (_m *NetworkPoliciesGetter) NetworkPolicies(namespace string) v1beta1.NetworkPolicyInterface

NetworkPolicies provides a mock function with given fields: namespace

type NetworkPolicyExpansion

type NetworkPolicyExpansion struct {
	mock.Mock
}

NetworkPolicyExpansion is an autogenerated mock type for the NetworkPolicyExpansion type

type NetworkPolicyInterface

type NetworkPolicyInterface struct {
	mock.Mock
}

NetworkPolicyInterface is an autogenerated mock type for the NetworkPolicyInterface type

func (*NetworkPolicyInterface) Create

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

func (*NetworkPolicyInterface) Delete

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

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

func (*NetworkPolicyInterface) DeleteCollection

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

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

func (*NetworkPolicyInterface) Get

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

func (*NetworkPolicyInterface) List

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

func (*NetworkPolicyInterface) Patch

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

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

func (*NetworkPolicyInterface) Update

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

func (*NetworkPolicyInterface) Watch

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

type PodSecurityPoliciesGetter

type PodSecurityPoliciesGetter struct {
	mock.Mock
}

PodSecurityPoliciesGetter is an autogenerated mock type for the PodSecurityPoliciesGetter type

func (*PodSecurityPoliciesGetter) PodSecurityPolicies

PodSecurityPolicies provides a mock function with given fields:

type PodSecurityPolicyExpansion

type PodSecurityPolicyExpansion struct {
	mock.Mock
}

PodSecurityPolicyExpansion is an autogenerated mock type for the PodSecurityPolicyExpansion type

type PodSecurityPolicyInterface

type PodSecurityPolicyInterface struct {
	mock.Mock
}

PodSecurityPolicyInterface is an autogenerated mock type for the PodSecurityPolicyInterface type

func (*PodSecurityPolicyInterface) Create

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

func (*PodSecurityPolicyInterface) Delete

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

func (*PodSecurityPolicyInterface) DeleteCollection

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

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

func (*PodSecurityPolicyInterface) Get

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

func (*PodSecurityPolicyInterface) List

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

func (*PodSecurityPolicyInterface) Patch

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

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

func (*PodSecurityPolicyInterface) Update

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

func (*PodSecurityPolicyInterface) Watch

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

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

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

func (_m *ReplicaSetInterface) UpdateScale(ctx context.Context, replicaSetName string, scale *v1beta1.Scale, opts v1.UpdateOptions) (*v1beta1.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 *v1beta1.ReplicaSet, opts v1.UpdateOptions) (*v1beta1.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) v1beta1.ReplicaSetInterface

ReplicaSets 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