fake

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: Apache-2.0, Apache-2.0 Imports: 8 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 FakeCertificateSigningRequests

type FakeCertificateSigningRequests struct {
	Fake *FakeCertificates
}

FakeCertificateSigningRequests implements CertificateSigningRequestInterface

func (*FakeCertificateSigningRequests) Create

func (*FakeCertificateSigningRequests) Delete

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

func (*FakeCertificateSigningRequests) DeleteCollection

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

func (*FakeCertificateSigningRequests) Get

func (*FakeCertificateSigningRequests) List

func (*FakeCertificateSigningRequests) Patch

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

Patch applies the patch and returns the patched certificateSigningRequest.

func (*FakeCertificateSigningRequests) Update

func (*FakeCertificateSigningRequests) UpdateStatus

func (*FakeCertificateSigningRequests) Watch

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

type FakeCertificates

type FakeCertificates struct {
	*testing.Fake
}

func (*FakeCertificates) CertificateSigningRequests

func (c *FakeCertificates) CertificateSigningRequests() v1alpha1.CertificateSigningRequestInterface

func (*FakeCertificates) GetRESTClient

func (c *FakeCertificates) GetRESTClient() *rest.RESTClient

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

Jump to

Keyboard shortcuts

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