fake

package
v0.0.0-...-b330ef7 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: Apache-2.0 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 FakeCrdstartV1alpha1

type FakeCrdstartV1alpha1 struct {
	*testing.Fake
}

func (*FakeCrdstartV1alpha1) Dcreaters

func (c *FakeCrdstartV1alpha1) Dcreaters(namespace string) v1alpha1.DcreaterInterface

func (*FakeCrdstartV1alpha1) RESTClient

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

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

type FakeDcreaters

type FakeDcreaters struct {
	Fake *FakeCrdstartV1alpha1
	// contains filtered or unexported fields
}

FakeDcreaters implements DcreaterInterface

func (*FakeDcreaters) Create

func (c *FakeDcreaters) Create(dcreater *v1alpha1.Dcreater) (result *v1alpha1.Dcreater, err error)

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

func (*FakeDcreaters) Delete

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

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

func (*FakeDcreaters) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDcreaters) Get

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

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

func (*FakeDcreaters) List

func (c *FakeDcreaters) List(opts v1.ListOptions) (result *v1alpha1.DcreaterList, err error)

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

func (*FakeDcreaters) Patch

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

Patch applies the patch and returns the patched dcreater.

func (*FakeDcreaters) Update

func (c *FakeDcreaters) Update(dcreater *v1alpha1.Dcreater) (result *v1alpha1.Dcreater, err error)

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

func (*FakeDcreaters) Watch

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

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

Jump to

Keyboard shortcuts

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