fake

package
v0.0.0-...-bfd0bb2 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: Apache-2.0 Imports: 10 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 FakeCrdV1beta1

type FakeCrdV1beta1 struct {
	*testing.Fake
}

func (*FakeCrdV1beta1) HeliosAgentInfos

func (c *FakeCrdV1beta1) HeliosAgentInfos() v1beta1.HeliosAgentInfoInterface

func (*FakeCrdV1beta1) HeliosControllerInfos

func (c *FakeCrdV1beta1) HeliosControllerInfos() v1beta1.HeliosControllerInfoInterface

func (*FakeCrdV1beta1) RESTClient

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

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

type FakeHeliosAgentInfos

type FakeHeliosAgentInfos struct {
	Fake *FakeCrdV1beta1
}

FakeHeliosAgentInfos implements HeliosAgentInfoInterface

func (*FakeHeliosAgentInfos) Create

func (c *FakeHeliosAgentInfos) Create(ctx context.Context, heliosAgentInfo *v1beta1.HeliosAgentInfo, opts v1.CreateOptions) (result *v1beta1.HeliosAgentInfo, err error)

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

func (*FakeHeliosAgentInfos) Delete

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

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

func (*FakeHeliosAgentInfos) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeHeliosAgentInfos) Get

func (c *FakeHeliosAgentInfos) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.HeliosAgentInfo, err error)

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

func (*FakeHeliosAgentInfos) List

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

func (*FakeHeliosAgentInfos) Patch

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

Patch applies the patch and returns the patched heliosAgentInfo.

func (*FakeHeliosAgentInfos) Update

func (c *FakeHeliosAgentInfos) Update(ctx context.Context, heliosAgentInfo *v1beta1.HeliosAgentInfo, opts v1.UpdateOptions) (result *v1beta1.HeliosAgentInfo, err error)

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

func (*FakeHeliosAgentInfos) Watch

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

type FakeHeliosControllerInfos

type FakeHeliosControllerInfos struct {
	Fake *FakeCrdV1beta1
}

FakeHeliosControllerInfos implements HeliosControllerInfoInterface

func (*FakeHeliosControllerInfos) Create

func (c *FakeHeliosControllerInfos) Create(ctx context.Context, heliosControllerInfo *v1beta1.HeliosControllerInfo, opts v1.CreateOptions) (result *v1beta1.HeliosControllerInfo, err error)

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

func (*FakeHeliosControllerInfos) Delete

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

func (*FakeHeliosControllerInfos) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeHeliosControllerInfos) Get

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

func (*FakeHeliosControllerInfos) List

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

func (*FakeHeliosControllerInfos) Patch

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

Patch applies the patch and returns the patched heliosControllerInfo.

func (*FakeHeliosControllerInfos) Update

func (c *FakeHeliosControllerInfos) Update(ctx context.Context, heliosControllerInfo *v1beta1.HeliosControllerInfo, opts v1.UpdateOptions) (result *v1beta1.HeliosControllerInfo, err error)

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

func (*FakeHeliosControllerInfos) Watch

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

Jump to

Keyboard shortcuts

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