Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Copyright 2018 The Kubeflow Authors ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2018 The Kubeflow Authors ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- type FakeKubeflowV1alpha1
- type FakeTFJobs
- func (c *FakeTFJobs) Create(tFJob *v1alpha1.TFJob) (result *v1alpha1.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 *v1alpha1.TFJob, err error)
- func (c *FakeTFJobs) List(opts v1.ListOptions) (result *v1alpha1.TFJobList, err error)
- func (c *FakeTFJobs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.TFJob, err error)
- func (c *FakeTFJobs) Update(tFJob *v1alpha1.TFJob) (result *v1alpha1.TFJob, err 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 FakeKubeflowV1alpha1 ¶
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.
func (*FakeKubeflowV1alpha1) TFJobs ¶
func (c *FakeKubeflowV1alpha1) TFJobs(namespace string) v1alpha1.TFJobInterface
type FakeTFJobs ¶
type FakeTFJobs struct { Fake *FakeKubeflowV1alpha1 // contains filtered or unexported fields }
FakeTFJobs implements TFJobInterface
func (*FakeTFJobs) Create ¶
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 *v1alpha1.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 *v1alpha1.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 *v1alpha1.TFJob, err error)
Patch applies the patch and returns the patched tFJob.
func (*FakeTFJobs) Update ¶
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) Watch ¶
func (c *FakeTFJobs) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested tFJobs.