fake

package
v2.0.0-alpha.1+incompa... Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2016 License: Apache-2.0 Imports: 9 Imported by: 18

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 *FakeCertificatesV1alpha1
}

FakeCertificateSigningRequests implements CertificateSigningRequestInterface

func (*FakeCertificateSigningRequests) Create

func (*FakeCertificateSigningRequests) Delete

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

func (*FakeCertificateSigningRequests) DeleteCollection

func (c *FakeCertificateSigningRequests) DeleteCollection(options *v1.DeleteOptions, listOptions v1.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) UpdateApproval

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

func (*FakeCertificateSigningRequests) UpdateStatus

func (*FakeCertificateSigningRequests) Watch

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

type FakeCertificatesV1alpha1

type FakeCertificatesV1alpha1 struct {
	*testing.Fake
}

func (*FakeCertificatesV1alpha1) CertificateSigningRequests

func (*FakeCertificatesV1alpha1) RESTClient

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

RESTClient 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