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 EventExpansion

type EventExpansion struct {
	mock.Mock
}

EventExpansion is an autogenerated mock type for the EventExpansion type

type EventInterface

type EventInterface struct {
	mock.Mock
}

EventInterface is an autogenerated mock type for the EventInterface type

func (*EventInterface) Create

func (_m *EventInterface) Create(ctx context.Context, event *v1.Event, opts metav1.CreateOptions) (*v1.Event, error)

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

func (*EventInterface) Delete

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

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

func (*EventInterface) DeleteCollection

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

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

func (*EventInterface) Get

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

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

func (*EventInterface) List

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

func (*EventInterface) Patch

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

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

func (*EventInterface) Update

func (_m *EventInterface) Update(ctx context.Context, event *v1.Event, opts metav1.UpdateOptions) (*v1.Event, error)

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

func (*EventInterface) Watch

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

type EventsGetter

type EventsGetter struct {
	mock.Mock
}

EventsGetter is an autogenerated mock type for the EventsGetter type

func (*EventsGetter) Events

func (_m *EventsGetter) Events(namespace string) v1.EventInterface

Events provides a mock function with given fields: namespace

type EventsV1Interface

type EventsV1Interface struct {
	mock.Mock
}

EventsV1Interface is an autogenerated mock type for the EventsV1Interface type

func (*EventsV1Interface) Events

func (_m *EventsV1Interface) Events(namespace string) v1.EventInterface

Events provides a mock function with given fields: namespace

func (*EventsV1Interface) RESTClient

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