fake

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 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 FakeCertificates added in v0.5.0

type FakeCertificates struct {
	Fake *FakeNetworkingV1alpha1
	// contains filtered or unexported fields
}

FakeCertificates implements CertificateInterface

func (*FakeCertificates) Create added in v0.5.0

func (c *FakeCertificates) Create(certificate *v1alpha1.Certificate) (result *v1alpha1.Certificate, err error)

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

func (*FakeCertificates) Delete added in v0.5.0

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

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

func (*FakeCertificates) DeleteCollection added in v0.5.0

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

DeleteCollection deletes a collection of objects.

func (*FakeCertificates) Get added in v0.5.0

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

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

func (*FakeCertificates) List added in v0.5.0

func (c *FakeCertificates) List(opts v1.ListOptions) (result *v1alpha1.CertificateList, err error)

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

func (*FakeCertificates) Patch added in v0.5.0

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

Patch applies the patch and returns the patched certificate.

func (*FakeCertificates) Update added in v0.5.0

func (c *FakeCertificates) Update(certificate *v1alpha1.Certificate) (result *v1alpha1.Certificate, err error)

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

func (*FakeCertificates) UpdateStatus added in v0.5.0

func (c *FakeCertificates) UpdateStatus(certificate *v1alpha1.Certificate) (*v1alpha1.Certificate, error)

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

func (*FakeCertificates) Watch added in v0.5.0

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

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

type FakeIngresses added in v0.7.0

type FakeIngresses struct {
	Fake *FakeNetworkingV1alpha1
	// contains filtered or unexported fields
}

FakeIngresses implements IngressInterface

func (*FakeIngresses) Create added in v0.7.0

func (c *FakeIngresses) Create(ingress *v1alpha1.Ingress) (result *v1alpha1.Ingress, err error)

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

func (*FakeIngresses) Delete added in v0.7.0

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

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

func (*FakeIngresses) DeleteCollection added in v0.7.0

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

DeleteCollection deletes a collection of objects.

func (*FakeIngresses) Get added in v0.7.0

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

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

func (*FakeIngresses) List added in v0.7.0

func (c *FakeIngresses) List(opts v1.ListOptions) (result *v1alpha1.IngressList, err error)

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

func (*FakeIngresses) Patch added in v0.7.0

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

Patch applies the patch and returns the patched ingress.

func (*FakeIngresses) Update added in v0.7.0

func (c *FakeIngresses) Update(ingress *v1alpha1.Ingress) (result *v1alpha1.Ingress, err error)

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

func (*FakeIngresses) UpdateStatus added in v0.7.0

func (c *FakeIngresses) UpdateStatus(ingress *v1alpha1.Ingress) (*v1alpha1.Ingress, error)

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

func (*FakeIngresses) Watch added in v0.7.0

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

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

type FakeNetworkingV1alpha1

type FakeNetworkingV1alpha1 struct {
	*testing.Fake
}

func (*FakeNetworkingV1alpha1) Certificates added in v0.5.0

func (c *FakeNetworkingV1alpha1) Certificates(namespace string) v1alpha1.CertificateInterface

func (*FakeNetworkingV1alpha1) Ingresses added in v0.7.0

func (c *FakeNetworkingV1alpha1) Ingresses(namespace string) v1alpha1.IngressInterface

func (*FakeNetworkingV1alpha1) RESTClient

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

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

func (*FakeNetworkingV1alpha1) ServerlessServices added in v0.5.0

func (c *FakeNetworkingV1alpha1) ServerlessServices(namespace string) v1alpha1.ServerlessServiceInterface

type FakeServerlessServices added in v0.5.0

type FakeServerlessServices struct {
	Fake *FakeNetworkingV1alpha1
	// contains filtered or unexported fields
}

FakeServerlessServices implements ServerlessServiceInterface

func (*FakeServerlessServices) Create added in v0.5.0

func (c *FakeServerlessServices) Create(serverlessService *v1alpha1.ServerlessService) (result *v1alpha1.ServerlessService, err error)

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

func (*FakeServerlessServices) Delete added in v0.5.0

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

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

func (*FakeServerlessServices) DeleteCollection added in v0.5.0

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

DeleteCollection deletes a collection of objects.

func (*FakeServerlessServices) Get added in v0.5.0

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

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

func (*FakeServerlessServices) List added in v0.5.0

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

func (*FakeServerlessServices) Patch added in v0.5.0

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

Patch applies the patch and returns the patched serverlessService.

func (*FakeServerlessServices) Update added in v0.5.0

func (c *FakeServerlessServices) Update(serverlessService *v1alpha1.ServerlessService) (result *v1alpha1.ServerlessService, err error)

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

func (*FakeServerlessServices) UpdateStatus added in v0.5.0

func (c *FakeServerlessServices) UpdateStatus(serverlessService *v1alpha1.ServerlessService) (*v1alpha1.ServerlessService, error)

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

func (*FakeServerlessServices) Watch added in v0.5.0

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

Jump to

Keyboard shortcuts

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