Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterServingRuntimes
- func (c *FakeClusterServingRuntimes) Create(ctx context.Context, clusterServingRuntime *v1alpha1.ClusterServingRuntime, ...) (result *v1alpha1.ClusterServingRuntime, err error)
- func (c *FakeClusterServingRuntimes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterServingRuntimes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterServingRuntimes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterServingRuntime, err error)
- func (c *FakeClusterServingRuntimes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterServingRuntimeList, err error)
- func (c *FakeClusterServingRuntimes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterServingRuntime, err error)
- func (c *FakeClusterServingRuntimes) Update(ctx context.Context, clusterServingRuntime *v1alpha1.ClusterServingRuntime, ...) (result *v1alpha1.ClusterServingRuntime, err error)
- func (c *FakeClusterServingRuntimes) UpdateStatus(ctx context.Context, clusterServingRuntime *v1alpha1.ClusterServingRuntime, ...) (*v1alpha1.ClusterServingRuntime, error)
- func (c *FakeClusterServingRuntimes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterStorageContainers
- func (c *FakeClusterStorageContainers) Create(ctx context.Context, clusterStorageContainer *v1alpha1.ClusterStorageContainer, ...) (result *v1alpha1.ClusterStorageContainer, err error)
- func (c *FakeClusterStorageContainers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterStorageContainers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterStorageContainers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterStorageContainer, err error)
- func (c *FakeClusterStorageContainers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterStorageContainerList, err error)
- func (c *FakeClusterStorageContainers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterStorageContainer, err error)
- func (c *FakeClusterStorageContainers) Update(ctx context.Context, clusterStorageContainer *v1alpha1.ClusterStorageContainer, ...) (result *v1alpha1.ClusterStorageContainer, err error)
- func (c *FakeClusterStorageContainers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeInferenceGraphs
- func (c *FakeInferenceGraphs) Create(ctx context.Context, inferenceGraph *v1alpha1.InferenceGraph, ...) (result *v1alpha1.InferenceGraph, err error)
- func (c *FakeInferenceGraphs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeInferenceGraphs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeInferenceGraphs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.InferenceGraph, err error)
- func (c *FakeInferenceGraphs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.InferenceGraphList, err error)
- func (c *FakeInferenceGraphs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.InferenceGraph, err error)
- func (c *FakeInferenceGraphs) Update(ctx context.Context, inferenceGraph *v1alpha1.InferenceGraph, ...) (result *v1alpha1.InferenceGraph, err error)
- func (c *FakeInferenceGraphs) UpdateStatus(ctx context.Context, inferenceGraph *v1alpha1.InferenceGraph, ...) (*v1alpha1.InferenceGraph, error)
- func (c *FakeInferenceGraphs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeServingRuntimes
- func (c *FakeServingRuntimes) Create(ctx context.Context, servingRuntime *v1alpha1.ServingRuntime, ...) (result *v1alpha1.ServingRuntime, err error)
- func (c *FakeServingRuntimes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeServingRuntimes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeServingRuntimes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServingRuntime, err error)
- func (c *FakeServingRuntimes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServingRuntimeList, err error)
- func (c *FakeServingRuntimes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ServingRuntime, err error)
- func (c *FakeServingRuntimes) Update(ctx context.Context, servingRuntime *v1alpha1.ServingRuntime, ...) (result *v1alpha1.ServingRuntime, err error)
- func (c *FakeServingRuntimes) UpdateStatus(ctx context.Context, servingRuntime *v1alpha1.ServingRuntime, ...) (*v1alpha1.ServingRuntime, error)
- func (c *FakeServingRuntimes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeServingV1alpha1
- func (c *FakeServingV1alpha1) ClusterServingRuntimes(namespace string) v1alpha1.ClusterServingRuntimeInterface
- func (c *FakeServingV1alpha1) ClusterStorageContainers(namespace string) v1alpha1.ClusterStorageContainerInterface
- func (c *FakeServingV1alpha1) InferenceGraphs(namespace string) v1alpha1.InferenceGraphInterface
- func (c *FakeServingV1alpha1) RESTClient() rest.Interface
- func (c *FakeServingV1alpha1) ServingRuntimes(namespace string) v1alpha1.ServingRuntimeInterface
- func (c *FakeServingV1alpha1) TrainedModels(namespace string) v1alpha1.TrainedModelInterface
- type FakeTrainedModels
- func (c *FakeTrainedModels) Create(ctx context.Context, trainedModel *v1alpha1.TrainedModel, ...) (result *v1alpha1.TrainedModel, err error)
- func (c *FakeTrainedModels) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTrainedModels) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTrainedModels) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TrainedModel, err error)
- func (c *FakeTrainedModels) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TrainedModelList, err error)
- func (c *FakeTrainedModels) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.TrainedModel, err error)
- func (c *FakeTrainedModels) Update(ctx context.Context, trainedModel *v1alpha1.TrainedModel, ...) (result *v1alpha1.TrainedModel, err error)
- func (c *FakeTrainedModels) UpdateStatus(ctx context.Context, trainedModel *v1alpha1.TrainedModel, ...) (*v1alpha1.TrainedModel, error)
- func (c *FakeTrainedModels) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterServingRuntimes ¶
type FakeClusterServingRuntimes struct { Fake *FakeServingV1alpha1 // contains filtered or unexported fields }
FakeClusterServingRuntimes implements ClusterServingRuntimeInterface
func (*FakeClusterServingRuntimes) Create ¶
func (c *FakeClusterServingRuntimes) Create(ctx context.Context, clusterServingRuntime *v1alpha1.ClusterServingRuntime, opts v1.CreateOptions) (result *v1alpha1.ClusterServingRuntime, err error)
Create takes the representation of a clusterServingRuntime and creates it. Returns the server's representation of the clusterServingRuntime, and an error, if there is any.
func (*FakeClusterServingRuntimes) Delete ¶
func (c *FakeClusterServingRuntimes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterServingRuntime and deletes it. Returns an error if one occurs.
func (*FakeClusterServingRuntimes) DeleteCollection ¶
func (c *FakeClusterServingRuntimes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterServingRuntimes) Get ¶
func (c *FakeClusterServingRuntimes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterServingRuntime, err error)
Get takes name of the clusterServingRuntime, and returns the corresponding clusterServingRuntime object, and an error if there is any.
func (*FakeClusterServingRuntimes) List ¶
func (c *FakeClusterServingRuntimes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterServingRuntimeList, err error)
List takes label and field selectors, and returns the list of ClusterServingRuntimes that match those selectors.
func (*FakeClusterServingRuntimes) Patch ¶
func (c *FakeClusterServingRuntimes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterServingRuntime, err error)
Patch applies the patch and returns the patched clusterServingRuntime.
func (*FakeClusterServingRuntimes) Update ¶
func (c *FakeClusterServingRuntimes) Update(ctx context.Context, clusterServingRuntime *v1alpha1.ClusterServingRuntime, opts v1.UpdateOptions) (result *v1alpha1.ClusterServingRuntime, err error)
Update takes the representation of a clusterServingRuntime and updates it. Returns the server's representation of the clusterServingRuntime, and an error, if there is any.
func (*FakeClusterServingRuntimes) UpdateStatus ¶
func (c *FakeClusterServingRuntimes) UpdateStatus(ctx context.Context, clusterServingRuntime *v1alpha1.ClusterServingRuntime, opts v1.UpdateOptions) (*v1alpha1.ClusterServingRuntime, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterServingRuntimes) Watch ¶
func (c *FakeClusterServingRuntimes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterServingRuntimes.
type FakeClusterStorageContainers ¶ added in v0.12.0
type FakeClusterStorageContainers struct { Fake *FakeServingV1alpha1 // contains filtered or unexported fields }
FakeClusterStorageContainers implements ClusterStorageContainerInterface
func (*FakeClusterStorageContainers) Create ¶ added in v0.12.0
func (c *FakeClusterStorageContainers) Create(ctx context.Context, clusterStorageContainer *v1alpha1.ClusterStorageContainer, opts v1.CreateOptions) (result *v1alpha1.ClusterStorageContainer, err error)
Create takes the representation of a clusterStorageContainer and creates it. Returns the server's representation of the clusterStorageContainer, and an error, if there is any.
func (*FakeClusterStorageContainers) Delete ¶ added in v0.12.0
func (c *FakeClusterStorageContainers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterStorageContainer and deletes it. Returns an error if one occurs.
func (*FakeClusterStorageContainers) DeleteCollection ¶ added in v0.12.0
func (c *FakeClusterStorageContainers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterStorageContainers) Get ¶ added in v0.12.0
func (c *FakeClusterStorageContainers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterStorageContainer, err error)
Get takes name of the clusterStorageContainer, and returns the corresponding clusterStorageContainer object, and an error if there is any.
func (*FakeClusterStorageContainers) List ¶ added in v0.12.0
func (c *FakeClusterStorageContainers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterStorageContainerList, err error)
List takes label and field selectors, and returns the list of ClusterStorageContainers that match those selectors.
func (*FakeClusterStorageContainers) Patch ¶ added in v0.12.0
func (c *FakeClusterStorageContainers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterStorageContainer, err error)
Patch applies the patch and returns the patched clusterStorageContainer.
func (*FakeClusterStorageContainers) Update ¶ added in v0.12.0
func (c *FakeClusterStorageContainers) Update(ctx context.Context, clusterStorageContainer *v1alpha1.ClusterStorageContainer, opts v1.UpdateOptions) (result *v1alpha1.ClusterStorageContainer, err error)
Update takes the representation of a clusterStorageContainer and updates it. Returns the server's representation of the clusterStorageContainer, and an error, if there is any.
func (*FakeClusterStorageContainers) Watch ¶ added in v0.12.0
func (c *FakeClusterStorageContainers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterStorageContainers.
type FakeInferenceGraphs ¶
type FakeInferenceGraphs struct { Fake *FakeServingV1alpha1 // contains filtered or unexported fields }
FakeInferenceGraphs implements InferenceGraphInterface
func (*FakeInferenceGraphs) Create ¶
func (c *FakeInferenceGraphs) Create(ctx context.Context, inferenceGraph *v1alpha1.InferenceGraph, opts v1.CreateOptions) (result *v1alpha1.InferenceGraph, err error)
Create takes the representation of a inferenceGraph and creates it. Returns the server's representation of the inferenceGraph, and an error, if there is any.
func (*FakeInferenceGraphs) Delete ¶
func (c *FakeInferenceGraphs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the inferenceGraph and deletes it. Returns an error if one occurs.
func (*FakeInferenceGraphs) DeleteCollection ¶
func (c *FakeInferenceGraphs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeInferenceGraphs) Get ¶
func (c *FakeInferenceGraphs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.InferenceGraph, err error)
Get takes name of the inferenceGraph, and returns the corresponding inferenceGraph object, and an error if there is any.
func (*FakeInferenceGraphs) List ¶
func (c *FakeInferenceGraphs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.InferenceGraphList, err error)
List takes label and field selectors, and returns the list of InferenceGraphs that match those selectors.
func (*FakeInferenceGraphs) Patch ¶
func (c *FakeInferenceGraphs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.InferenceGraph, err error)
Patch applies the patch and returns the patched inferenceGraph.
func (*FakeInferenceGraphs) Update ¶
func (c *FakeInferenceGraphs) Update(ctx context.Context, inferenceGraph *v1alpha1.InferenceGraph, opts v1.UpdateOptions) (result *v1alpha1.InferenceGraph, err error)
Update takes the representation of a inferenceGraph and updates it. Returns the server's representation of the inferenceGraph, and an error, if there is any.
func (*FakeInferenceGraphs) UpdateStatus ¶
func (c *FakeInferenceGraphs) UpdateStatus(ctx context.Context, inferenceGraph *v1alpha1.InferenceGraph, opts v1.UpdateOptions) (*v1alpha1.InferenceGraph, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeInferenceGraphs) Watch ¶
func (c *FakeInferenceGraphs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested inferenceGraphs.
type FakeServingRuntimes ¶
type FakeServingRuntimes struct { Fake *FakeServingV1alpha1 // contains filtered or unexported fields }
FakeServingRuntimes implements ServingRuntimeInterface
func (*FakeServingRuntimes) Create ¶
func (c *FakeServingRuntimes) Create(ctx context.Context, servingRuntime *v1alpha1.ServingRuntime, opts v1.CreateOptions) (result *v1alpha1.ServingRuntime, err error)
Create takes the representation of a servingRuntime and creates it. Returns the server's representation of the servingRuntime, and an error, if there is any.
func (*FakeServingRuntimes) Delete ¶
func (c *FakeServingRuntimes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the servingRuntime and deletes it. Returns an error if one occurs.
func (*FakeServingRuntimes) DeleteCollection ¶
func (c *FakeServingRuntimes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServingRuntimes) Get ¶
func (c *FakeServingRuntimes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServingRuntime, err error)
Get takes name of the servingRuntime, and returns the corresponding servingRuntime object, and an error if there is any.
func (*FakeServingRuntimes) List ¶
func (c *FakeServingRuntimes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServingRuntimeList, err error)
List takes label and field selectors, and returns the list of ServingRuntimes that match those selectors.
func (*FakeServingRuntimes) Patch ¶
func (c *FakeServingRuntimes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ServingRuntime, err error)
Patch applies the patch and returns the patched servingRuntime.
func (*FakeServingRuntimes) Update ¶
func (c *FakeServingRuntimes) Update(ctx context.Context, servingRuntime *v1alpha1.ServingRuntime, opts v1.UpdateOptions) (result *v1alpha1.ServingRuntime, err error)
Update takes the representation of a servingRuntime and updates it. Returns the server's representation of the servingRuntime, and an error, if there is any.
func (*FakeServingRuntimes) UpdateStatus ¶
func (c *FakeServingRuntimes) UpdateStatus(ctx context.Context, servingRuntime *v1alpha1.ServingRuntime, opts v1.UpdateOptions) (*v1alpha1.ServingRuntime, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServingRuntimes) Watch ¶
func (c *FakeServingRuntimes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested servingRuntimes.
type FakeServingV1alpha1 ¶
func (*FakeServingV1alpha1) ClusterServingRuntimes ¶
func (c *FakeServingV1alpha1) ClusterServingRuntimes(namespace string) v1alpha1.ClusterServingRuntimeInterface
func (*FakeServingV1alpha1) ClusterStorageContainers ¶ added in v0.12.0
func (c *FakeServingV1alpha1) ClusterStorageContainers(namespace string) v1alpha1.ClusterStorageContainerInterface
func (*FakeServingV1alpha1) InferenceGraphs ¶
func (c *FakeServingV1alpha1) InferenceGraphs(namespace string) v1alpha1.InferenceGraphInterface
func (*FakeServingV1alpha1) RESTClient ¶
func (c *FakeServingV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeServingV1alpha1) ServingRuntimes ¶
func (c *FakeServingV1alpha1) ServingRuntimes(namespace string) v1alpha1.ServingRuntimeInterface
func (*FakeServingV1alpha1) TrainedModels ¶
func (c *FakeServingV1alpha1) TrainedModels(namespace string) v1alpha1.TrainedModelInterface
type FakeTrainedModels ¶
type FakeTrainedModels struct { Fake *FakeServingV1alpha1 // contains filtered or unexported fields }
FakeTrainedModels implements TrainedModelInterface
func (*FakeTrainedModels) Create ¶
func (c *FakeTrainedModels) Create(ctx context.Context, trainedModel *v1alpha1.TrainedModel, opts v1.CreateOptions) (result *v1alpha1.TrainedModel, err error)
Create takes the representation of a trainedModel and creates it. Returns the server's representation of the trainedModel, and an error, if there is any.
func (*FakeTrainedModels) Delete ¶
func (c *FakeTrainedModels) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the trainedModel and deletes it. Returns an error if one occurs.
func (*FakeTrainedModels) DeleteCollection ¶
func (c *FakeTrainedModels) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTrainedModels) Get ¶
func (c *FakeTrainedModels) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TrainedModel, err error)
Get takes name of the trainedModel, and returns the corresponding trainedModel object, and an error if there is any.
func (*FakeTrainedModels) List ¶
func (c *FakeTrainedModels) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TrainedModelList, err error)
List takes label and field selectors, and returns the list of TrainedModels that match those selectors.
func (*FakeTrainedModels) Patch ¶
func (c *FakeTrainedModels) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.TrainedModel, err error)
Patch applies the patch and returns the patched trainedModel.
func (*FakeTrainedModels) Update ¶
func (c *FakeTrainedModels) Update(ctx context.Context, trainedModel *v1alpha1.TrainedModel, opts v1.UpdateOptions) (result *v1alpha1.TrainedModel, err error)
Update takes the representation of a trainedModel and updates it. Returns the server's representation of the trainedModel, and an error, if there is any.
func (*FakeTrainedModels) UpdateStatus ¶
func (c *FakeTrainedModels) UpdateStatus(ctx context.Context, trainedModel *v1alpha1.TrainedModel, opts v1.UpdateOptions) (*v1alpha1.TrainedModel, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTrainedModels) Watch ¶
func (c *FakeTrainedModels) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested trainedModels.