fake

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 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 FakeLabelsV1alpha1

type FakeLabelsV1alpha1 struct {
	*testing.Fake
}

func (*FakeLabelsV1alpha1) NodePoolLabelSets

func (c *FakeLabelsV1alpha1) NodePoolLabelSets(namespace string) v1alpha1.NodePoolLabelSetInterface

func (*FakeLabelsV1alpha1) RESTClient

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

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

type FakeNodePoolLabelSets

type FakeNodePoolLabelSets struct {
	Fake *FakeLabelsV1alpha1
	// contains filtered or unexported fields
}

FakeNodePoolLabelSets implements NodePoolLabelSetInterface

func (*FakeNodePoolLabelSets) Create

func (c *FakeNodePoolLabelSets) Create(nodePoolLabelSet *v1alpha1.NodePoolLabelSet) (result *v1alpha1.NodePoolLabelSet, err error)

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

func (*FakeNodePoolLabelSets) Delete

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

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

func (*FakeNodePoolLabelSets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNodePoolLabelSets) Get

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

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

func (*FakeNodePoolLabelSets) List

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

func (*FakeNodePoolLabelSets) Patch

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

Patch applies the patch and returns the patched nodePoolLabelSet.

func (*FakeNodePoolLabelSets) Update

func (c *FakeNodePoolLabelSets) Update(nodePoolLabelSet *v1alpha1.NodePoolLabelSet) (result *v1alpha1.NodePoolLabelSet, err error)

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

func (*FakeNodePoolLabelSets) Watch

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

Jump to

Keyboard shortcuts

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