Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakePipelinePodsTemplates
- func (c *FakePipelinePodsTemplates) Create(ctx context.Context, pipelinePodsTemplate *v1alpha1.PipelinePodsTemplate, ...) (result *v1alpha1.PipelinePodsTemplate, err error)
- func (c *FakePipelinePodsTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePipelinePodsTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePipelinePodsTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PipelinePodsTemplate, err error)
- func (c *FakePipelinePodsTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PipelinePodsTemplateList, err error)
- func (c *FakePipelinePodsTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PipelinePodsTemplate, err error)
- func (c *FakePipelinePodsTemplates) Update(ctx context.Context, pipelinePodsTemplate *v1alpha1.PipelinePodsTemplate, ...) (result *v1alpha1.PipelinePodsTemplate, err error)
- func (c *FakePipelinePodsTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVelaV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakePipelinePodsTemplates ¶
type FakePipelinePodsTemplates struct { Fake *FakeVelaV1alpha1 // contains filtered or unexported fields }
FakePipelinePodsTemplates implements PipelinePodsTemplateInterface
func (*FakePipelinePodsTemplates) Create ¶
func (c *FakePipelinePodsTemplates) Create(ctx context.Context, pipelinePodsTemplate *v1alpha1.PipelinePodsTemplate, opts v1.CreateOptions) (result *v1alpha1.PipelinePodsTemplate, err error)
Create takes the representation of a pipelinePodsTemplate and creates it. Returns the server's representation of the pipelinePodsTemplate, and an error, if there is any.
func (*FakePipelinePodsTemplates) Delete ¶
func (c *FakePipelinePodsTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the pipelinePodsTemplate and deletes it. Returns an error if one occurs.
func (*FakePipelinePodsTemplates) DeleteCollection ¶
func (c *FakePipelinePodsTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePipelinePodsTemplates) Get ¶
func (c *FakePipelinePodsTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PipelinePodsTemplate, err error)
Get takes name of the pipelinePodsTemplate, and returns the corresponding pipelinePodsTemplate object, and an error if there is any.
func (*FakePipelinePodsTemplates) List ¶
func (c *FakePipelinePodsTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PipelinePodsTemplateList, err error)
List takes label and field selectors, and returns the list of PipelinePodsTemplates that match those selectors.
func (*FakePipelinePodsTemplates) Patch ¶
func (c *FakePipelinePodsTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PipelinePodsTemplate, err error)
Patch applies the patch and returns the patched pipelinePodsTemplate.
func (*FakePipelinePodsTemplates) Update ¶
func (c *FakePipelinePodsTemplates) Update(ctx context.Context, pipelinePodsTemplate *v1alpha1.PipelinePodsTemplate, opts v1.UpdateOptions) (result *v1alpha1.PipelinePodsTemplate, err error)
Update takes the representation of a pipelinePodsTemplate and updates it. Returns the server's representation of the pipelinePodsTemplate, and an error, if there is any.
func (*FakePipelinePodsTemplates) Watch ¶
func (c *FakePipelinePodsTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pipelinePodsTemplates.
type FakeVelaV1alpha1 ¶
func (*FakeVelaV1alpha1) PipelinePodsTemplates ¶
func (c *FakeVelaV1alpha1) PipelinePodsTemplates(namespace string) v1alpha1.PipelinePodsTemplateInterface
func (*FakeVelaV1alpha1) RESTClient ¶
func (c *FakeVelaV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.