fake

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 9 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 FakeUploadTokenRequests

type FakeUploadTokenRequests struct {
	Fake *FakeUploadV1alpha1
	// contains filtered or unexported fields
}

FakeUploadTokenRequests implements UploadTokenRequestInterface

func (*FakeUploadTokenRequests) Create

func (c *FakeUploadTokenRequests) Create(uploadTokenRequest *v1alpha1.UploadTokenRequest) (result *v1alpha1.UploadTokenRequest, err error)

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

func (*FakeUploadTokenRequests) Delete

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

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

func (*FakeUploadTokenRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeUploadTokenRequests) Get

func (c *FakeUploadTokenRequests) Get(name string, options v1.GetOptions) (result *v1alpha1.UploadTokenRequest, err error)

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

func (*FakeUploadTokenRequests) List

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

func (*FakeUploadTokenRequests) Patch

func (c *FakeUploadTokenRequests) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.UploadTokenRequest, err error)

Patch applies the patch and returns the patched uploadTokenRequest.

func (*FakeUploadTokenRequests) Update

func (c *FakeUploadTokenRequests) Update(uploadTokenRequest *v1alpha1.UploadTokenRequest) (result *v1alpha1.UploadTokenRequest, err error)

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

func (*FakeUploadTokenRequests) UpdateStatus

func (c *FakeUploadTokenRequests) UpdateStatus(uploadTokenRequest *v1alpha1.UploadTokenRequest) (*v1alpha1.UploadTokenRequest, error)

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

func (*FakeUploadTokenRequests) Watch

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

type FakeUploadV1alpha1

type FakeUploadV1alpha1 struct {
	*testing.Fake
}

func (*FakeUploadV1alpha1) RESTClient

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

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

func (*FakeUploadV1alpha1) UploadTokenRequests

func (c *FakeUploadV1alpha1) UploadTokenRequests(namespace string) v1alpha1.UploadTokenRequestInterface

Jump to

Keyboard shortcuts

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