kubernetes_mocks

package
v0.16.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscoveryV1beta1Interface

type DiscoveryV1beta1Interface struct {
	mock.Mock
}

DiscoveryV1beta1Interface is an autogenerated mock type for the DiscoveryV1beta1Interface type

func NewDiscoveryV1beta1Interface added in v0.16.2

func NewDiscoveryV1beta1Interface(t testing.TB) *DiscoveryV1beta1Interface

NewDiscoveryV1beta1Interface creates a new instance of DiscoveryV1beta1Interface. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*DiscoveryV1beta1Interface) EndpointSlices

func (_m *DiscoveryV1beta1Interface) EndpointSlices(namespace string) v1beta1.EndpointSliceInterface

EndpointSlices provides a mock function with given fields: namespace

func (*DiscoveryV1beta1Interface) RESTClient

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

RESTClient provides a mock function with given fields:

type EndpointSliceExpansion

type EndpointSliceExpansion struct {
	mock.Mock
}

EndpointSliceExpansion is an autogenerated mock type for the EndpointSliceExpansion type

func NewEndpointSliceExpansion added in v0.16.2

func NewEndpointSliceExpansion(t testing.TB) *EndpointSliceExpansion

NewEndpointSliceExpansion creates a new instance of EndpointSliceExpansion. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

type EndpointSliceInterface

type EndpointSliceInterface struct {
	mock.Mock
}

EndpointSliceInterface is an autogenerated mock type for the EndpointSliceInterface type

func NewEndpointSliceInterface added in v0.16.2

func NewEndpointSliceInterface(t testing.TB) *EndpointSliceInterface

NewEndpointSliceInterface creates a new instance of EndpointSliceInterface. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*EndpointSliceInterface) Apply added in v0.16.0

Apply provides a mock function with given fields: ctx, endpointSlice, opts

func (*EndpointSliceInterface) Create

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

func (*EndpointSliceInterface) Delete

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

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

func (*EndpointSliceInterface) DeleteCollection

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

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

func (*EndpointSliceInterface) Get

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

func (*EndpointSliceInterface) List

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

func (*EndpointSliceInterface) Patch

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

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

func (*EndpointSliceInterface) Update

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

func (*EndpointSliceInterface) Watch

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

type EndpointSlicesGetter

type EndpointSlicesGetter struct {
	mock.Mock
}

EndpointSlicesGetter is an autogenerated mock type for the EndpointSlicesGetter type

func NewEndpointSlicesGetter added in v0.16.2

func NewEndpointSlicesGetter(t testing.TB) *EndpointSlicesGetter

NewEndpointSlicesGetter creates a new instance of EndpointSlicesGetter. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*EndpointSlicesGetter) EndpointSlices

func (_m *EndpointSlicesGetter) EndpointSlices(namespace string) v1beta1.EndpointSliceInterface

EndpointSlices 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