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