fake

package
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 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 FakeApplicationconnectorV1alpha1

type FakeApplicationconnectorV1alpha1 struct {
	*testing.Fake
}

func (*FakeApplicationconnectorV1alpha1) RESTClient

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

func (*FakeApplicationconnectorV1alpha1) TokenRequests

type FakeTokenRequests

type FakeTokenRequests struct {
	Fake *FakeApplicationconnectorV1alpha1
	// contains filtered or unexported fields
}

FakeTokenRequests implements TokenRequestInterface

func (*FakeTokenRequests) Create

func (c *FakeTokenRequests) Create(tokenRequest *v1alpha1.TokenRequest) (result *v1alpha1.TokenRequest, err error)

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

func (*FakeTokenRequests) Delete

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

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

func (*FakeTokenRequests) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTokenRequests) Get

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

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

func (*FakeTokenRequests) List

func (c *FakeTokenRequests) List(opts v1.ListOptions) (result *v1alpha1.TokenRequestList, err error)

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

func (*FakeTokenRequests) Patch

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

Patch applies the patch and returns the patched tokenRequest.

func (*FakeTokenRequests) Update

func (c *FakeTokenRequests) Update(tokenRequest *v1alpha1.TokenRequest) (result *v1alpha1.TokenRequest, err error)

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

func (*FakeTokenRequests) UpdateStatus

func (c *FakeTokenRequests) UpdateStatus(tokenRequest *v1alpha1.TokenRequest) (*v1alpha1.TokenRequest, error)

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

func (*FakeTokenRequests) Watch

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

Jump to

Keyboard shortcuts

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