Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCertificateRequests
- func (c *FakeCertificateRequests) Create(certificateRequest *v1alpha2.CertificateRequest) (result *v1alpha2.CertificateRequest, err error)
- func (c *FakeCertificateRequests) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCertificateRequests) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCertificateRequests) Get(name string, options v1.GetOptions) (result *v1alpha2.CertificateRequest, err error)
- func (c *FakeCertificateRequests) List(opts v1.ListOptions) (result *v1alpha2.CertificateRequestList, err error)
- func (c *FakeCertificateRequests) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.CertificateRequest, err error)
- func (c *FakeCertificateRequests) Update(certificateRequest *v1alpha2.CertificateRequest) (result *v1alpha2.CertificateRequest, err error)
- func (c *FakeCertificateRequests) UpdateStatus(certificateRequest *v1alpha2.CertificateRequest) (*v1alpha2.CertificateRequest, error)
- func (c *FakeCertificateRequests) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCertificates
- func (c *FakeCertificates) Create(certificate *v1alpha2.Certificate) (result *v1alpha2.Certificate, err error)
- func (c *FakeCertificates) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCertificates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCertificates) Get(name string, options v1.GetOptions) (result *v1alpha2.Certificate, err error)
- func (c *FakeCertificates) List(opts v1.ListOptions) (result *v1alpha2.CertificateList, err error)
- func (c *FakeCertificates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Certificate, err error)
- func (c *FakeCertificates) Update(certificate *v1alpha2.Certificate) (result *v1alpha2.Certificate, err error)
- func (c *FakeCertificates) UpdateStatus(certificate *v1alpha2.Certificate) (*v1alpha2.Certificate, error)
- func (c *FakeCertificates) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCertmanagerV1alpha2
- func (c *FakeCertmanagerV1alpha2) CertificateRequests(namespace string) v1alpha2.CertificateRequestInterface
- func (c *FakeCertmanagerV1alpha2) Certificates(namespace string) v1alpha2.CertificateInterface
- func (c *FakeCertmanagerV1alpha2) ClusterIssuers() v1alpha2.ClusterIssuerInterface
- func (c *FakeCertmanagerV1alpha2) Issuers(namespace string) v1alpha2.IssuerInterface
- func (c *FakeCertmanagerV1alpha2) RESTClient() rest.Interface
- type FakeClusterIssuers
- func (c *FakeClusterIssuers) Create(clusterIssuer *v1alpha2.ClusterIssuer) (result *v1alpha2.ClusterIssuer, err error)
- func (c *FakeClusterIssuers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusterIssuers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusterIssuers) Get(name string, options v1.GetOptions) (result *v1alpha2.ClusterIssuer, err error)
- func (c *FakeClusterIssuers) List(opts v1.ListOptions) (result *v1alpha2.ClusterIssuerList, err error)
- func (c *FakeClusterIssuers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.ClusterIssuer, err error)
- func (c *FakeClusterIssuers) Update(clusterIssuer *v1alpha2.ClusterIssuer) (result *v1alpha2.ClusterIssuer, err error)
- func (c *FakeClusterIssuers) UpdateStatus(clusterIssuer *v1alpha2.ClusterIssuer) (*v1alpha2.ClusterIssuer, error)
- func (c *FakeClusterIssuers) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeIssuers
- func (c *FakeIssuers) Create(issuer *v1alpha2.Issuer) (result *v1alpha2.Issuer, err error)
- func (c *FakeIssuers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeIssuers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeIssuers) Get(name string, options v1.GetOptions) (result *v1alpha2.Issuer, err error)
- func (c *FakeIssuers) List(opts v1.ListOptions) (result *v1alpha2.IssuerList, err error)
- func (c *FakeIssuers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Issuer, err error)
- func (c *FakeIssuers) Update(issuer *v1alpha2.Issuer) (result *v1alpha2.Issuer, err error)
- func (c *FakeIssuers) UpdateStatus(issuer *v1alpha2.Issuer) (*v1alpha2.Issuer, error)
- func (c *FakeIssuers) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCertificateRequests ¶
type FakeCertificateRequests struct { Fake *FakeCertmanagerV1alpha2 // contains filtered or unexported fields }
FakeCertificateRequests implements CertificateRequestInterface
func (*FakeCertificateRequests) Create ¶
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 ¶
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 *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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (c *FakeCertificateRequests) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested certificateRequests.
type FakeCertificates ¶
type FakeCertificates struct { Fake *FakeCertmanagerV1alpha2 // contains filtered or unexported fields }
FakeCertificates implements CertificateInterface
func (*FakeCertificates) Create ¶
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 ¶
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 ¶
func (c *FakeCertificates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCertificates) Get ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (c *FakeCertificates) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested certificates.
type FakeCertmanagerV1alpha2 ¶
func (*FakeCertmanagerV1alpha2) CertificateRequests ¶
func (c *FakeCertmanagerV1alpha2) CertificateRequests(namespace string) v1alpha2.CertificateRequestInterface
func (*FakeCertmanagerV1alpha2) Certificates ¶
func (c *FakeCertmanagerV1alpha2) Certificates(namespace string) v1alpha2.CertificateInterface
func (*FakeCertmanagerV1alpha2) ClusterIssuers ¶
func (c *FakeCertmanagerV1alpha2) ClusterIssuers() v1alpha2.ClusterIssuerInterface
func (*FakeCertmanagerV1alpha2) Issuers ¶
func (c *FakeCertmanagerV1alpha2) Issuers(namespace string) v1alpha2.IssuerInterface
func (*FakeCertmanagerV1alpha2) RESTClient ¶
func (c *FakeCertmanagerV1alpha2) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeClusterIssuers ¶
type FakeClusterIssuers struct {
Fake *FakeCertmanagerV1alpha2
}
FakeClusterIssuers implements ClusterIssuerInterface
func (*FakeClusterIssuers) Create ¶
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 ¶
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 ¶
func (c *FakeClusterIssuers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterIssuers) Get ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (c *FakeClusterIssuers) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterIssuers.
type FakeIssuers ¶
type FakeIssuers struct { Fake *FakeCertmanagerV1alpha2 // contains filtered or unexported fields }
FakeIssuers implements IssuerInterface
func (*FakeIssuers) Create ¶
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 ¶
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 ¶
func (c *FakeIssuers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIssuers) Get ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (c *FakeIssuers) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested issuers.