Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAiDatasets
- func (c *FakeAiDatasets) Create(ctx context.Context, aiDataset *v1alpha1.AiDataset, opts v1.CreateOptions) (result *v1alpha1.AiDataset, err error)
- func (c *FakeAiDatasets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAiDatasets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAiDatasets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AiDataset, err error)
- func (c *FakeAiDatasets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AiDatasetList, err error)
- func (c *FakeAiDatasets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AiDataset, err error)
- func (c *FakeAiDatasets) Update(ctx context.Context, aiDataset *v1alpha1.AiDataset, opts v1.UpdateOptions) (result *v1alpha1.AiDataset, err error)
- func (c *FakeAiDatasets) UpdateStatus(ctx context.Context, aiDataset *v1alpha1.AiDataset, opts v1.UpdateOptions) (*v1alpha1.AiDataset, error)
- func (c *FakeAiDatasets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVertexV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAiDatasets ¶
type FakeAiDatasets struct { Fake *FakeVertexV1alpha1 // contains filtered or unexported fields }
FakeAiDatasets implements AiDatasetInterface
func (*FakeAiDatasets) Create ¶
func (c *FakeAiDatasets) Create(ctx context.Context, aiDataset *v1alpha1.AiDataset, opts v1.CreateOptions) (result *v1alpha1.AiDataset, err error)
Create takes the representation of a aiDataset and creates it. Returns the server's representation of the aiDataset, and an error, if there is any.
func (*FakeAiDatasets) Delete ¶
func (c *FakeAiDatasets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the aiDataset and deletes it. Returns an error if one occurs.
func (*FakeAiDatasets) DeleteCollection ¶
func (c *FakeAiDatasets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAiDatasets) Get ¶
func (c *FakeAiDatasets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AiDataset, err error)
Get takes name of the aiDataset, and returns the corresponding aiDataset object, and an error if there is any.
func (*FakeAiDatasets) List ¶
func (c *FakeAiDatasets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AiDatasetList, err error)
List takes label and field selectors, and returns the list of AiDatasets that match those selectors.
func (*FakeAiDatasets) Patch ¶
func (c *FakeAiDatasets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AiDataset, err error)
Patch applies the patch and returns the patched aiDataset.
func (*FakeAiDatasets) Update ¶
func (c *FakeAiDatasets) Update(ctx context.Context, aiDataset *v1alpha1.AiDataset, opts v1.UpdateOptions) (result *v1alpha1.AiDataset, err error)
Update takes the representation of a aiDataset and updates it. Returns the server's representation of the aiDataset, and an error, if there is any.
func (*FakeAiDatasets) UpdateStatus ¶
func (c *FakeAiDatasets) UpdateStatus(ctx context.Context, aiDataset *v1alpha1.AiDataset, opts v1.UpdateOptions) (*v1alpha1.AiDataset, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAiDatasets) Watch ¶
func (c *FakeAiDatasets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested aiDatasets.
type FakeVertexV1alpha1 ¶
func (*FakeVertexV1alpha1) AiDatasets ¶
func (c *FakeVertexV1alpha1) AiDatasets(namespace string) v1alpha1.AiDatasetInterface
func (*FakeVertexV1alpha1) RESTClient ¶
func (c *FakeVertexV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.