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 FakeArangoMLBatchJobs

type FakeArangoMLBatchJobs struct {
	Fake *FakeMlV1alpha1
	// contains filtered or unexported fields
}

FakeArangoMLBatchJobs implements ArangoMLBatchJobInterface

func (*FakeArangoMLBatchJobs) Create

func (c *FakeArangoMLBatchJobs) Create(ctx context.Context, arangoMLBatchJob *v1alpha1.ArangoMLBatchJob, opts v1.CreateOptions) (result *v1alpha1.ArangoMLBatchJob, err error)

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

func (*FakeArangoMLBatchJobs) Delete

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

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

func (*FakeArangoMLBatchJobs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeArangoMLBatchJobs) Get

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

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

func (*FakeArangoMLBatchJobs) List

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

func (*FakeArangoMLBatchJobs) Patch

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

Patch applies the patch and returns the patched arangoMLBatchJob.

func (*FakeArangoMLBatchJobs) Update

func (c *FakeArangoMLBatchJobs) Update(ctx context.Context, arangoMLBatchJob *v1alpha1.ArangoMLBatchJob, opts v1.UpdateOptions) (result *v1alpha1.ArangoMLBatchJob, err error)

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

func (*FakeArangoMLBatchJobs) UpdateStatus

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

func (*FakeArangoMLBatchJobs) Watch

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

type FakeArangoMLCronJobs

type FakeArangoMLCronJobs struct {
	Fake *FakeMlV1alpha1
	// contains filtered or unexported fields
}

FakeArangoMLCronJobs implements ArangoMLCronJobInterface

func (*FakeArangoMLCronJobs) Create

func (c *FakeArangoMLCronJobs) Create(ctx context.Context, arangoMLCronJob *v1alpha1.ArangoMLCronJob, opts v1.CreateOptions) (result *v1alpha1.ArangoMLCronJob, err error)

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

func (*FakeArangoMLCronJobs) Delete

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

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

func (*FakeArangoMLCronJobs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeArangoMLCronJobs) Get

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

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

func (*FakeArangoMLCronJobs) List

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

func (*FakeArangoMLCronJobs) Patch

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

Patch applies the patch and returns the patched arangoMLCronJob.

func (*FakeArangoMLCronJobs) Update

func (c *FakeArangoMLCronJobs) Update(ctx context.Context, arangoMLCronJob *v1alpha1.ArangoMLCronJob, opts v1.UpdateOptions) (result *v1alpha1.ArangoMLCronJob, err error)

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

func (*FakeArangoMLCronJobs) UpdateStatus

func (c *FakeArangoMLCronJobs) UpdateStatus(ctx context.Context, arangoMLCronJob *v1alpha1.ArangoMLCronJob, opts v1.UpdateOptions) (*v1alpha1.ArangoMLCronJob, error)

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

func (*FakeArangoMLCronJobs) Watch

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

type FakeArangoMLExtensions

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

FakeArangoMLExtensions implements ArangoMLExtensionInterface

func (*FakeArangoMLExtensions) Create

func (c *FakeArangoMLExtensions) Create(ctx context.Context, arangoMLExtension *v1alpha1.ArangoMLExtension, opts v1.CreateOptions) (result *v1alpha1.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 *v1alpha1.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 *v1alpha1.ArangoMLExtension, err error)

Patch applies the patch and returns the patched arangoMLExtension.

func (*FakeArangoMLExtensions) Update

func (c *FakeArangoMLExtensions) Update(ctx context.Context, arangoMLExtension *v1alpha1.ArangoMLExtension, opts v1.UpdateOptions) (result *v1alpha1.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 *FakeMlV1alpha1
	// contains filtered or unexported fields
}

FakeArangoMLStorages implements ArangoMLStorageInterface

func (*FakeArangoMLStorages) Create

func (c *FakeArangoMLStorages) Create(ctx context.Context, arangoMLStorage *v1alpha1.ArangoMLStorage, opts v1.CreateOptions) (result *v1alpha1.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 *v1alpha1.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 *v1alpha1.ArangoMLStorage, err error)

Patch applies the patch and returns the patched arangoMLStorage.

func (*FakeArangoMLStorages) Update

func (c *FakeArangoMLStorages) Update(ctx context.Context, arangoMLStorage *v1alpha1.ArangoMLStorage, opts v1.UpdateOptions) (result *v1alpha1.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 *v1alpha1.ArangoMLStorage, opts v1.UpdateOptions) (*v1alpha1.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 FakeMlV1alpha1

type FakeMlV1alpha1 struct {
	*testing.Fake
}

func (*FakeMlV1alpha1) ArangoMLBatchJobs

func (c *FakeMlV1alpha1) ArangoMLBatchJobs(namespace string) v1alpha1.ArangoMLBatchJobInterface

func (*FakeMlV1alpha1) ArangoMLCronJobs

func (c *FakeMlV1alpha1) ArangoMLCronJobs(namespace string) v1alpha1.ArangoMLCronJobInterface

func (*FakeMlV1alpha1) ArangoMLExtensions

func (c *FakeMlV1alpha1) ArangoMLExtensions(namespace string) v1alpha1.ArangoMLExtensionInterface

func (*FakeMlV1alpha1) ArangoMLStorages

func (c *FakeMlV1alpha1) ArangoMLStorages(namespace string) v1alpha1.ArangoMLStorageInterface

func (*FakeMlV1alpha1) RESTClient

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