fake

package
v0.0.0-...-bbbf66a Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 9 Imported by: 2

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 FakeClickHouseInstallationTemplates

type FakeClickHouseInstallationTemplates struct {
	Fake *FakeClickhouseV1
	// contains filtered or unexported fields
}

FakeClickHouseInstallationTemplates implements ClickHouseInstallationTemplateInterface

func (*FakeClickHouseInstallationTemplates) Create

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

func (*FakeClickHouseInstallationTemplates) Delete

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

func (*FakeClickHouseInstallationTemplates) DeleteCollection

DeleteCollection deletes a collection of objects.

func (*FakeClickHouseInstallationTemplates) Get

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

func (*FakeClickHouseInstallationTemplates) List

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

func (*FakeClickHouseInstallationTemplates) Patch

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

Patch applies the patch and returns the patched clickHouseInstallationTemplate.

func (*FakeClickHouseInstallationTemplates) Update

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

func (*FakeClickHouseInstallationTemplates) Watch

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

type FakeClickHouseInstallations

type FakeClickHouseInstallations struct {
	Fake *FakeClickhouseV1
	// contains filtered or unexported fields
}

FakeClickHouseInstallations implements ClickHouseInstallationInterface

func (*FakeClickHouseInstallations) Create

func (c *FakeClickHouseInstallations) Create(ctx context.Context, clickHouseInstallation *v1.ClickHouseInstallation, opts metav1.CreateOptions) (result *v1.ClickHouseInstallation, err error)

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

func (*FakeClickHouseInstallations) Delete

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

func (*FakeClickHouseInstallations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClickHouseInstallations) Get

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

func (*FakeClickHouseInstallations) List

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

func (*FakeClickHouseInstallations) Patch

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

Patch applies the patch and returns the patched clickHouseInstallation.

func (*FakeClickHouseInstallations) Update

func (c *FakeClickHouseInstallations) Update(ctx context.Context, clickHouseInstallation *v1.ClickHouseInstallation, opts metav1.UpdateOptions) (result *v1.ClickHouseInstallation, err error)

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

func (*FakeClickHouseInstallations) UpdateStatus

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

func (*FakeClickHouseInstallations) Watch

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

type FakeClickHouseOperatorConfigurations

type FakeClickHouseOperatorConfigurations struct {
	Fake *FakeClickhouseV1
	// contains filtered or unexported fields
}

FakeClickHouseOperatorConfigurations implements ClickHouseOperatorConfigurationInterface

func (*FakeClickHouseOperatorConfigurations) Create

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

func (*FakeClickHouseOperatorConfigurations) Delete

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

func (*FakeClickHouseOperatorConfigurations) DeleteCollection

DeleteCollection deletes a collection of objects.

func (*FakeClickHouseOperatorConfigurations) Get

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

func (*FakeClickHouseOperatorConfigurations) List

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

func (*FakeClickHouseOperatorConfigurations) Patch

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

Patch applies the patch and returns the patched clickHouseOperatorConfiguration.

func (*FakeClickHouseOperatorConfigurations) Update

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

func (*FakeClickHouseOperatorConfigurations) Watch

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

type FakeClickhouseV1

type FakeClickhouseV1 struct {
	*testing.Fake
}

func (*FakeClickhouseV1) ClickHouseInstallationTemplates

func (c *FakeClickhouseV1) ClickHouseInstallationTemplates(namespace string) v1.ClickHouseInstallationTemplateInterface

func (*FakeClickhouseV1) ClickHouseInstallations

func (c *FakeClickhouseV1) ClickHouseInstallations(namespace string) v1.ClickHouseInstallationInterface

func (*FakeClickhouseV1) ClickHouseOperatorConfigurations

func (c *FakeClickhouseV1) ClickHouseOperatorConfigurations(namespace string) v1.ClickHouseOperatorConfigurationInterface

func (*FakeClickhouseV1) RESTClient

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