fake

package
v0.0.0-...-6265879 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2021 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 FakeSubmarineClusters

type FakeSubmarineClusters struct {
	Fake *FakeSubmarineV1alpha1
	// contains filtered or unexported fields
}

FakeSubmarineClusters implements SubmarineClusterInterface

func (*FakeSubmarineClusters) Create

func (c *FakeSubmarineClusters) Create(submarineCluster *v1alpha1.SubmarineCluster) (result *v1alpha1.SubmarineCluster, err error)

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

func (*FakeSubmarineClusters) Delete

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

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

func (*FakeSubmarineClusters) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSubmarineClusters) Get

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

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

func (*FakeSubmarineClusters) List

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

func (*FakeSubmarineClusters) Patch

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

Patch applies the patch and returns the patched submarineCluster.

func (*FakeSubmarineClusters) Update

func (c *FakeSubmarineClusters) Update(submarineCluster *v1alpha1.SubmarineCluster) (result *v1alpha1.SubmarineCluster, err error)

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

func (*FakeSubmarineClusters) UpdateStatus

func (c *FakeSubmarineClusters) UpdateStatus(submarineCluster *v1alpha1.SubmarineCluster) (*v1alpha1.SubmarineCluster, error)

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

func (*FakeSubmarineClusters) Watch

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

type FakeSubmarineV1alpha1

type FakeSubmarineV1alpha1 struct {
	*testing.Fake
}

func (*FakeSubmarineV1alpha1) RESTClient

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

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

func (*FakeSubmarineV1alpha1) SubmarineClusters

func (c *FakeSubmarineV1alpha1) SubmarineClusters(namespace string) v1alpha1.SubmarineClusterInterface

Jump to

Keyboard shortcuts

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