fake

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 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 FakeHTTPProxies

type FakeHTTPProxies struct {
	Fake *FakeProjectcontourV1
	// contains filtered or unexported fields
}

FakeHTTPProxies implements HTTPProxyInterface

func (*FakeHTTPProxies) Create

func (c *FakeHTTPProxies) Create(hTTPProxy *projectcontourv1.HTTPProxy) (result *projectcontourv1.HTTPProxy, err error)

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

func (*FakeHTTPProxies) Delete

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

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

func (*FakeHTTPProxies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeHTTPProxies) Get

func (c *FakeHTTPProxies) Get(name string, options v1.GetOptions) (result *projectcontourv1.HTTPProxy, err error)

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

func (*FakeHTTPProxies) List

func (c *FakeHTTPProxies) List(opts v1.ListOptions) (result *projectcontourv1.HTTPProxyList, err error)

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

func (*FakeHTTPProxies) Patch

func (c *FakeHTTPProxies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *projectcontourv1.HTTPProxy, err error)

Patch applies the patch and returns the patched hTTPProxy.

func (*FakeHTTPProxies) Update

func (c *FakeHTTPProxies) Update(hTTPProxy *projectcontourv1.HTTPProxy) (result *projectcontourv1.HTTPProxy, err error)

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

func (*FakeHTTPProxies) UpdateStatus

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

func (*FakeHTTPProxies) Watch

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

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

type FakeProjectcontourV1

type FakeProjectcontourV1 struct {
	*testing.Fake
}

func (*FakeProjectcontourV1) HTTPProxies

func (c *FakeProjectcontourV1) HTTPProxies(namespace string) v1.HTTPProxyInterface

func (*FakeProjectcontourV1) RESTClient

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

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

func (*FakeProjectcontourV1) TLSCertificateDelegations

func (c *FakeProjectcontourV1) TLSCertificateDelegations(namespace string) v1.TLSCertificateDelegationInterface

type FakeTLSCertificateDelegations

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

FakeTLSCertificateDelegations implements TLSCertificateDelegationInterface

func (*FakeTLSCertificateDelegations) Create

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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeTLSCertificateDelegations) Get

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

func (*FakeTLSCertificateDelegations) List

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

func (*FakeTLSCertificateDelegations) Patch

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

Patch applies the patch and returns the patched tLSCertificateDelegation.

func (*FakeTLSCertificateDelegations) Update

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

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