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