fake

package
v1.0.61 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 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 FakeActionsV1alpha1

type FakeActionsV1alpha1 struct {
	*testing.Fake
}

func (*FakeActionsV1alpha1) AddClusterInfos

func (c *FakeActionsV1alpha1) AddClusterInfos(namespace string) v1alpha1.AddClusterInfoInterface

func (*FakeActionsV1alpha1) DeleteAttributes

func (c *FakeActionsV1alpha1) DeleteAttributes(namespace string) v1alpha1.DeleteAttributeInterface

func (*FakeActionsV1alpha1) RESTClient

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

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

func (*FakeActionsV1alpha1) RenameAttributes

func (c *FakeActionsV1alpha1) RenameAttributes(namespace string) v1alpha1.RenameAttributeInterface

type FakeAddClusterInfos

type FakeAddClusterInfos struct {
	Fake *FakeActionsV1alpha1
	// contains filtered or unexported fields
}

FakeAddClusterInfos implements AddClusterInfoInterface

func (*FakeAddClusterInfos) Apply

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

func (*FakeAddClusterInfos) ApplyStatus

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

func (*FakeAddClusterInfos) Create

func (c *FakeAddClusterInfos) Create(ctx context.Context, addClusterInfo *v1alpha1.AddClusterInfo, opts v1.CreateOptions) (result *v1alpha1.AddClusterInfo, err error)

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

func (*FakeAddClusterInfos) Delete

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

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

func (*FakeAddClusterInfos) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAddClusterInfos) Get

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

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

func (*FakeAddClusterInfos) List

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

func (*FakeAddClusterInfos) Patch

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

Patch applies the patch and returns the patched addClusterInfo.

func (*FakeAddClusterInfos) Update

func (c *FakeAddClusterInfos) Update(ctx context.Context, addClusterInfo *v1alpha1.AddClusterInfo, opts v1.UpdateOptions) (result *v1alpha1.AddClusterInfo, err error)

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

func (*FakeAddClusterInfos) UpdateStatus

func (c *FakeAddClusterInfos) UpdateStatus(ctx context.Context, addClusterInfo *v1alpha1.AddClusterInfo, opts v1.UpdateOptions) (*v1alpha1.AddClusterInfo, error)

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

func (*FakeAddClusterInfos) Watch

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

type FakeDeleteAttributes

type FakeDeleteAttributes struct {
	Fake *FakeActionsV1alpha1
	// contains filtered or unexported fields
}

FakeDeleteAttributes implements DeleteAttributeInterface

func (*FakeDeleteAttributes) Apply

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

func (*FakeDeleteAttributes) ApplyStatus

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

func (*FakeDeleteAttributes) Create

func (c *FakeDeleteAttributes) Create(ctx context.Context, deleteAttribute *v1alpha1.DeleteAttribute, opts v1.CreateOptions) (result *v1alpha1.DeleteAttribute, err error)

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

func (*FakeDeleteAttributes) Delete

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

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

func (*FakeDeleteAttributes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDeleteAttributes) Get

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

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

func (*FakeDeleteAttributes) List

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

func (*FakeDeleteAttributes) Patch

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

Patch applies the patch and returns the patched deleteAttribute.

func (*FakeDeleteAttributes) Update

func (c *FakeDeleteAttributes) Update(ctx context.Context, deleteAttribute *v1alpha1.DeleteAttribute, opts v1.UpdateOptions) (result *v1alpha1.DeleteAttribute, err error)

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

func (*FakeDeleteAttributes) UpdateStatus

func (c *FakeDeleteAttributes) UpdateStatus(ctx context.Context, deleteAttribute *v1alpha1.DeleteAttribute, opts v1.UpdateOptions) (*v1alpha1.DeleteAttribute, error)

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

func (*FakeDeleteAttributes) Watch

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

type FakeRenameAttributes

type FakeRenameAttributes struct {
	Fake *FakeActionsV1alpha1
	// contains filtered or unexported fields
}

FakeRenameAttributes implements RenameAttributeInterface

func (*FakeRenameAttributes) Apply

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

func (*FakeRenameAttributes) ApplyStatus

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

func (*FakeRenameAttributes) Create

func (c *FakeRenameAttributes) Create(ctx context.Context, renameAttribute *v1alpha1.RenameAttribute, opts v1.CreateOptions) (result *v1alpha1.RenameAttribute, err error)

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

func (*FakeRenameAttributes) Delete

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

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

func (*FakeRenameAttributes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRenameAttributes) Get

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

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

func (*FakeRenameAttributes) List

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

func (*FakeRenameAttributes) Patch

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

Patch applies the patch and returns the patched renameAttribute.

func (*FakeRenameAttributes) Update

func (c *FakeRenameAttributes) Update(ctx context.Context, renameAttribute *v1alpha1.RenameAttribute, opts v1.UpdateOptions) (result *v1alpha1.RenameAttribute, err error)

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

func (*FakeRenameAttributes) UpdateStatus

func (c *FakeRenameAttributes) UpdateStatus(ctx context.Context, renameAttribute *v1alpha1.RenameAttribute, opts v1.UpdateOptions) (*v1alpha1.RenameAttribute, error)

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

func (*FakeRenameAttributes) Watch

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

Jump to

Keyboard shortcuts

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