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 EvictionExpansion

type EvictionExpansion struct {
	mock.Mock
}

EvictionExpansion is an autogenerated mock type for the EvictionExpansion type

func (*EvictionExpansion) Evict

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

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

type EvictionInterface

type EvictionInterface struct {
	mock.Mock
}

EvictionInterface is an autogenerated mock type for the EvictionInterface type

func (*EvictionInterface) Evict

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

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

type EvictionsGetter

type EvictionsGetter struct {
	mock.Mock
}

EvictionsGetter is an autogenerated mock type for the EvictionsGetter type

func (*EvictionsGetter) Evictions

func (_m *EvictionsGetter) Evictions(namespace string) v1beta1.EvictionInterface

Evictions provides a mock function with given fields: namespace

type PodDisruptionBudgetExpansion

type PodDisruptionBudgetExpansion struct {
	mock.Mock
}

PodDisruptionBudgetExpansion is an autogenerated mock type for the PodDisruptionBudgetExpansion type

type PodDisruptionBudgetInterface

type PodDisruptionBudgetInterface struct {
	mock.Mock
}

PodDisruptionBudgetInterface is an autogenerated mock type for the PodDisruptionBudgetInterface type

func (*PodDisruptionBudgetInterface) Create

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

func (*PodDisruptionBudgetInterface) Delete

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

func (*PodDisruptionBudgetInterface) DeleteCollection

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

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

func (*PodDisruptionBudgetInterface) Get

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

func (*PodDisruptionBudgetInterface) List

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

func (*PodDisruptionBudgetInterface) Patch

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

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

func (*PodDisruptionBudgetInterface) Update

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

func (*PodDisruptionBudgetInterface) UpdateStatus

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

func (*PodDisruptionBudgetInterface) Watch

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

type PodDisruptionBudgetsGetter

type PodDisruptionBudgetsGetter struct {
	mock.Mock
}

PodDisruptionBudgetsGetter is an autogenerated mock type for the PodDisruptionBudgetsGetter type

func (*PodDisruptionBudgetsGetter) PodDisruptionBudgets

func (_m *PodDisruptionBudgetsGetter) PodDisruptionBudgets(namespace string) v1beta1.PodDisruptionBudgetInterface

PodDisruptionBudgets provides a mock function with given fields: namespace

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 PolicyV1beta1Interface

type PolicyV1beta1Interface struct {
	mock.Mock
}

PolicyV1beta1Interface is an autogenerated mock type for the PolicyV1beta1Interface type

func (*PolicyV1beta1Interface) Evictions

func (_m *PolicyV1beta1Interface) Evictions(namespace string) v1beta1.EvictionInterface

Evictions provides a mock function with given fields: namespace

func (*PolicyV1beta1Interface) PodDisruptionBudgets

func (_m *PolicyV1beta1Interface) PodDisruptionBudgets(namespace string) v1beta1.PodDisruptionBudgetInterface

PodDisruptionBudgets provides a mock function with given fields: namespace

func (*PolicyV1beta1Interface) PodSecurityPolicies

func (_m *PolicyV1beta1Interface) PodSecurityPolicies() v1beta1.PodSecurityPolicyInterface

PodSecurityPolicies provides a mock function with given fields:

func (*PolicyV1beta1Interface) RESTClient

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

RESTClient provides a mock function with given fields:

Jump to

Keyboard shortcuts

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