fake

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2018 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 FakeRadanalyticsV1

type FakeRadanalyticsV1 struct {
	*testing.Fake
}

func (*FakeRadanalyticsV1) RESTClient

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

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

func (*FakeRadanalyticsV1) SparkClusters

func (c *FakeRadanalyticsV1) SparkClusters(namespace string) v1.SparkClusterInterface

type FakeSparkClusters

type FakeSparkClusters struct {
	Fake *FakeRadanalyticsV1
	// contains filtered or unexported fields
}

FakeSparkClusters implements SparkClusterInterface

func (*FakeSparkClusters) Create

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

func (*FakeSparkClusters) Delete

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

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

func (*FakeSparkClusters) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSparkClusters) Get

func (c *FakeSparkClusters) Get(name string, options v1.GetOptions) (result *radanalytics_io_v1.SparkCluster, err error)

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

func (*FakeSparkClusters) List

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

func (*FakeSparkClusters) Patch

func (c *FakeSparkClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *radanalytics_io_v1.SparkCluster, err error)

Patch applies the patch and returns the patched sparkCluster.

func (*FakeSparkClusters) Update

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

func (*FakeSparkClusters) UpdateStatus

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

func (*FakeSparkClusters) Watch

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

Jump to

Keyboard shortcuts

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