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