fake

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 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 FakeConfigV1alpha1

type FakeConfigV1alpha1 struct {
	*testing.Fake
}

func (*FakeConfigV1alpha1) CustomNodeConfigs

func (c *FakeConfigV1alpha1) CustomNodeConfigs() v1alpha1.CustomNodeConfigInterface

func (*FakeConfigV1alpha1) KatalystCustomConfigs

func (c *FakeConfigV1alpha1) KatalystCustomConfigs(namespace string) v1alpha1.KatalystCustomConfigInterface

func (*FakeConfigV1alpha1) RESTClient

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

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

type FakeCustomNodeConfigs

type FakeCustomNodeConfigs struct {
	Fake *FakeConfigV1alpha1
}

FakeCustomNodeConfigs implements CustomNodeConfigInterface

func (*FakeCustomNodeConfigs) Create

func (c *FakeCustomNodeConfigs) Create(ctx context.Context, customNodeConfig *v1alpha1.CustomNodeConfig, opts v1.CreateOptions) (result *v1alpha1.CustomNodeConfig, err error)

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

func (*FakeCustomNodeConfigs) Delete

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

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

func (*FakeCustomNodeConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCustomNodeConfigs) Get

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

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

func (*FakeCustomNodeConfigs) List

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

func (*FakeCustomNodeConfigs) Patch

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

Patch applies the patch and returns the patched customNodeConfig.

func (*FakeCustomNodeConfigs) Update

func (c *FakeCustomNodeConfigs) Update(ctx context.Context, customNodeConfig *v1alpha1.CustomNodeConfig, opts v1.UpdateOptions) (result *v1alpha1.CustomNodeConfig, err error)

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

func (*FakeCustomNodeConfigs) UpdateStatus

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

func (*FakeCustomNodeConfigs) Watch

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

type FakeKatalystCustomConfigs

type FakeKatalystCustomConfigs struct {
	Fake *FakeConfigV1alpha1
	// contains filtered or unexported fields
}

FakeKatalystCustomConfigs implements KatalystCustomConfigInterface

func (*FakeKatalystCustomConfigs) Create

func (c *FakeKatalystCustomConfigs) Create(ctx context.Context, katalystCustomConfig *v1alpha1.KatalystCustomConfig, opts v1.CreateOptions) (result *v1alpha1.KatalystCustomConfig, err error)

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

func (*FakeKatalystCustomConfigs) Delete

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

func (*FakeKatalystCustomConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeKatalystCustomConfigs) Get

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

func (*FakeKatalystCustomConfigs) List

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

func (*FakeKatalystCustomConfigs) Patch

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

Patch applies the patch and returns the patched katalystCustomConfig.

func (*FakeKatalystCustomConfigs) Update

func (c *FakeKatalystCustomConfigs) Update(ctx context.Context, katalystCustomConfig *v1alpha1.KatalystCustomConfig, opts v1.UpdateOptions) (result *v1alpha1.KatalystCustomConfig, err error)

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

func (*FakeKatalystCustomConfigs) UpdateStatus

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

func (*FakeKatalystCustomConfigs) Watch

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

Jump to

Keyboard shortcuts

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