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