Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAnalysisRuns
- func (c *FakeAnalysisRuns) Create(analysisRun *v1alpha1.AnalysisRun) (result *v1alpha1.AnalysisRun, err error)
- func (c *FakeAnalysisRuns) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAnalysisRuns) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAnalysisRuns) Get(name string, options v1.GetOptions) (result *v1alpha1.AnalysisRun, err error)
- func (c *FakeAnalysisRuns) List(opts v1.ListOptions) (result *v1alpha1.AnalysisRunList, err error)
- func (c *FakeAnalysisRuns) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AnalysisRun, err error)
- func (c *FakeAnalysisRuns) Update(analysisRun *v1alpha1.AnalysisRun) (result *v1alpha1.AnalysisRun, err error)
- func (c *FakeAnalysisRuns) UpdateStatus(analysisRun *v1alpha1.AnalysisRun) (*v1alpha1.AnalysisRun, error)
- func (c *FakeAnalysisRuns) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeAnalysisTemplates
- func (c *FakeAnalysisTemplates) Create(analysisTemplate *v1alpha1.AnalysisTemplate) (result *v1alpha1.AnalysisTemplate, err error)
- func (c *FakeAnalysisTemplates) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAnalysisTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAnalysisTemplates) Get(name string, options v1.GetOptions) (result *v1alpha1.AnalysisTemplate, err error)
- func (c *FakeAnalysisTemplates) List(opts v1.ListOptions) (result *v1alpha1.AnalysisTemplateList, err error)
- func (c *FakeAnalysisTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AnalysisTemplate, err error)
- func (c *FakeAnalysisTemplates) Update(analysisTemplate *v1alpha1.AnalysisTemplate) (result *v1alpha1.AnalysisTemplate, err error)
- func (c *FakeAnalysisTemplates) Watch(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) Experiments(namespace string) v1alpha1.ExperimentInterface
- func (c *FakeArgoprojV1alpha1) RESTClient() rest.Interface
- func (c *FakeArgoprojV1alpha1) Rollouts(namespace string) v1alpha1.RolloutInterface
- type FakeExperiments
- func (c *FakeExperiments) Create(experiment *v1alpha1.Experiment) (result *v1alpha1.Experiment, err error)
- func (c *FakeExperiments) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeExperiments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeExperiments) Get(name string, options v1.GetOptions) (result *v1alpha1.Experiment, err error)
- func (c *FakeExperiments) List(opts v1.ListOptions) (result *v1alpha1.ExperimentList, err error)
- func (c *FakeExperiments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Experiment, err error)
- func (c *FakeExperiments) Update(experiment *v1alpha1.Experiment) (result *v1alpha1.Experiment, err error)
- func (c *FakeExperiments) UpdateStatus(experiment *v1alpha1.Experiment) (*v1alpha1.Experiment, error)
- func (c *FakeExperiments) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeRollouts
- func (c *FakeRollouts) Create(rollout *v1alpha1.Rollout) (result *v1alpha1.Rollout, err error)
- func (c *FakeRollouts) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeRollouts) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeRollouts) Get(name string, options v1.GetOptions) (result *v1alpha1.Rollout, err error)
- func (c *FakeRollouts) List(opts v1.ListOptions) (result *v1alpha1.RolloutList, err error)
- func (c *FakeRollouts) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Rollout, err error)
- func (c *FakeRollouts) Update(rollout *v1alpha1.Rollout) (result *v1alpha1.Rollout, err error)
- func (c *FakeRollouts) Watch(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(analysisRun *v1alpha1.AnalysisRun) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAnalysisRuns) Get ¶ added in v0.6.0
func (c *FakeAnalysisRuns) Get(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(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(name string, pt types.PatchType, data []byte, 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(analysisRun *v1alpha1.AnalysisRun) (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(analysisRun *v1alpha1.AnalysisRun) (*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(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(analysisTemplate *v1alpha1.AnalysisTemplate) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAnalysisTemplates) Get ¶ added in v0.6.0
func (c *FakeAnalysisTemplates) Get(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(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(name string, pt types.PatchType, data []byte, 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(analysisTemplate *v1alpha1.AnalysisTemplate) (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(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) 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 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(experiment *v1alpha1.Experiment) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeExperiments) Get ¶ added in v0.5.0
func (c *FakeExperiments) Get(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(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(name string, pt types.PatchType, data []byte, 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(experiment *v1alpha1.Experiment) (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(experiment *v1alpha1.Experiment) (*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(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 ¶
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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRollouts) Get ¶
func (c *FakeRollouts) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Rollout, err error)
Patch applies the patch and returns the patched rollout.
func (*FakeRollouts) Update ¶
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) Watch ¶
func (c *FakeRollouts) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested rollouts.