fake

package
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 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 FakeApplicationconnectorV1alpha1

type FakeApplicationconnectorV1alpha1 struct {
	*testing.Fake
}

func (*FakeApplicationconnectorV1alpha1) CentralConnections

func (*FakeApplicationconnectorV1alpha1) CertificateRequests

func (*FakeApplicationconnectorV1alpha1) RESTClient

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

type FakeCentralConnections

type FakeCentralConnections struct {
	Fake *FakeApplicationconnectorV1alpha1
}

FakeCentralConnections implements CentralConnectionInterface

func (*FakeCentralConnections) Create

func (c *FakeCentralConnections) Create(centralConnection *v1alpha1.CentralConnection) (result *v1alpha1.CentralConnection, err error)

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

func (*FakeCentralConnections) Delete

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

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

func (*FakeCentralConnections) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCentralConnections) Get

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

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

func (*FakeCentralConnections) List

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

func (*FakeCentralConnections) Patch

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

Patch applies the patch and returns the patched centralConnection.

func (*FakeCentralConnections) Update

func (c *FakeCentralConnections) Update(centralConnection *v1alpha1.CentralConnection) (result *v1alpha1.CentralConnection, err error)

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

func (*FakeCentralConnections) UpdateStatus

func (c *FakeCentralConnections) UpdateStatus(centralConnection *v1alpha1.CentralConnection) (*v1alpha1.CentralConnection, error)

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

func (*FakeCentralConnections) Watch

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

type FakeCertificateRequests

type FakeCertificateRequests struct {
	Fake *FakeApplicationconnectorV1alpha1
}

FakeCertificateRequests implements CertificateRequestInterface

func (*FakeCertificateRequests) Create

func (c *FakeCertificateRequests) Create(certificateRequest *v1alpha1.CertificateRequest) (result *v1alpha1.CertificateRequest, err error)

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

func (*FakeCertificateRequests) Delete

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

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

func (*FakeCertificateRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCertificateRequests) Get

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

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

func (*FakeCertificateRequests) List

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

func (*FakeCertificateRequests) Patch

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

Patch applies the patch and returns the patched certificateRequest.

func (*FakeCertificateRequests) Update

func (c *FakeCertificateRequests) Update(certificateRequest *v1alpha1.CertificateRequest) (result *v1alpha1.CertificateRequest, err error)

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

func (*FakeCertificateRequests) UpdateStatus

func (c *FakeCertificateRequests) UpdateStatus(certificateRequest *v1alpha1.CertificateRequest) (*v1alpha1.CertificateRequest, error)

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

func (*FakeCertificateRequests) Watch

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

Jump to

Keyboard shortcuts

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