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