fake

package
v0.0.0-...-bb45038 Latest Latest
Warning

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

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

type FakeArangoDeploymentReplications struct {
	Fake *FakeReplicationV2alpha1
	// contains filtered or unexported fields
}

FakeArangoDeploymentReplications implements ArangoDeploymentReplicationInterface

func (*FakeArangoDeploymentReplications) Create

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

func (*FakeArangoDeploymentReplications) Delete

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

func (*FakeArangoDeploymentReplications) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeArangoDeploymentReplications) Get

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

func (*FakeArangoDeploymentReplications) List

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

func (*FakeArangoDeploymentReplications) Patch

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

Patch applies the patch and returns the patched arangoDeploymentReplication.

func (*FakeArangoDeploymentReplications) Update

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

func (*FakeArangoDeploymentReplications) UpdateStatus

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

func (*FakeArangoDeploymentReplications) Watch

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

type FakeReplicationV2alpha1

type FakeReplicationV2alpha1 struct {
	*testing.Fake
}

func (*FakeReplicationV2alpha1) ArangoDeploymentReplications

func (c *FakeReplicationV2alpha1) ArangoDeploymentReplications(namespace string) v2alpha1.ArangoDeploymentReplicationInterface

func (*FakeReplicationV2alpha1) RESTClient

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