fake

package
v0.0.0-...-146a38b Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: BSD-3-Clause, 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 FakeContourV1beta1

type FakeContourV1beta1 struct {
	*testing.Fake
}

func (*FakeContourV1beta1) IngressRoutes

func (c *FakeContourV1beta1) IngressRoutes(namespace string) v1beta1.IngressRouteInterface

func (*FakeContourV1beta1) RESTClient

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

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

type FakeIngressRoutes

type FakeIngressRoutes struct {
	Fake *FakeContourV1beta1
	// contains filtered or unexported fields
}

FakeIngressRoutes implements IngressRouteInterface

func (*FakeIngressRoutes) Create

func (c *FakeIngressRoutes) Create(ingressRoute *v1beta1.IngressRoute) (result *v1beta1.IngressRoute, err error)

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

func (*FakeIngressRoutes) Delete

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

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

func (*FakeIngressRoutes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeIngressRoutes) Get

func (c *FakeIngressRoutes) Get(name string, options v1.GetOptions) (result *v1beta1.IngressRoute, err error)

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

func (*FakeIngressRoutes) List

func (c *FakeIngressRoutes) List(opts v1.ListOptions) (result *v1beta1.IngressRouteList, err error)

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

func (*FakeIngressRoutes) Patch

func (c *FakeIngressRoutes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.IngressRoute, err error)

Patch applies the patch and returns the patched ingressRoute.

func (*FakeIngressRoutes) Update

func (c *FakeIngressRoutes) Update(ingressRoute *v1beta1.IngressRoute) (result *v1beta1.IngressRoute, err error)

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

func (*FakeIngressRoutes) UpdateStatus

func (c *FakeIngressRoutes) UpdateStatus(ingressRoute *v1beta1.IngressRoute) (*v1beta1.IngressRoute, error)

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

func (*FakeIngressRoutes) Watch

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

Jump to

Keyboard shortcuts

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