fake

package
v0.0.0-...-8bea0a1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 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 FakeK8spluginV1alpha1

type FakeK8spluginV1alpha1 struct {
	*testing.Fake
}

func (*FakeK8spluginV1alpha1) RESTClient

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

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

func (*FakeK8spluginV1alpha1) ResourceBundleStates

func (c *FakeK8spluginV1alpha1) ResourceBundleStates(namespace string) v1alpha1.ResourceBundleStateInterface

type FakeResourceBundleStates

type FakeResourceBundleStates struct {
	Fake *FakeK8spluginV1alpha1
	// contains filtered or unexported fields
}

FakeResourceBundleStates implements ResourceBundleStateInterface

func (*FakeResourceBundleStates) Create

func (c *FakeResourceBundleStates) Create(resourceBundleState *v1alpha1.ResourceBundleState) (result *v1alpha1.ResourceBundleState, err error)

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

func (*FakeResourceBundleStates) Delete

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

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

func (*FakeResourceBundleStates) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeResourceBundleStates) Get

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

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

func (*FakeResourceBundleStates) List

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

func (*FakeResourceBundleStates) Patch

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

Patch applies the patch and returns the patched resourceBundleState.

func (*FakeResourceBundleStates) Update

func (c *FakeResourceBundleStates) Update(resourceBundleState *v1alpha1.ResourceBundleState) (result *v1alpha1.ResourceBundleState, err error)

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

func (*FakeResourceBundleStates) UpdateStatus

func (c *FakeResourceBundleStates) UpdateStatus(resourceBundleState *v1alpha1.ResourceBundleState) (*v1alpha1.ResourceBundleState, error)

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

func (*FakeResourceBundleStates) Watch

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

Jump to

Keyboard shortcuts

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