package fake

import "k8s.io/client-go/kubernetes/typed/certificates/v1beta1/fake"

Package fake has the automatically generated clients.

Index

Types

type FakeCertificateSigningRequests

type FakeCertificateSigningRequests struct {
	Fake *FakeCertificatesV1beta1
}

FakeCertificateSigningRequests implements CertificateSigningRequestInterface

func (*FakeCertificateSigningRequests) Create

func (c *FakeCertificateSigningRequests) Create(certificateSigningRequest *v1beta1.CertificateSigningRequest) (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

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

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

func (*FakeCertificateSigningRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCertificateSigningRequests) Get

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

func (*FakeCertificateSigningRequests) List

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

func (*FakeCertificateSigningRequests) Patch

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

Patch applies the patch and returns the patched certificateSigningRequest.

func (*FakeCertificateSigningRequests) Update

func (c *FakeCertificateSigningRequests) Update(certificateSigningRequest *v1beta1.CertificateSigningRequest) (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

func (c *FakeCertificateSigningRequests) UpdateApproval(certificateSigningRequest *certificates.CertificateSigningRequest) (result *certificates.CertificateSigningRequest, err error)

func (*FakeCertificateSigningRequests) UpdateStatus

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

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

type FakeCertificatesV1beta1

type FakeCertificatesV1beta1 struct {
	*testing.Fake
}

func (*FakeCertificatesV1beta1) CertificateSigningRequests

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

func (*FakeCertificatesV1beta1) RESTClient

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

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

Source Files

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

Version
v0.16.7
Published
Feb 11, 2020
Platform
linux/amd64
Imports
9 packages
Last checked
8 minutes ago

Tools for package owners.