fake

package
v0.0.0-...-98f139c Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2019 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 FakeKrakenClusters

type FakeKrakenClusters struct {
	Fake *FakeSamsungV1alpha1
	// contains filtered or unexported fields
}

FakeKrakenClusters implements KrakenClusterInterface

func (*FakeKrakenClusters) Create

func (c *FakeKrakenClusters) Create(krakenCluster *v1alpha1.KrakenCluster) (result *v1alpha1.KrakenCluster, err error)

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

func (*FakeKrakenClusters) Delete

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

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

func (*FakeKrakenClusters) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeKrakenClusters) Get

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

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

func (*FakeKrakenClusters) List

func (c *FakeKrakenClusters) List(opts v1.ListOptions) (result *v1alpha1.KrakenClusterList, err error)

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

func (*FakeKrakenClusters) Patch

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

Patch applies the patch and returns the patched krakenCluster.

func (*FakeKrakenClusters) Update

func (c *FakeKrakenClusters) Update(krakenCluster *v1alpha1.KrakenCluster) (result *v1alpha1.KrakenCluster, err error)

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

func (*FakeKrakenClusters) UpdateStatus

func (c *FakeKrakenClusters) UpdateStatus(krakenCluster *v1alpha1.KrakenCluster) (*v1alpha1.KrakenCluster, error)

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

func (*FakeKrakenClusters) Watch

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

type FakeSamsungV1alpha1

type FakeSamsungV1alpha1 struct {
	*testing.Fake
}

func (*FakeSamsungV1alpha1) KrakenClusters

func (c *FakeSamsungV1alpha1) KrakenClusters(namespace string) v1alpha1.KrakenClusterInterface

func (*FakeSamsungV1alpha1) RESTClient

func (c *FakeSamsungV1alpha1) 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