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 BatchV1Interface

type BatchV1Interface struct {
	mock.Mock
}

BatchV1Interface is an autogenerated mock type for the BatchV1Interface type

func (*BatchV1Interface) Jobs

func (_m *BatchV1Interface) Jobs(namespace string) v1.JobInterface

Jobs provides a mock function with given fields: namespace

func (*BatchV1Interface) RESTClient

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

RESTClient provides a mock function with given fields:

type JobExpansion

type JobExpansion struct {
	mock.Mock
}

JobExpansion is an autogenerated mock type for the JobExpansion type

type JobInterface

type JobInterface struct {
	mock.Mock
}

JobInterface is an autogenerated mock type for the JobInterface type

func (*JobInterface) Create

func (_m *JobInterface) Create(ctx context.Context, job *v1.Job, opts metav1.CreateOptions) (*v1.Job, error)

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

func (*JobInterface) Delete

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

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

func (*JobInterface) DeleteCollection

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

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

func (*JobInterface) Get

func (_m *JobInterface) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Job, error)

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

func (*JobInterface) List

func (_m *JobInterface) List(ctx context.Context, opts metav1.ListOptions) (*v1.JobList, error)

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

func (*JobInterface) Patch

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

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

func (*JobInterface) Update

func (_m *JobInterface) Update(ctx context.Context, job *v1.Job, opts metav1.UpdateOptions) (*v1.Job, error)

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

func (*JobInterface) UpdateStatus

func (_m *JobInterface) UpdateStatus(ctx context.Context, job *v1.Job, opts metav1.UpdateOptions) (*v1.Job, error)

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

func (*JobInterface) Watch

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

type JobsGetter

type JobsGetter struct {
	mock.Mock
}

JobsGetter is an autogenerated mock type for the JobsGetter type

func (*JobsGetter) Jobs

func (_m *JobsGetter) Jobs(namespace string) v1.JobInterface

Jobs 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