cert-manager: github.com/jetstack/cert-manager/pkg/client/clientset/versioned/typed/certmanager/v1alpha2/fake Index | Files

package fake

import "github.com/jetstack/cert-manager/pkg/client/clientset/versioned/typed/certmanager/v1alpha2/fake"

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_certificate.go fake_certificaterequest.go fake_certmanager_client.go fake_clusterissuer.go fake_issuer.go

type FakeCertificateRequests Uses

type FakeCertificateRequests struct {
    Fake *FakeCertmanagerV1alpha2
    // contains filtered or unexported fields
}

FakeCertificateRequests implements CertificateRequestInterface

func (*FakeCertificateRequests) Create Uses

func (c *FakeCertificateRequests) Create(certificateRequest *v1alpha2.CertificateRequest) (result *v1alpha2.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 Uses

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 Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeCertificateRequests) Get Uses

func (c *FakeCertificateRequests) Get(name string, options v1.GetOptions) (result *v1alpha2.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 Uses

func (c *FakeCertificateRequests) List(opts v1.ListOptions) (result *v1alpha2.CertificateRequestList, err error)

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

func (*FakeCertificateRequests) Patch Uses

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

Patch applies the patch and returns the patched certificateRequest.

func (*FakeCertificateRequests) Update Uses

func (c *FakeCertificateRequests) Update(certificateRequest *v1alpha2.CertificateRequest) (result *v1alpha2.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 Uses

func (c *FakeCertificateRequests) UpdateStatus(certificateRequest *v1alpha2.CertificateRequest) (*v1alpha2.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 Uses

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

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

type FakeCertificates Uses

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

FakeCertificates implements CertificateInterface

func (*FakeCertificates) Create Uses

func (c *FakeCertificates) Create(certificate *v1alpha2.Certificate) (result *v1alpha2.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 Uses

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 Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeCertificates) Get Uses

func (c *FakeCertificates) Get(name string, options v1.GetOptions) (result *v1alpha2.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 Uses

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

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

func (*FakeCertificates) Patch Uses

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

Patch applies the patch and returns the patched certificate.

func (*FakeCertificates) Update Uses

func (c *FakeCertificates) Update(certificate *v1alpha2.Certificate) (result *v1alpha2.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 Uses

func (c *FakeCertificates) UpdateStatus(certificate *v1alpha2.Certificate) (*v1alpha2.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 Uses

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

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

type FakeCertmanagerV1alpha2 Uses

type FakeCertmanagerV1alpha2 struct {
    *testing.Fake
}

func (*FakeCertmanagerV1alpha2) CertificateRequests Uses

func (c *FakeCertmanagerV1alpha2) CertificateRequests(namespace string) v1alpha2.CertificateRequestInterface

func (*FakeCertmanagerV1alpha2) Certificates Uses

func (c *FakeCertmanagerV1alpha2) Certificates(namespace string) v1alpha2.CertificateInterface

func (*FakeCertmanagerV1alpha2) ClusterIssuers Uses

func (c *FakeCertmanagerV1alpha2) ClusterIssuers() v1alpha2.ClusterIssuerInterface

func (*FakeCertmanagerV1alpha2) Issuers Uses

func (c *FakeCertmanagerV1alpha2) Issuers(namespace string) v1alpha2.IssuerInterface

func (*FakeCertmanagerV1alpha2) RESTClient Uses

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

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

type FakeClusterIssuers Uses

type FakeClusterIssuers struct {
    Fake *FakeCertmanagerV1alpha2
}

FakeClusterIssuers implements ClusterIssuerInterface

func (*FakeClusterIssuers) Create Uses

func (c *FakeClusterIssuers) Create(clusterIssuer *v1alpha2.ClusterIssuer) (result *v1alpha2.ClusterIssuer, err error)

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

func (*FakeClusterIssuers) Delete Uses

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

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

func (*FakeClusterIssuers) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterIssuers) Get Uses

func (c *FakeClusterIssuers) Get(name string, options v1.GetOptions) (result *v1alpha2.ClusterIssuer, err error)

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

func (*FakeClusterIssuers) List Uses

func (c *FakeClusterIssuers) List(opts v1.ListOptions) (result *v1alpha2.ClusterIssuerList, err error)

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

func (*FakeClusterIssuers) Patch Uses

func (c *FakeClusterIssuers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.ClusterIssuer, err error)

Patch applies the patch and returns the patched clusterIssuer.

func (*FakeClusterIssuers) Update Uses

func (c *FakeClusterIssuers) Update(clusterIssuer *v1alpha2.ClusterIssuer) (result *v1alpha2.ClusterIssuer, err error)

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

func (*FakeClusterIssuers) UpdateStatus Uses

func (c *FakeClusterIssuers) UpdateStatus(clusterIssuer *v1alpha2.ClusterIssuer) (*v1alpha2.ClusterIssuer, error)

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

func (*FakeClusterIssuers) Watch Uses

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

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

type FakeIssuers Uses

type FakeIssuers struct {
    Fake *FakeCertmanagerV1alpha2
    // contains filtered or unexported fields
}

FakeIssuers implements IssuerInterface

func (*FakeIssuers) Create Uses

func (c *FakeIssuers) Create(issuer *v1alpha2.Issuer) (result *v1alpha2.Issuer, err error)

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

func (*FakeIssuers) Delete Uses

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

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

func (*FakeIssuers) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeIssuers) Get Uses

func (c *FakeIssuers) Get(name string, options v1.GetOptions) (result *v1alpha2.Issuer, err error)

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

func (*FakeIssuers) List Uses

func (c *FakeIssuers) List(opts v1.ListOptions) (result *v1alpha2.IssuerList, err error)

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

func (*FakeIssuers) Patch Uses

func (c *FakeIssuers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Issuer, err error)

Patch applies the patch and returns the patched issuer.

func (*FakeIssuers) Update Uses

func (c *FakeIssuers) Update(issuer *v1alpha2.Issuer) (result *v1alpha2.Issuer, err error)

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

func (*FakeIssuers) UpdateStatus Uses

func (c *FakeIssuers) UpdateStatus(issuer *v1alpha2.Issuer) (*v1alpha2.Issuer, error)

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

func (*FakeIssuers) Watch Uses

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

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

Package fake imports 9 packages (graph) and is imported by 1 packages. Updated 2019-11-13. Refresh now. Tools for package owners.