fake

package
v0.0.0-...-b2588bf Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: Apache-2.0 Imports: 9 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 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

func (c *FakeClickHouseInstallationTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

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

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

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

func (c *FakeClickHouseInstallations) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeClickHouseInstallations) DeleteCollection

func (c *FakeClickHouseInstallations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *clickhousealtinitycomv1.ClickHouseInstallation, err error)

Patch applies the patch and returns the patched clickHouseInstallation.

func (*FakeClickHouseInstallations) Update

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) 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

func (c *FakeClickHouseOperatorConfigurations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

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

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