fake

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: Apache-2.0, BSD-3-Clause, CC-BY-3.0, + 1 more Imports: 9 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 FakeSamplecontrollerV1alpha1

type FakeSamplecontrollerV1alpha1 struct {
	*testing.Fake
}

func (*FakeSamplecontrollerV1alpha1) RESTClient

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

func (*FakeSamplecontrollerV1alpha1) Sfevents

type FakeSfevents

type FakeSfevents struct {
	Fake *FakeSamplecontrollerV1alpha1
	// contains filtered or unexported fields
}

FakeSfevents implements SfeventInterface

func (*FakeSfevents) Create

func (c *FakeSfevents) Create(sfevent *v1alpha1.Sfevent) (result *v1alpha1.Sfevent, err error)

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

func (*FakeSfevents) Delete

func (c *FakeSfevents) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeSfevents) DeleteCollection

func (c *FakeSfevents) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSfevents) Get

func (c *FakeSfevents) Get(name string, options v1.GetOptions) (result *v1alpha1.Sfevent, err error)

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

func (*FakeSfevents) List

func (c *FakeSfevents) List(opts v1.ListOptions) (result *v1alpha1.SfeventList, err error)

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

func (*FakeSfevents) Patch

func (c *FakeSfevents) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Sfevent, err error)

Patch applies the patch and returns the patched sfevent.

func (*FakeSfevents) Update

func (c *FakeSfevents) Update(sfevent *v1alpha1.Sfevent) (result *v1alpha1.Sfevent, err error)

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

func (*FakeSfevents) UpdateStatus

func (c *FakeSfevents) UpdateStatus(sfevent *v1alpha1.Sfevent) (*v1alpha1.Sfevent, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSfevents) Watch

func (c *FakeSfevents) Watch(opts v1.ListOptions) (watch.Interface, error)

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

Jump to

Keyboard shortcuts

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