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