fake

package
v0.0.0-...-4f6e424 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 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 FakeArangoMLExtensions

type FakeArangoMLExtensions struct {
	Fake *FakeMlV1beta1
	// contains filtered or unexported fields
}

FakeArangoMLExtensions implements ArangoMLExtensionInterface

func (*FakeArangoMLExtensions) Create

func (c *FakeArangoMLExtensions) Create(ctx context.Context, arangoMLExtension *v1beta1.ArangoMLExtension, opts v1.CreateOptions) (result *v1beta1.ArangoMLExtension, err error)

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

func (*FakeArangoMLExtensions) Delete

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

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

func (*FakeArangoMLExtensions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeArangoMLExtensions) Get

func (c *FakeArangoMLExtensions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ArangoMLExtension, err error)

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

func (*FakeArangoMLExtensions) List

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

func (*FakeArangoMLExtensions) Patch

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

Patch applies the patch and returns the patched arangoMLExtension.

func (*FakeArangoMLExtensions) Update

func (c *FakeArangoMLExtensions) Update(ctx context.Context, arangoMLExtension *v1beta1.ArangoMLExtension, opts v1.UpdateOptions) (result *v1beta1.ArangoMLExtension, err error)

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

func (*FakeArangoMLExtensions) UpdateStatus

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

func (*FakeArangoMLExtensions) Watch

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

type FakeArangoMLStorages

type FakeArangoMLStorages struct {
	Fake *FakeMlV1beta1
	// contains filtered or unexported fields
}

FakeArangoMLStorages implements ArangoMLStorageInterface

func (*FakeArangoMLStorages) Create

func (c *FakeArangoMLStorages) Create(ctx context.Context, arangoMLStorage *v1beta1.ArangoMLStorage, opts v1.CreateOptions) (result *v1beta1.ArangoMLStorage, err error)

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

func (*FakeArangoMLStorages) Delete

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

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

func (*FakeArangoMLStorages) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeArangoMLStorages) Get

func (c *FakeArangoMLStorages) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ArangoMLStorage, err error)

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

func (*FakeArangoMLStorages) List

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

func (*FakeArangoMLStorages) Patch

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

Patch applies the patch and returns the patched arangoMLStorage.

func (*FakeArangoMLStorages) Update

func (c *FakeArangoMLStorages) Update(ctx context.Context, arangoMLStorage *v1beta1.ArangoMLStorage, opts v1.UpdateOptions) (result *v1beta1.ArangoMLStorage, err error)

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

func (*FakeArangoMLStorages) UpdateStatus

func (c *FakeArangoMLStorages) UpdateStatus(ctx context.Context, arangoMLStorage *v1beta1.ArangoMLStorage, opts v1.UpdateOptions) (*v1beta1.ArangoMLStorage, error)

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

func (*FakeArangoMLStorages) Watch

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

type FakeMlV1beta1

type FakeMlV1beta1 struct {
	*testing.Fake
}

func (*FakeMlV1beta1) ArangoMLExtensions

func (c *FakeMlV1beta1) ArangoMLExtensions(namespace string) v1beta1.ArangoMLExtensionInterface

func (*FakeMlV1beta1) ArangoMLStorages

func (c *FakeMlV1beta1) ArangoMLStorages(namespace string) v1beta1.ArangoMLStorageInterface

func (*FakeMlV1beta1) RESTClient

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