fake

package
v1.116.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 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 FakeDocumentAIProcessorDefaultVersions

type FakeDocumentAIProcessorDefaultVersions struct {
	Fake *FakeDocumentaiV1alpha1
	// contains filtered or unexported fields
}

FakeDocumentAIProcessorDefaultVersions implements DocumentAIProcessorDefaultVersionInterface

func (*FakeDocumentAIProcessorDefaultVersions) Create

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

func (*FakeDocumentAIProcessorDefaultVersions) Delete

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

func (*FakeDocumentAIProcessorDefaultVersions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDocumentAIProcessorDefaultVersions) Get

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

func (*FakeDocumentAIProcessorDefaultVersions) List

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

func (*FakeDocumentAIProcessorDefaultVersions) Patch

Patch applies the patch and returns the patched documentAIProcessorDefaultVersion.

func (*FakeDocumentAIProcessorDefaultVersions) Update

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

func (*FakeDocumentAIProcessorDefaultVersions) UpdateStatus

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

func (*FakeDocumentAIProcessorDefaultVersions) Watch

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

type FakeDocumentAIProcessors

type FakeDocumentAIProcessors struct {
	Fake *FakeDocumentaiV1alpha1
	// contains filtered or unexported fields
}

FakeDocumentAIProcessors implements DocumentAIProcessorInterface

func (*FakeDocumentAIProcessors) Create

func (c *FakeDocumentAIProcessors) Create(ctx context.Context, documentAIProcessor *v1alpha1.DocumentAIProcessor, opts v1.CreateOptions) (result *v1alpha1.DocumentAIProcessor, err error)

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

func (*FakeDocumentAIProcessors) Delete

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

func (*FakeDocumentAIProcessors) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDocumentAIProcessors) Get

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

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

func (*FakeDocumentAIProcessors) List

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

func (*FakeDocumentAIProcessors) Patch

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

Patch applies the patch and returns the patched documentAIProcessor.

func (*FakeDocumentAIProcessors) Update

func (c *FakeDocumentAIProcessors) Update(ctx context.Context, documentAIProcessor *v1alpha1.DocumentAIProcessor, opts v1.UpdateOptions) (result *v1alpha1.DocumentAIProcessor, err error)

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

func (*FakeDocumentAIProcessors) UpdateStatus

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

func (*FakeDocumentAIProcessors) Watch

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

type FakeDocumentaiV1alpha1

type FakeDocumentaiV1alpha1 struct {
	*testing.Fake
}

func (*FakeDocumentaiV1alpha1) DocumentAIProcessorDefaultVersions

func (c *FakeDocumentaiV1alpha1) DocumentAIProcessorDefaultVersions(namespace string) v1alpha1.DocumentAIProcessorDefaultVersionInterface

func (*FakeDocumentaiV1alpha1) DocumentAIProcessors

func (c *FakeDocumentaiV1alpha1) DocumentAIProcessors(namespace string) v1alpha1.DocumentAIProcessorInterface

func (*FakeDocumentaiV1alpha1) RESTClient

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