Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeRuns
- func (c *FakeRuns) Create(ctx context.Context, run *v1alpha1.Run, opts v1.CreateOptions) (result *v1alpha1.Run, err error)
- func (c *FakeRuns) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRuns) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRuns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Run, err error)
- func (c *FakeRuns) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RunList, err error)
- func (c *FakeRuns) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Run, err error)
- func (c *FakeRuns) Update(ctx context.Context, run *v1alpha1.Run, opts v1.UpdateOptions) (result *v1alpha1.Run, err error)
- func (c *FakeRuns) UpdateStatus(ctx context.Context, run *v1alpha1.Run, opts v1.UpdateOptions) (*v1alpha1.Run, error)
- func (c *FakeRuns) 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 FakeRuns ¶ added in v0.15.0
type FakeRuns struct { Fake *FakeTektonV1alpha1 // contains filtered or unexported fields }
FakeRuns implements RunInterface
func (*FakeRuns) Create ¶ added in v0.15.0
func (c *FakeRuns) Create(ctx context.Context, run *v1alpha1.Run, opts v1.CreateOptions) (result *v1alpha1.Run, err error)
Create takes the representation of a run and creates it. Returns the server's representation of the run, and an error, if there is any.
func (*FakeRuns) Delete ¶ added in v0.15.0
Delete takes name of the run and deletes it. Returns an error if one occurs.
func (*FakeRuns) DeleteCollection ¶ added in v0.15.0
func (c *FakeRuns) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRuns) Get ¶ added in v0.15.0
func (c *FakeRuns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Run, err error)
Get takes name of the run, and returns the corresponding run object, and an error if there is any.
func (*FakeRuns) List ¶ added in v0.15.0
func (c *FakeRuns) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RunList, err error)
List takes label and field selectors, and returns the list of Runs that match those selectors.
func (*FakeRuns) Patch ¶ added in v0.15.0
func (c *FakeRuns) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Run, err error)
Patch applies the patch and returns the patched run.
func (*FakeRuns) Update ¶ added in v0.15.0
func (c *FakeRuns) Update(ctx context.Context, run *v1alpha1.Run, opts v1.UpdateOptions) (result *v1alpha1.Run, err error)
Update takes the representation of a run and updates it. Returns the server's representation of the run, and an error, if there is any.
func (*FakeRuns) UpdateStatus ¶ added in v0.15.0
func (c *FakeRuns) UpdateStatus(ctx context.Context, run *v1alpha1.Run, opts v1.UpdateOptions) (*v1alpha1.Run, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeTektonV1alpha1 ¶
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.
func (*FakeTektonV1alpha1) Runs ¶ added in v0.15.0
func (c *FakeTektonV1alpha1) Runs(namespace string) v1alpha1.RunInterface