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 BatchV1beta1Interface

type BatchV1beta1Interface struct {
	mock.Mock
}

BatchV1beta1Interface is an autogenerated mock type for the BatchV1beta1Interface type

func (*BatchV1beta1Interface) CronJobs

func (_m *BatchV1beta1Interface) CronJobs(namespace string) v1beta1.CronJobInterface

CronJobs provides a mock function with given fields: namespace

func (*BatchV1beta1Interface) RESTClient

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

RESTClient provides a mock function with given fields:

type CronJobExpansion

type CronJobExpansion struct {
	mock.Mock
}

CronJobExpansion is an autogenerated mock type for the CronJobExpansion type

type CronJobInterface

type CronJobInterface struct {
	mock.Mock
}

CronJobInterface is an autogenerated mock type for the CronJobInterface type

func (*CronJobInterface) Create

func (_m *CronJobInterface) Create(ctx context.Context, cronJob *v1beta1.CronJob, opts v1.CreateOptions) (*v1beta1.CronJob, error)

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

func (*CronJobInterface) Delete

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

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

func (*CronJobInterface) DeleteCollection

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

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

func (*CronJobInterface) Get

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

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

func (*CronJobInterface) List

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

func (*CronJobInterface) Patch

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

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

func (*CronJobInterface) Update

func (_m *CronJobInterface) Update(ctx context.Context, cronJob *v1beta1.CronJob, opts v1.UpdateOptions) (*v1beta1.CronJob, error)

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

func (*CronJobInterface) UpdateStatus

func (_m *CronJobInterface) UpdateStatus(ctx context.Context, cronJob *v1beta1.CronJob, opts v1.UpdateOptions) (*v1beta1.CronJob, error)

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

func (*CronJobInterface) Watch

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

type CronJobsGetter

type CronJobsGetter struct {
	mock.Mock
}

CronJobsGetter is an autogenerated mock type for the CronJobsGetter type

func (*CronJobsGetter) CronJobs

func (_m *CronJobsGetter) CronJobs(namespace string) v1beta1.CronJobInterface

CronJobs 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