client-go: Index | Files

package fake

import ""

Package fake has the automatically generated clients.


Package Files

doc.go fake_certificates_client.go fake_certificatesigningrequest.go fake_certificatesigningrequest_expansion.go

type FakeCertificateSigningRequests Uses

type FakeCertificateSigningRequests struct {
    Fake *FakeCertificatesV1beta1

FakeCertificateSigningRequests implements CertificateSigningRequestInterface

func (*FakeCertificateSigningRequests) Create Uses

func (c *FakeCertificateSigningRequests) Create(ctx context.Context, certificateSigningRequest *v1beta1.CertificateSigningRequest, opts v1.CreateOptions) (result *v1beta1.CertificateSigningRequest, err error)

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

func (*FakeCertificateSigningRequests) Delete Uses

func (c *FakeCertificateSigningRequests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeCertificateSigningRequests) DeleteCollection Uses

func (c *FakeCertificateSigningRequests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCertificateSigningRequests) Get Uses

func (c *FakeCertificateSigningRequests) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.CertificateSigningRequest, err error)

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

func (*FakeCertificateSigningRequests) List Uses

func (c *FakeCertificateSigningRequests) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.CertificateSigningRequestList, err error)

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

func (*FakeCertificateSigningRequests) Patch Uses

func (c *FakeCertificateSigningRequests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.CertificateSigningRequest, err error)

Patch applies the patch and returns the patched certificateSigningRequest.

func (*FakeCertificateSigningRequests) Update Uses

func (c *FakeCertificateSigningRequests) Update(ctx context.Context, certificateSigningRequest *v1beta1.CertificateSigningRequest, opts v1.UpdateOptions) (result *v1beta1.CertificateSigningRequest, err error)

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

func (*FakeCertificateSigningRequests) UpdateApproval Uses

func (c *FakeCertificateSigningRequests) UpdateApproval(ctx context.Context, certificateSigningRequest *certificates.CertificateSigningRequest, opts metav1.UpdateOptions) (result *certificates.CertificateSigningRequest, err error)

func (*FakeCertificateSigningRequests) UpdateStatus Uses

func (c *FakeCertificateSigningRequests) UpdateStatus(ctx context.Context, certificateSigningRequest *v1beta1.CertificateSigningRequest, opts v1.UpdateOptions) (*v1beta1.CertificateSigningRequest, error)

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

func (*FakeCertificateSigningRequests) Watch Uses

func (c *FakeCertificateSigningRequests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

type FakeCertificatesV1beta1 Uses

type FakeCertificatesV1beta1 struct {

func (*FakeCertificatesV1beta1) CertificateSigningRequests Uses

func (c *FakeCertificatesV1beta1) CertificateSigningRequests() v1beta1.CertificateSigningRequestInterface

func (*FakeCertificatesV1beta1) RESTClient Uses

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

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

Package fake imports 10 packages (graph) and is imported by 23 packages. Updated 2020-03-15. Refresh now. Tools for package owners.