fake

package
v0.0.0-...-e4dcd5c Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: LGPL-2.1 Imports: 12 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 FakeBlueChiSystems

type FakeBlueChiSystems struct {
	Fake *FakeOrgV1alpha1
	// contains filtered or unexported fields
}

FakeBlueChiSystems implements BlueChiSystemInterface

func (*FakeBlueChiSystems) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied blueChiSystem.

func (*FakeBlueChiSystems) ApplyStatus

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

func (*FakeBlueChiSystems) Create

func (c *FakeBlueChiSystems) Create(ctx context.Context, blueChiSystem *v1alpha1.BlueChiSystem, opts v1.CreateOptions) (result *v1alpha1.BlueChiSystem, err error)

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

func (*FakeBlueChiSystems) Delete

func (c *FakeBlueChiSystems) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeBlueChiSystems) DeleteCollection

func (c *FakeBlueChiSystems) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBlueChiSystems) Get

func (c *FakeBlueChiSystems) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BlueChiSystem, err error)

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

func (*FakeBlueChiSystems) List

func (c *FakeBlueChiSystems) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BlueChiSystemList, err error)

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

func (*FakeBlueChiSystems) Patch

func (c *FakeBlueChiSystems) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.BlueChiSystem, err error)

Patch applies the patch and returns the patched blueChiSystem.

func (*FakeBlueChiSystems) Update

func (c *FakeBlueChiSystems) Update(ctx context.Context, blueChiSystem *v1alpha1.BlueChiSystem, opts v1.UpdateOptions) (result *v1alpha1.BlueChiSystem, err error)

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

func (*FakeBlueChiSystems) UpdateStatus

func (c *FakeBlueChiSystems) UpdateStatus(ctx context.Context, blueChiSystem *v1alpha1.BlueChiSystem, opts v1.UpdateOptions) (*v1alpha1.BlueChiSystem, error)

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

func (*FakeBlueChiSystems) Watch

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

type FakeOrgV1alpha1

type FakeOrgV1alpha1 struct {
	*testing.Fake
}

func (*FakeOrgV1alpha1) BlueChiSystems

func (c *FakeOrgV1alpha1) BlueChiSystems(namespace string) v1alpha1.BlueChiSystemInterface

func (*FakeOrgV1alpha1) RESTClient

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