fake

package
v1.11.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 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 FakeNodeConfigs

type FakeNodeConfigs struct {
	Fake *FakeScyllaV1alpha1
}

FakeNodeConfigs implements NodeConfigInterface

func (*FakeNodeConfigs) Create

func (c *FakeNodeConfigs) Create(ctx context.Context, nodeConfig *v1alpha1.NodeConfig, opts v1.CreateOptions) (result *v1alpha1.NodeConfig, err error)

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

func (*FakeNodeConfigs) Delete

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

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

func (*FakeNodeConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNodeConfigs) Get

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

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

func (*FakeNodeConfigs) List

func (c *FakeNodeConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeConfigList, err error)

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

func (*FakeNodeConfigs) Patch

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

Patch applies the patch and returns the patched nodeConfig.

func (*FakeNodeConfigs) Update

func (c *FakeNodeConfigs) Update(ctx context.Context, nodeConfig *v1alpha1.NodeConfig, opts v1.UpdateOptions) (result *v1alpha1.NodeConfig, err error)

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

func (*FakeNodeConfigs) UpdateStatus

func (c *FakeNodeConfigs) UpdateStatus(ctx context.Context, nodeConfig *v1alpha1.NodeConfig, opts v1.UpdateOptions) (*v1alpha1.NodeConfig, error)

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

func (*FakeNodeConfigs) Watch

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

type FakeScyllaDBMonitorings added in v1.9.0

type FakeScyllaDBMonitorings struct {
	Fake *FakeScyllaV1alpha1
	// contains filtered or unexported fields
}

FakeScyllaDBMonitorings implements ScyllaDBMonitoringInterface

func (*FakeScyllaDBMonitorings) Create added in v1.9.0

func (c *FakeScyllaDBMonitorings) Create(ctx context.Context, scyllaDBMonitoring *v1alpha1.ScyllaDBMonitoring, opts v1.CreateOptions) (result *v1alpha1.ScyllaDBMonitoring, err error)

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

func (*FakeScyllaDBMonitorings) Delete added in v1.9.0

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

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

func (*FakeScyllaDBMonitorings) DeleteCollection added in v1.9.0

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

DeleteCollection deletes a collection of objects.

func (*FakeScyllaDBMonitorings) Get added in v1.9.0

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

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

func (*FakeScyllaDBMonitorings) List added in v1.9.0

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

func (*FakeScyllaDBMonitorings) Patch added in v1.9.0

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

Patch applies the patch and returns the patched scyllaDBMonitoring.

func (*FakeScyllaDBMonitorings) Update added in v1.9.0

func (c *FakeScyllaDBMonitorings) Update(ctx context.Context, scyllaDBMonitoring *v1alpha1.ScyllaDBMonitoring, opts v1.UpdateOptions) (result *v1alpha1.ScyllaDBMonitoring, err error)

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

func (*FakeScyllaDBMonitorings) UpdateStatus added in v1.9.0

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

func (*FakeScyllaDBMonitorings) Watch added in v1.9.0

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

type FakeScyllaOperatorConfigs

type FakeScyllaOperatorConfigs struct {
	Fake *FakeScyllaV1alpha1
}

FakeScyllaOperatorConfigs implements ScyllaOperatorConfigInterface

func (*FakeScyllaOperatorConfigs) Create

func (c *FakeScyllaOperatorConfigs) Create(ctx context.Context, scyllaOperatorConfig *v1alpha1.ScyllaOperatorConfig, opts v1.CreateOptions) (result *v1alpha1.ScyllaOperatorConfig, err error)

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

func (*FakeScyllaOperatorConfigs) Delete

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

func (*FakeScyllaOperatorConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeScyllaOperatorConfigs) Get

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

func (*FakeScyllaOperatorConfigs) List

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

func (*FakeScyllaOperatorConfigs) Patch

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

Patch applies the patch and returns the patched scyllaOperatorConfig.

func (*FakeScyllaOperatorConfigs) Update

func (c *FakeScyllaOperatorConfigs) Update(ctx context.Context, scyllaOperatorConfig *v1alpha1.ScyllaOperatorConfig, opts v1.UpdateOptions) (result *v1alpha1.ScyllaOperatorConfig, err error)

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

func (*FakeScyllaOperatorConfigs) UpdateStatus

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

func (*FakeScyllaOperatorConfigs) Watch

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

type FakeScyllaV1alpha1

type FakeScyllaV1alpha1 struct {
	*testing.Fake
}

func (*FakeScyllaV1alpha1) NodeConfigs

func (*FakeScyllaV1alpha1) RESTClient

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

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

func (*FakeScyllaV1alpha1) ScyllaDBMonitorings added in v1.9.0

func (c *FakeScyllaV1alpha1) ScyllaDBMonitorings(namespace string) v1alpha1.ScyllaDBMonitoringInterface

func (*FakeScyllaV1alpha1) ScyllaOperatorConfigs

func (c *FakeScyllaV1alpha1) ScyllaOperatorConfigs() v1alpha1.ScyllaOperatorConfigInterface

Jump to

Keyboard shortcuts

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