fake

package
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakePrescalingEvents

type FakePrescalingEvents struct {
	Fake *FakePrescalingV1
	// contains filtered or unexported fields
}

FakePrescalingEvents implements PrescalingEventInterface

func (*FakePrescalingEvents) Create

Create takes the representation of a prescalingEvent and creates it. Returns the server's representation of the prescalingEvent, and an error, if there is any.

func (*FakePrescalingEvents) Delete

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

Delete takes name of the prescalingEvent and deletes it. Returns an error if one occurs.

func (*FakePrescalingEvents) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePrescalingEvents) Get

Get takes name of the prescalingEvent, and returns the corresponding prescalingEvent object, and an error if there is any.

func (*FakePrescalingEvents) List

List takes label and field selectors, and returns the list of PrescalingEvents that match those selectors.

func (*FakePrescalingEvents) Patch

func (c *FakePrescalingEvents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *prescalingbedrocktechv1.PrescalingEvent, err error)

Patch applies the patch and returns the patched prescalingEvent.

func (*FakePrescalingEvents) Update

Update takes the representation of a prescalingEvent and updates it. Returns the server's representation of the prescalingEvent, and an error, if there is any.

func (*FakePrescalingEvents) Watch

Watch returns a watch.Interface that watches the requested prescalingEvents.

type FakePrescalingV1

type FakePrescalingV1 struct {
	*testing.Fake
}

func (*FakePrescalingV1) PrescalingEvents

func (c *FakePrescalingV1) PrescalingEvents(namespace string) v1.PrescalingEventInterface

func (*FakePrescalingV1) RESTClient

func (c *FakePrescalingV1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL