fake

package
v0.0.0-...-0737ae5 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 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 FakeKafkaConnectAutoScalers

type FakeKafkaConnectAutoScalers struct {
	Fake *FakeKafkaconnectV1alpha1
	// contains filtered or unexported fields
}

FakeKafkaConnectAutoScalers implements KafkaConnectAutoScalerInterface

func (*FakeKafkaConnectAutoScalers) Create

func (c *FakeKafkaConnectAutoScalers) Create(kafkaConnectAutoScaler *v1alpha1.KafkaConnectAutoScaler) (result *v1alpha1.KafkaConnectAutoScaler, err error)

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

func (*FakeKafkaConnectAutoScalers) Delete

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

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

func (*FakeKafkaConnectAutoScalers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeKafkaConnectAutoScalers) Get

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

func (*FakeKafkaConnectAutoScalers) List

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

func (*FakeKafkaConnectAutoScalers) Patch

func (c *FakeKafkaConnectAutoScalers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.KafkaConnectAutoScaler, err error)

Patch applies the patch and returns the patched kafkaConnectAutoScaler.

func (*FakeKafkaConnectAutoScalers) Update

func (c *FakeKafkaConnectAutoScalers) Update(kafkaConnectAutoScaler *v1alpha1.KafkaConnectAutoScaler) (result *v1alpha1.KafkaConnectAutoScaler, err error)

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

func (*FakeKafkaConnectAutoScalers) UpdateStatus

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

func (*FakeKafkaConnectAutoScalers) Watch

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

type FakeKafkaConnects

type FakeKafkaConnects struct {
	Fake *FakeKafkaconnectV1alpha1
	// contains filtered or unexported fields
}

FakeKafkaConnects implements KafkaConnectInterface

func (*FakeKafkaConnects) Create

func (c *FakeKafkaConnects) Create(kafkaConnect *v1alpha1.KafkaConnect) (result *v1alpha1.KafkaConnect, err error)

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

func (*FakeKafkaConnects) Delete

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

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

func (*FakeKafkaConnects) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeKafkaConnects) Get

func (c *FakeKafkaConnects) Get(name string, options v1.GetOptions) (result *v1alpha1.KafkaConnect, err error)

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

func (*FakeKafkaConnects) List

func (c *FakeKafkaConnects) List(opts v1.ListOptions) (result *v1alpha1.KafkaConnectList, err error)

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

func (*FakeKafkaConnects) Patch

func (c *FakeKafkaConnects) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.KafkaConnect, err error)

Patch applies the patch and returns the patched kafkaConnect.

func (*FakeKafkaConnects) Update

func (c *FakeKafkaConnects) Update(kafkaConnect *v1alpha1.KafkaConnect) (result *v1alpha1.KafkaConnect, err error)

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

func (*FakeKafkaConnects) UpdateStatus

func (c *FakeKafkaConnects) UpdateStatus(kafkaConnect *v1alpha1.KafkaConnect) (*v1alpha1.KafkaConnect, error)

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

func (*FakeKafkaConnects) Watch

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

type FakeKafkaconnectV1alpha1

type FakeKafkaconnectV1alpha1 struct {
	*testing.Fake
}

func (*FakeKafkaconnectV1alpha1) KafkaConnectAutoScalers

func (c *FakeKafkaconnectV1alpha1) KafkaConnectAutoScalers(namespace string) v1alpha1.KafkaConnectAutoScalerInterface

func (*FakeKafkaconnectV1alpha1) KafkaConnects

func (c *FakeKafkaconnectV1alpha1) KafkaConnects(namespace string) v1alpha1.KafkaConnectInterface

func (*FakeKafkaconnectV1alpha1) RESTClient

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