fake

package
v1.118.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 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 FakeVertexAIDatasets

type FakeVertexAIDatasets struct {
	Fake *FakeVertexaiV1beta1
	// contains filtered or unexported fields
}

FakeVertexAIDatasets implements VertexAIDatasetInterface

func (*FakeVertexAIDatasets) Create

func (c *FakeVertexAIDatasets) Create(ctx context.Context, vertexAIDataset *v1beta1.VertexAIDataset, opts v1.CreateOptions) (result *v1beta1.VertexAIDataset, err error)

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

func (*FakeVertexAIDatasets) Delete

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

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

func (*FakeVertexAIDatasets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVertexAIDatasets) Get

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

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

func (*FakeVertexAIDatasets) List

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

func (*FakeVertexAIDatasets) Patch

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

Patch applies the patch and returns the patched vertexAIDataset.

func (*FakeVertexAIDatasets) Update

func (c *FakeVertexAIDatasets) Update(ctx context.Context, vertexAIDataset *v1beta1.VertexAIDataset, opts v1.UpdateOptions) (result *v1beta1.VertexAIDataset, err error)

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

func (*FakeVertexAIDatasets) UpdateStatus

func (c *FakeVertexAIDatasets) UpdateStatus(ctx context.Context, vertexAIDataset *v1beta1.VertexAIDataset, opts v1.UpdateOptions) (*v1beta1.VertexAIDataset, error)

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

func (*FakeVertexAIDatasets) Watch

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

type FakeVertexAIEndpoints

type FakeVertexAIEndpoints struct {
	Fake *FakeVertexaiV1beta1
	// contains filtered or unexported fields
}

FakeVertexAIEndpoints implements VertexAIEndpointInterface

func (*FakeVertexAIEndpoints) Create

func (c *FakeVertexAIEndpoints) Create(ctx context.Context, vertexAIEndpoint *v1beta1.VertexAIEndpoint, opts v1.CreateOptions) (result *v1beta1.VertexAIEndpoint, err error)

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

func (*FakeVertexAIEndpoints) Delete

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

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

func (*FakeVertexAIEndpoints) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVertexAIEndpoints) Get

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

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

func (*FakeVertexAIEndpoints) List

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

func (*FakeVertexAIEndpoints) Patch

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

Patch applies the patch and returns the patched vertexAIEndpoint.

func (*FakeVertexAIEndpoints) Update

func (c *FakeVertexAIEndpoints) Update(ctx context.Context, vertexAIEndpoint *v1beta1.VertexAIEndpoint, opts v1.UpdateOptions) (result *v1beta1.VertexAIEndpoint, err error)

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

func (*FakeVertexAIEndpoints) UpdateStatus

func (c *FakeVertexAIEndpoints) UpdateStatus(ctx context.Context, vertexAIEndpoint *v1beta1.VertexAIEndpoint, opts v1.UpdateOptions) (*v1beta1.VertexAIEndpoint, error)

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

func (*FakeVertexAIEndpoints) Watch

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

type FakeVertexAIIndexes

type FakeVertexAIIndexes struct {
	Fake *FakeVertexaiV1beta1
	// contains filtered or unexported fields
}

FakeVertexAIIndexes implements VertexAIIndexInterface

func (*FakeVertexAIIndexes) Create

func (c *FakeVertexAIIndexes) Create(ctx context.Context, vertexAIIndex *v1beta1.VertexAIIndex, opts v1.CreateOptions) (result *v1beta1.VertexAIIndex, err error)

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

func (*FakeVertexAIIndexes) Delete

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

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

func (*FakeVertexAIIndexes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVertexAIIndexes) Get

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

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

func (*FakeVertexAIIndexes) List

func (c *FakeVertexAIIndexes) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VertexAIIndexList, err error)

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

func (*FakeVertexAIIndexes) Patch

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

Patch applies the patch and returns the patched vertexAIIndex.

func (*FakeVertexAIIndexes) Update

func (c *FakeVertexAIIndexes) Update(ctx context.Context, vertexAIIndex *v1beta1.VertexAIIndex, opts v1.UpdateOptions) (result *v1beta1.VertexAIIndex, err error)

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

func (*FakeVertexAIIndexes) UpdateStatus

func (c *FakeVertexAIIndexes) UpdateStatus(ctx context.Context, vertexAIIndex *v1beta1.VertexAIIndex, opts v1.UpdateOptions) (*v1beta1.VertexAIIndex, error)

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

func (*FakeVertexAIIndexes) Watch

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

type FakeVertexaiV1beta1

type FakeVertexaiV1beta1 struct {
	*testing.Fake
}

func (*FakeVertexaiV1beta1) RESTClient

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

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

func (*FakeVertexaiV1beta1) VertexAIDatasets

func (c *FakeVertexaiV1beta1) VertexAIDatasets(namespace string) v1beta1.VertexAIDatasetInterface

func (*FakeVertexaiV1beta1) VertexAIEndpoints

func (c *FakeVertexaiV1beta1) VertexAIEndpoints(namespace string) v1beta1.VertexAIEndpointInterface

func (*FakeVertexaiV1beta1) VertexAIIndexes

func (c *FakeVertexaiV1beta1) VertexAIIndexes(namespace string) v1beta1.VertexAIIndexInterface

Jump to

Keyboard shortcuts

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