Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeInferences
- func (c *FakeInferences) Create(ctx context.Context, inference *v2alpha1.Inference, opts v1.CreateOptions) (result *v2alpha1.Inference, err error)
- func (c *FakeInferences) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeInferences) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeInferences) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2alpha1.Inference, err error)
- func (c *FakeInferences) List(ctx context.Context, opts v1.ListOptions) (result *v2alpha1.InferenceList, err error)
- func (c *FakeInferences) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v2alpha1.Inference, err error)
- func (c *FakeInferences) Update(ctx context.Context, inference *v2alpha1.Inference, opts v1.UpdateOptions) (result *v2alpha1.Inference, err error)
- func (c *FakeInferences) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTensorchordV2alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeInferences ¶
type FakeInferences struct { Fake *FakeTensorchordV2alpha1 // contains filtered or unexported fields }
FakeInferences implements InferenceInterface
func (*FakeInferences) Create ¶
func (c *FakeInferences) Create(ctx context.Context, inference *v2alpha1.Inference, opts v1.CreateOptions) (result *v2alpha1.Inference, err error)
Create takes the representation of a inference and creates it. Returns the server's representation of the inference, and an error, if there is any.
func (*FakeInferences) Delete ¶
func (c *FakeInferences) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the inference and deletes it. Returns an error if one occurs.
func (*FakeInferences) DeleteCollection ¶
func (c *FakeInferences) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeInferences) Get ¶
func (c *FakeInferences) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2alpha1.Inference, err error)
Get takes name of the inference, and returns the corresponding inference object, and an error if there is any.
func (*FakeInferences) List ¶
func (c *FakeInferences) List(ctx context.Context, opts v1.ListOptions) (result *v2alpha1.InferenceList, err error)
List takes label and field selectors, and returns the list of Inferences that match those selectors.
func (*FakeInferences) Patch ¶
func (c *FakeInferences) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2alpha1.Inference, err error)
Patch applies the patch and returns the patched inference.
func (*FakeInferences) Update ¶
func (c *FakeInferences) Update(ctx context.Context, inference *v2alpha1.Inference, opts v1.UpdateOptions) (result *v2alpha1.Inference, err error)
Update takes the representation of a inference and updates it. Returns the server's representation of the inference, and an error, if there is any.
func (*FakeInferences) Watch ¶
func (c *FakeInferences) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested inferences.
type FakeTensorchordV2alpha1 ¶
func (*FakeTensorchordV2alpha1) Inferences ¶
func (c *FakeTensorchordV2alpha1) Inferences(namespace string) v2alpha1.InferenceInterface
func (*FakeTensorchordV2alpha1) RESTClient ¶
func (c *FakeTensorchordV2alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.