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