Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAnalysisRuns
- func (c *FakeAnalysisRuns) Create(ctx context.Context, analysisRun *v1alpha1.AnalysisRun, opts v1.CreateOptions) (result *v1alpha1.AnalysisRun, err error)
- func (c *FakeAnalysisRuns) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAnalysisRuns) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAnalysisRuns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AnalysisRun, err error)
- func (c *FakeAnalysisRuns) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AnalysisRunList, err error)
- func (c *FakeAnalysisRuns) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AnalysisRun, err error)
- func (c *FakeAnalysisRuns) Update(ctx context.Context, analysisRun *v1alpha1.AnalysisRun, opts v1.UpdateOptions) (result *v1alpha1.AnalysisRun, err error)
- func (c *FakeAnalysisRuns) UpdateStatus(ctx context.Context, analysisRun *v1alpha1.AnalysisRun, opts v1.UpdateOptions) (*v1alpha1.AnalysisRun, error)
- func (c *FakeAnalysisRuns) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAnalysisTemplates
- func (c *FakeAnalysisTemplates) Create(ctx context.Context, analysisTemplate *v1alpha1.AnalysisTemplate, ...) (result *v1alpha1.AnalysisTemplate, err error)
- func (c *FakeAnalysisTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAnalysisTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAnalysisTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AnalysisTemplate, err error)
- func (c *FakeAnalysisTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AnalysisTemplateList, err error)
- func (c *FakeAnalysisTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AnalysisTemplate, err error)
- func (c *FakeAnalysisTemplates) Update(ctx context.Context, analysisTemplate *v1alpha1.AnalysisTemplate, ...) (result *v1alpha1.AnalysisTemplate, err error)
- func (c *FakeAnalysisTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeArgoprojV1alpha1
- func (c *FakeArgoprojV1alpha1) AnalysisRuns(namespace string) v1alpha1.AnalysisRunInterface
- func (c *FakeArgoprojV1alpha1) AnalysisTemplates(namespace string) v1alpha1.AnalysisTemplateInterface
- func (c *FakeArgoprojV1alpha1) ClusterAnalysisTemplates() v1alpha1.ClusterAnalysisTemplateInterface
- func (c *FakeArgoprojV1alpha1) Experiments(namespace string) v1alpha1.ExperimentInterface
- func (c *FakeArgoprojV1alpha1) RESTClient() rest.Interface
- func (c *FakeArgoprojV1alpha1) Rollouts(namespace string) v1alpha1.RolloutInterface
- type FakeClusterAnalysisTemplates
- func (c *FakeClusterAnalysisTemplates) Create(ctx context.Context, clusterAnalysisTemplate *v1alpha1.ClusterAnalysisTemplate, ...) (result *v1alpha1.ClusterAnalysisTemplate, err error)
- func (c *FakeClusterAnalysisTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterAnalysisTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterAnalysisTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterAnalysisTemplate, err error)
- func (c *FakeClusterAnalysisTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterAnalysisTemplateList, err error)
- func (c *FakeClusterAnalysisTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterAnalysisTemplate, err error)
- func (c *FakeClusterAnalysisTemplates) Update(ctx context.Context, clusterAnalysisTemplate *v1alpha1.ClusterAnalysisTemplate, ...) (result *v1alpha1.ClusterAnalysisTemplate, err error)
- func (c *FakeClusterAnalysisTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeExperiments
- func (c *FakeExperiments) Create(ctx context.Context, experiment *v1alpha1.Experiment, opts v1.CreateOptions) (result *v1alpha1.Experiment, err error)
- func (c *FakeExperiments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeExperiments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeExperiments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Experiment, err error)
- func (c *FakeExperiments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ExperimentList, err error)
- func (c *FakeExperiments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Experiment, err error)
- func (c *FakeExperiments) Update(ctx context.Context, experiment *v1alpha1.Experiment, opts v1.UpdateOptions) (result *v1alpha1.Experiment, err error)
- func (c *FakeExperiments) UpdateStatus(ctx context.Context, experiment *v1alpha1.Experiment, opts v1.UpdateOptions) (*v1alpha1.Experiment, error)
- func (c *FakeExperiments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRollouts
- func (c *FakeRollouts) Create(ctx context.Context, rollout *v1alpha1.Rollout, opts v1.CreateOptions) (result *v1alpha1.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 *v1alpha1.Rollout, err error)
- func (c *FakeRollouts) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RolloutList, err error)
- func (c *FakeRollouts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Rollout, err error)
- func (c *FakeRollouts) Update(ctx context.Context, rollout *v1alpha1.Rollout, opts v1.UpdateOptions) (result *v1alpha1.Rollout, err error)
- func (c *FakeRollouts) UpdateStatus(ctx context.Context, rollout *v1alpha1.Rollout, opts v1.UpdateOptions) (*v1alpha1.Rollout, error)
- func (c *FakeRollouts) 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 FakeAnalysisRuns ¶ added in v0.6.0
type FakeAnalysisRuns struct { Fake *FakeArgoprojV1alpha1 // contains filtered or unexported fields }
FakeAnalysisRuns implements AnalysisRunInterface
func (*FakeAnalysisRuns) Create ¶ added in v0.6.0
func (c *FakeAnalysisRuns) Create(ctx context.Context, analysisRun *v1alpha1.AnalysisRun, opts v1.CreateOptions) (result *v1alpha1.AnalysisRun, err error)
Create takes the representation of a analysisRun and creates it. Returns the server's representation of the analysisRun, and an error, if there is any.
func (*FakeAnalysisRuns) Delete ¶ added in v0.6.0
func (c *FakeAnalysisRuns) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the analysisRun and deletes it. Returns an error if one occurs.
func (*FakeAnalysisRuns) DeleteCollection ¶ added in v0.6.0
func (c *FakeAnalysisRuns) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAnalysisRuns) Get ¶ added in v0.6.0
func (c *FakeAnalysisRuns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AnalysisRun, err error)
Get takes name of the analysisRun, and returns the corresponding analysisRun object, and an error if there is any.
func (*FakeAnalysisRuns) List ¶ added in v0.6.0
func (c *FakeAnalysisRuns) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AnalysisRunList, err error)
List takes label and field selectors, and returns the list of AnalysisRuns that match those selectors.
func (*FakeAnalysisRuns) Patch ¶ added in v0.6.0
func (c *FakeAnalysisRuns) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AnalysisRun, err error)
Patch applies the patch and returns the patched analysisRun.
func (*FakeAnalysisRuns) Update ¶ added in v0.6.0
func (c *FakeAnalysisRuns) Update(ctx context.Context, analysisRun *v1alpha1.AnalysisRun, opts v1.UpdateOptions) (result *v1alpha1.AnalysisRun, err error)
Update takes the representation of a analysisRun and updates it. Returns the server's representation of the analysisRun, and an error, if there is any.
func (*FakeAnalysisRuns) UpdateStatus ¶ added in v0.6.0
func (c *FakeAnalysisRuns) UpdateStatus(ctx context.Context, analysisRun *v1alpha1.AnalysisRun, opts v1.UpdateOptions) (*v1alpha1.AnalysisRun, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAnalysisRuns) Watch ¶ added in v0.6.0
func (c *FakeAnalysisRuns) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested analysisRuns.
type FakeAnalysisTemplates ¶ added in v0.6.0
type FakeAnalysisTemplates struct { Fake *FakeArgoprojV1alpha1 // contains filtered or unexported fields }
FakeAnalysisTemplates implements AnalysisTemplateInterface
func (*FakeAnalysisTemplates) Create ¶ added in v0.6.0
func (c *FakeAnalysisTemplates) Create(ctx context.Context, analysisTemplate *v1alpha1.AnalysisTemplate, opts v1.CreateOptions) (result *v1alpha1.AnalysisTemplate, err error)
Create takes the representation of a analysisTemplate and creates it. Returns the server's representation of the analysisTemplate, and an error, if there is any.
func (*FakeAnalysisTemplates) Delete ¶ added in v0.6.0
func (c *FakeAnalysisTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the analysisTemplate and deletes it. Returns an error if one occurs.
func (*FakeAnalysisTemplates) DeleteCollection ¶ added in v0.6.0
func (c *FakeAnalysisTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAnalysisTemplates) Get ¶ added in v0.6.0
func (c *FakeAnalysisTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AnalysisTemplate, err error)
Get takes name of the analysisTemplate, and returns the corresponding analysisTemplate object, and an error if there is any.
func (*FakeAnalysisTemplates) List ¶ added in v0.6.0
func (c *FakeAnalysisTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AnalysisTemplateList, err error)
List takes label and field selectors, and returns the list of AnalysisTemplates that match those selectors.
func (*FakeAnalysisTemplates) Patch ¶ added in v0.6.0
func (c *FakeAnalysisTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AnalysisTemplate, err error)
Patch applies the patch and returns the patched analysisTemplate.
func (*FakeAnalysisTemplates) Update ¶ added in v0.6.0
func (c *FakeAnalysisTemplates) Update(ctx context.Context, analysisTemplate *v1alpha1.AnalysisTemplate, opts v1.UpdateOptions) (result *v1alpha1.AnalysisTemplate, err error)
Update takes the representation of a analysisTemplate and updates it. Returns the server's representation of the analysisTemplate, and an error, if there is any.
func (*FakeAnalysisTemplates) Watch ¶ added in v0.6.0
func (c *FakeAnalysisTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested analysisTemplates.
type FakeArgoprojV1alpha1 ¶
func (*FakeArgoprojV1alpha1) AnalysisRuns ¶ added in v0.6.0
func (c *FakeArgoprojV1alpha1) AnalysisRuns(namespace string) v1alpha1.AnalysisRunInterface
func (*FakeArgoprojV1alpha1) AnalysisTemplates ¶ added in v0.6.0
func (c *FakeArgoprojV1alpha1) AnalysisTemplates(namespace string) v1alpha1.AnalysisTemplateInterface
func (*FakeArgoprojV1alpha1) ClusterAnalysisTemplates ¶ added in v0.9.0
func (c *FakeArgoprojV1alpha1) ClusterAnalysisTemplates() v1alpha1.ClusterAnalysisTemplateInterface
func (*FakeArgoprojV1alpha1) Experiments ¶ added in v0.5.0
func (c *FakeArgoprojV1alpha1) Experiments(namespace string) v1alpha1.ExperimentInterface
func (*FakeArgoprojV1alpha1) RESTClient ¶
func (c *FakeArgoprojV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeArgoprojV1alpha1) Rollouts ¶
func (c *FakeArgoprojV1alpha1) Rollouts(namespace string) v1alpha1.RolloutInterface
type FakeClusterAnalysisTemplates ¶ added in v0.9.0
type FakeClusterAnalysisTemplates struct {
Fake *FakeArgoprojV1alpha1
}
FakeClusterAnalysisTemplates implements ClusterAnalysisTemplateInterface
func (*FakeClusterAnalysisTemplates) Create ¶ added in v0.9.0
func (c *FakeClusterAnalysisTemplates) Create(ctx context.Context, clusterAnalysisTemplate *v1alpha1.ClusterAnalysisTemplate, opts v1.CreateOptions) (result *v1alpha1.ClusterAnalysisTemplate, err error)
Create takes the representation of a clusterAnalysisTemplate and creates it. Returns the server's representation of the clusterAnalysisTemplate, and an error, if there is any.
func (*FakeClusterAnalysisTemplates) Delete ¶ added in v0.9.0
func (c *FakeClusterAnalysisTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterAnalysisTemplate and deletes it. Returns an error if one occurs.
func (*FakeClusterAnalysisTemplates) DeleteCollection ¶ added in v0.9.0
func (c *FakeClusterAnalysisTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterAnalysisTemplates) Get ¶ added in v0.9.0
func (c *FakeClusterAnalysisTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterAnalysisTemplate, err error)
Get takes name of the clusterAnalysisTemplate, and returns the corresponding clusterAnalysisTemplate object, and an error if there is any.
func (*FakeClusterAnalysisTemplates) List ¶ added in v0.9.0
func (c *FakeClusterAnalysisTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterAnalysisTemplateList, err error)
List takes label and field selectors, and returns the list of ClusterAnalysisTemplates that match those selectors.
func (*FakeClusterAnalysisTemplates) Patch ¶ added in v0.9.0
func (c *FakeClusterAnalysisTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterAnalysisTemplate, err error)
Patch applies the patch and returns the patched clusterAnalysisTemplate.
func (*FakeClusterAnalysisTemplates) Update ¶ added in v0.9.0
func (c *FakeClusterAnalysisTemplates) Update(ctx context.Context, clusterAnalysisTemplate *v1alpha1.ClusterAnalysisTemplate, opts v1.UpdateOptions) (result *v1alpha1.ClusterAnalysisTemplate, err error)
Update takes the representation of a clusterAnalysisTemplate and updates it. Returns the server's representation of the clusterAnalysisTemplate, and an error, if there is any.
func (*FakeClusterAnalysisTemplates) Watch ¶ added in v0.9.0
func (c *FakeClusterAnalysisTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterAnalysisTemplates.
type FakeExperiments ¶ added in v0.5.0
type FakeExperiments struct { Fake *FakeArgoprojV1alpha1 // contains filtered or unexported fields }
FakeExperiments implements ExperimentInterface
func (*FakeExperiments) Create ¶ added in v0.5.0
func (c *FakeExperiments) Create(ctx context.Context, experiment *v1alpha1.Experiment, opts v1.CreateOptions) (result *v1alpha1.Experiment, err error)
Create takes the representation of a experiment and creates it. Returns the server's representation of the experiment, and an error, if there is any.
func (*FakeExperiments) Delete ¶ added in v0.5.0
func (c *FakeExperiments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the experiment and deletes it. Returns an error if one occurs.
func (*FakeExperiments) DeleteCollection ¶ added in v0.5.0
func (c *FakeExperiments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeExperiments) Get ¶ added in v0.5.0
func (c *FakeExperiments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Experiment, err error)
Get takes name of the experiment, and returns the corresponding experiment object, and an error if there is any.
func (*FakeExperiments) List ¶ added in v0.5.0
func (c *FakeExperiments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ExperimentList, err error)
List takes label and field selectors, and returns the list of Experiments that match those selectors.
func (*FakeExperiments) Patch ¶ added in v0.5.0
func (c *FakeExperiments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Experiment, err error)
Patch applies the patch and returns the patched experiment.
func (*FakeExperiments) Update ¶ added in v0.5.0
func (c *FakeExperiments) Update(ctx context.Context, experiment *v1alpha1.Experiment, opts v1.UpdateOptions) (result *v1alpha1.Experiment, err error)
Update takes the representation of a experiment and updates it. Returns the server's representation of the experiment, and an error, if there is any.
func (*FakeExperiments) UpdateStatus ¶ added in v0.5.0
func (c *FakeExperiments) UpdateStatus(ctx context.Context, experiment *v1alpha1.Experiment, opts v1.UpdateOptions) (*v1alpha1.Experiment, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeExperiments) Watch ¶ added in v0.5.0
func (c *FakeExperiments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested experiments.
type FakeRollouts ¶
type FakeRollouts struct { Fake *FakeArgoprojV1alpha1 // contains filtered or unexported fields }
FakeRollouts implements RolloutInterface
func (*FakeRollouts) Create ¶
func (c *FakeRollouts) Create(ctx context.Context, rollout *v1alpha1.Rollout, opts v1.CreateOptions) (result *v1alpha1.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 *v1alpha1.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 *v1alpha1.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 *v1alpha1.Rollout, err error)
Patch applies the patch and returns the patched rollout.
func (*FakeRollouts) Update ¶
func (c *FakeRollouts) Update(ctx context.Context, rollout *v1alpha1.Rollout, opts v1.UpdateOptions) (result *v1alpha1.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 ¶ added in v0.10.0
func (c *FakeRollouts) UpdateStatus(ctx context.Context, rollout *v1alpha1.Rollout, opts v1.UpdateOptions) (*v1alpha1.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.