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