Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeFlowsV1beta1
- type FakeParallels
- func (c *FakeParallels) Create(ctx context.Context, parallel *v1beta1.Parallel, opts v1.CreateOptions) (result *v1beta1.Parallel, err error)
- func (c *FakeParallels) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeParallels) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeParallels) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Parallel, err error)
- func (c *FakeParallels) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ParallelList, err error)
- func (c *FakeParallels) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Parallel, err error)
- func (c *FakeParallels) Update(ctx context.Context, parallel *v1beta1.Parallel, opts v1.UpdateOptions) (result *v1beta1.Parallel, err error)
- func (c *FakeParallels) UpdateStatus(ctx context.Context, parallel *v1beta1.Parallel, opts v1.UpdateOptions) (*v1beta1.Parallel, error)
- func (c *FakeParallels) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSequences
- func (c *FakeSequences) Create(ctx context.Context, sequence *v1beta1.Sequence, opts v1.CreateOptions) (result *v1beta1.Sequence, err error)
- func (c *FakeSequences) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSequences) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSequences) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Sequence, err error)
- func (c *FakeSequences) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.SequenceList, err error)
- func (c *FakeSequences) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Sequence, err error)
- func (c *FakeSequences) Update(ctx context.Context, sequence *v1beta1.Sequence, opts v1.UpdateOptions) (result *v1beta1.Sequence, err error)
- func (c *FakeSequences) UpdateStatus(ctx context.Context, sequence *v1beta1.Sequence, opts v1.UpdateOptions) (*v1beta1.Sequence, error)
- func (c *FakeSequences) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeFlowsV1beta1 ¶
func (*FakeFlowsV1beta1) Parallels ¶
func (c *FakeFlowsV1beta1) Parallels(namespace string) v1beta1.ParallelInterface
func (*FakeFlowsV1beta1) RESTClient ¶
func (c *FakeFlowsV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeFlowsV1beta1) Sequences ¶
func (c *FakeFlowsV1beta1) Sequences(namespace string) v1beta1.SequenceInterface
type FakeParallels ¶
type FakeParallels struct { Fake *FakeFlowsV1beta1 // contains filtered or unexported fields }
FakeParallels implements ParallelInterface
func (*FakeParallels) Create ¶
func (c *FakeParallels) Create(ctx context.Context, parallel *v1beta1.Parallel, opts v1.CreateOptions) (result *v1beta1.Parallel, err error)
Create takes the representation of a parallel and creates it. Returns the server's representation of the parallel, and an error, if there is any.
func (*FakeParallels) Delete ¶
func (c *FakeParallels) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the parallel and deletes it. Returns an error if one occurs.
func (*FakeParallels) DeleteCollection ¶
func (c *FakeParallels) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeParallels) Get ¶
func (c *FakeParallels) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Parallel, err error)
Get takes name of the parallel, and returns the corresponding parallel object, and an error if there is any.
func (*FakeParallels) List ¶
func (c *FakeParallels) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ParallelList, err error)
List takes label and field selectors, and returns the list of Parallels that match those selectors.
func (*FakeParallels) Patch ¶
func (c *FakeParallels) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Parallel, err error)
Patch applies the patch and returns the patched parallel.
func (*FakeParallels) Update ¶
func (c *FakeParallels) Update(ctx context.Context, parallel *v1beta1.Parallel, opts v1.UpdateOptions) (result *v1beta1.Parallel, err error)
Update takes the representation of a parallel and updates it. Returns the server's representation of the parallel, and an error, if there is any.
func (*FakeParallels) UpdateStatus ¶
func (c *FakeParallels) UpdateStatus(ctx context.Context, parallel *v1beta1.Parallel, opts v1.UpdateOptions) (*v1beta1.Parallel, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeParallels) Watch ¶
func (c *FakeParallels) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested parallels.
type FakeSequences ¶
type FakeSequences struct { Fake *FakeFlowsV1beta1 // contains filtered or unexported fields }
FakeSequences implements SequenceInterface
func (*FakeSequences) Create ¶
func (c *FakeSequences) Create(ctx context.Context, sequence *v1beta1.Sequence, opts v1.CreateOptions) (result *v1beta1.Sequence, err error)
Create takes the representation of a sequence and creates it. Returns the server's representation of the sequence, and an error, if there is any.
func (*FakeSequences) Delete ¶
func (c *FakeSequences) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the sequence and deletes it. Returns an error if one occurs.
func (*FakeSequences) DeleteCollection ¶
func (c *FakeSequences) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSequences) Get ¶
func (c *FakeSequences) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Sequence, err error)
Get takes name of the sequence, and returns the corresponding sequence object, and an error if there is any.
func (*FakeSequences) List ¶
func (c *FakeSequences) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.SequenceList, err error)
List takes label and field selectors, and returns the list of Sequences that match those selectors.
func (*FakeSequences) Patch ¶
func (c *FakeSequences) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Sequence, err error)
Patch applies the patch and returns the patched sequence.
func (*FakeSequences) Update ¶
func (c *FakeSequences) Update(ctx context.Context, sequence *v1beta1.Sequence, opts v1.UpdateOptions) (result *v1beta1.Sequence, err error)
Update takes the representation of a sequence and updates it. Returns the server's representation of the sequence, and an error, if there is any.
func (*FakeSequences) UpdateStatus ¶
func (c *FakeSequences) UpdateStatus(ctx context.Context, sequence *v1beta1.Sequence, opts v1.UpdateOptions) (*v1beta1.Sequence, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSequences) Watch ¶
func (c *FakeSequences) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sequences.