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