fake

package
v0.0.0-...-49e8767 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: Apache-2.0 Imports: 9 Imported by: 1

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 FakeDeployV1alpha2

type FakeDeployV1alpha2 struct {
	*testing.Fake
}

func (*FakeDeployV1alpha2) RESTClient

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

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

func (*FakeDeployV1alpha2) RemoteResourceS3s

func (c *FakeDeployV1alpha2) RemoteResourceS3s(namespace string) v1alpha2.RemoteResourceS3Interface

type FakeRemoteResourceS3s

type FakeRemoteResourceS3s struct {
	Fake *FakeDeployV1alpha2
	// contains filtered or unexported fields
}

FakeRemoteResourceS3s implements RemoteResourceS3Interface

func (*FakeRemoteResourceS3s) Create

func (c *FakeRemoteResourceS3s) Create(remoteResourceS3 *v1alpha2.RemoteResourceS3) (result *v1alpha2.RemoteResourceS3, err error)

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

func (*FakeRemoteResourceS3s) Delete

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

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

func (*FakeRemoteResourceS3s) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRemoteResourceS3s) Get

func (c *FakeRemoteResourceS3s) Get(name string, options v1.GetOptions) (result *v1alpha2.RemoteResourceS3, err error)

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

func (*FakeRemoteResourceS3s) List

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

func (*FakeRemoteResourceS3s) Patch

func (c *FakeRemoteResourceS3s) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.RemoteResourceS3, err error)

Patch applies the patch and returns the patched remoteResourceS3.

func (*FakeRemoteResourceS3s) Update

func (c *FakeRemoteResourceS3s) Update(remoteResourceS3 *v1alpha2.RemoteResourceS3) (result *v1alpha2.RemoteResourceS3, err error)

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

func (*FakeRemoteResourceS3s) Watch

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

Jump to

Keyboard shortcuts

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