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 CoordinationV1beta1Interface

type CoordinationV1beta1Interface struct {
	mock.Mock
}

CoordinationV1beta1Interface is an autogenerated mock type for the CoordinationV1beta1Interface type

func (*CoordinationV1beta1Interface) Leases

Leases provides a mock function with given fields: namespace

func (*CoordinationV1beta1Interface) RESTClient

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

RESTClient provides a mock function with given fields:

type LeaseExpansion

type LeaseExpansion struct {
	mock.Mock
}

LeaseExpansion is an autogenerated mock type for the LeaseExpansion type

type LeaseInterface

type LeaseInterface struct {
	mock.Mock
}

LeaseInterface is an autogenerated mock type for the LeaseInterface type

func (*LeaseInterface) Create

func (_m *LeaseInterface) Create(ctx context.Context, lease *v1beta1.Lease, opts v1.CreateOptions) (*v1beta1.Lease, error)

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

func (*LeaseInterface) Delete

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

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

func (*LeaseInterface) DeleteCollection

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

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

func (*LeaseInterface) Get

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

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

func (*LeaseInterface) List

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

func (*LeaseInterface) Patch

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

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

func (*LeaseInterface) Update

func (_m *LeaseInterface) Update(ctx context.Context, lease *v1beta1.Lease, opts v1.UpdateOptions) (*v1beta1.Lease, error)

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

func (*LeaseInterface) Watch

func (_m *LeaseInterface) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type LeasesGetter

type LeasesGetter struct {
	mock.Mock
}

LeasesGetter is an autogenerated mock type for the LeasesGetter type

func (*LeasesGetter) Leases

func (_m *LeasesGetter) Leases(namespace string) v1beta1.LeaseInterface

Leases 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