fake

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2019 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 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.

func (*FakeContourV1beta1) TLSCertificateDelegations added in v0.10.0

func (c *FakeContourV1beta1) TLSCertificateDelegations(namespace string) v1beta1.TLSCertificateDelegationInterface

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.

type FakeTLSCertificateDelegations added in v0.10.0

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

FakeTLSCertificateDelegations implements TLSCertificateDelegationInterface

func (*FakeTLSCertificateDelegations) Create added in v0.10.0

func (c *FakeTLSCertificateDelegations) Create(tLSCertificateDelegation *v1beta1.TLSCertificateDelegation) (result *v1beta1.TLSCertificateDelegation, err error)

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

func (*FakeTLSCertificateDelegations) Delete added in v0.10.0

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

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

func (*FakeTLSCertificateDelegations) DeleteCollection added in v0.10.0

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

DeleteCollection deletes a collection of objects.

func (*FakeTLSCertificateDelegations) Get added in v0.10.0

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

func (*FakeTLSCertificateDelegations) List added in v0.10.0

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

func (*FakeTLSCertificateDelegations) Patch added in v0.10.0

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

Patch applies the patch and returns the patched tLSCertificateDelegation.

func (*FakeTLSCertificateDelegations) Update added in v0.10.0

func (c *FakeTLSCertificateDelegations) Update(tLSCertificateDelegation *v1beta1.TLSCertificateDelegation) (result *v1beta1.TLSCertificateDelegation, err error)

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

func (*FakeTLSCertificateDelegations) Watch added in v0.10.0

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

Jump to

Keyboard shortcuts

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