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 PriorityClassExpansion

type PriorityClassExpansion struct {
	mock.Mock
}

PriorityClassExpansion is an autogenerated mock type for the PriorityClassExpansion type

type PriorityClassInterface

type PriorityClassInterface struct {
	mock.Mock
}

PriorityClassInterface is an autogenerated mock type for the PriorityClassInterface type

func (*PriorityClassInterface) Create

func (_m *PriorityClassInterface) Create(ctx context.Context, priorityClass *v1.PriorityClass, opts metav1.CreateOptions) (*v1.PriorityClass, error)

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

func (*PriorityClassInterface) Delete

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

func (*PriorityClassInterface) DeleteCollection

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

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

func (*PriorityClassInterface) Get

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

func (*PriorityClassInterface) List

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

func (*PriorityClassInterface) Patch

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

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

func (*PriorityClassInterface) Update

func (_m *PriorityClassInterface) Update(ctx context.Context, priorityClass *v1.PriorityClass, opts metav1.UpdateOptions) (*v1.PriorityClass, error)

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

func (*PriorityClassInterface) Watch

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

type PriorityClassesGetter

type PriorityClassesGetter struct {
	mock.Mock
}

PriorityClassesGetter is an autogenerated mock type for the PriorityClassesGetter type

func (*PriorityClassesGetter) PriorityClasses

func (_m *PriorityClassesGetter) PriorityClasses() v1.PriorityClassInterface

PriorityClasses provides a mock function with given fields:

type SchedulingV1Interface

type SchedulingV1Interface struct {
	mock.Mock
}

SchedulingV1Interface is an autogenerated mock type for the SchedulingV1Interface type

func (*SchedulingV1Interface) PriorityClasses

func (_m *SchedulingV1Interface) PriorityClasses() v1.PriorityClassInterface

PriorityClasses provides a mock function with given fields:

func (*SchedulingV1Interface) RESTClient

func (_m *SchedulingV1Interface) 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