Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeChartInfos
- func (c *FakeChartInfos) Create(ctx context.Context, chartInfo *v1.ChartInfo, opts metav1.CreateOptions) (result *v1.ChartInfo, err error)
- func (c *FakeChartInfos) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeChartInfos) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeChartInfos) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ChartInfo, err error)
- func (c *FakeChartInfos) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ChartInfoList, err error)
- func (c *FakeChartInfos) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.ChartInfo, err error)
- func (c *FakeChartInfos) Update(ctx context.Context, chartInfo *v1.ChartInfo, opts metav1.UpdateOptions) (result *v1.ChartInfo, err error)
- func (c *FakeChartInfos) UpdateStatus(ctx context.Context, chartInfo *v1.ChartInfo, opts metav1.UpdateOptions) (*v1.ChartInfo, error)
- func (c *FakeChartInfos) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeClusterV1
- type FakeFeatures
- func (c *FakeFeatures) Create(ctx context.Context, feature *v1.Feature, opts metav1.CreateOptions) (result *v1.Feature, err error)
- func (c *FakeFeatures) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeFeatures) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeFeatures) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Feature, err error)
- func (c *FakeFeatures) List(ctx context.Context, opts metav1.ListOptions) (result *v1.FeatureList, err error)
- func (c *FakeFeatures) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Feature, err error)
- func (c *FakeFeatures) Update(ctx context.Context, feature *v1.Feature, opts metav1.UpdateOptions) (result *v1.Feature, err error)
- func (c *FakeFeatures) UpdateStatus(ctx context.Context, feature *v1.Feature, opts metav1.UpdateOptions) (*v1.Feature, error)
- func (c *FakeFeatures) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeHelmReleases
- func (c *FakeHelmReleases) Create(ctx context.Context, helmRelease *v1.HelmRelease, opts metav1.CreateOptions) (result *v1.HelmRelease, err error)
- func (c *FakeHelmReleases) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeHelmReleases) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeHelmReleases) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.HelmRelease, err error)
- func (c *FakeHelmReleases) List(ctx context.Context, opts metav1.ListOptions) (result *v1.HelmReleaseList, err error)
- func (c *FakeHelmReleases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.HelmRelease, err error)
- func (c *FakeHelmReleases) Update(ctx context.Context, helmRelease *v1.HelmRelease, opts metav1.UpdateOptions) (result *v1.HelmRelease, err error)
- func (c *FakeHelmReleases) UpdateStatus(ctx context.Context, helmRelease *v1.HelmRelease, opts metav1.UpdateOptions) (*v1.HelmRelease, error)
- func (c *FakeHelmReleases) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeChartInfos ¶
type FakeChartInfos struct {
Fake *FakeClusterV1
}
FakeChartInfos implements ChartInfoInterface
func (*FakeChartInfos) Create ¶
func (c *FakeChartInfos) Create(ctx context.Context, chartInfo *v1.ChartInfo, opts metav1.CreateOptions) (result *v1.ChartInfo, err error)
Create takes the representation of a chartInfo and creates it. Returns the server's representation of the chartInfo, and an error, if there is any.
func (*FakeChartInfos) Delete ¶
func (c *FakeChartInfos) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the chartInfo and deletes it. Returns an error if one occurs.
func (*FakeChartInfos) DeleteCollection ¶
func (c *FakeChartInfos) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeChartInfos) Get ¶
func (c *FakeChartInfos) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ChartInfo, err error)
Get takes name of the chartInfo, and returns the corresponding chartInfo object, and an error if there is any.
func (*FakeChartInfos) List ¶
func (c *FakeChartInfos) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ChartInfoList, err error)
List takes label and field selectors, and returns the list of ChartInfos that match those selectors.
func (*FakeChartInfos) Patch ¶
func (c *FakeChartInfos) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ChartInfo, err error)
Patch applies the patch and returns the patched chartInfo.
func (*FakeChartInfos) Update ¶
func (c *FakeChartInfos) Update(ctx context.Context, chartInfo *v1.ChartInfo, opts metav1.UpdateOptions) (result *v1.ChartInfo, err error)
Update takes the representation of a chartInfo and updates it. Returns the server's representation of the chartInfo, and an error, if there is any.
func (*FakeChartInfos) UpdateStatus ¶
func (c *FakeChartInfos) UpdateStatus(ctx context.Context, chartInfo *v1.ChartInfo, opts metav1.UpdateOptions) (*v1.ChartInfo, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeChartInfos) Watch ¶
func (c *FakeChartInfos) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested chartInfos.
type FakeClusterV1 ¶
func (*FakeClusterV1) ChartInfos ¶
func (c *FakeClusterV1) ChartInfos() v1.ChartInfoInterface
func (*FakeClusterV1) Features ¶
func (c *FakeClusterV1) Features() v1.FeatureInterface
func (*FakeClusterV1) HelmReleases ¶
func (c *FakeClusterV1) HelmReleases(namespace string) v1.HelmReleaseInterface
func (*FakeClusterV1) RESTClient ¶
func (c *FakeClusterV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeFeatures ¶
type FakeFeatures struct {
Fake *FakeClusterV1
}
FakeFeatures implements FeatureInterface
func (*FakeFeatures) Create ¶
func (c *FakeFeatures) Create(ctx context.Context, feature *v1.Feature, opts metav1.CreateOptions) (result *v1.Feature, err error)
Create takes the representation of a feature and creates it. Returns the server's representation of the feature, and an error, if there is any.
func (*FakeFeatures) Delete ¶
func (c *FakeFeatures) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the feature and deletes it. Returns an error if one occurs.
func (*FakeFeatures) DeleteCollection ¶
func (c *FakeFeatures) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFeatures) Get ¶
func (c *FakeFeatures) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Feature, err error)
Get takes name of the feature, and returns the corresponding feature object, and an error if there is any.
func (*FakeFeatures) List ¶
func (c *FakeFeatures) List(ctx context.Context, opts metav1.ListOptions) (result *v1.FeatureList, err error)
List takes label and field selectors, and returns the list of Features that match those selectors.
func (*FakeFeatures) Patch ¶
func (c *FakeFeatures) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Feature, err error)
Patch applies the patch and returns the patched feature.
func (*FakeFeatures) Update ¶
func (c *FakeFeatures) Update(ctx context.Context, feature *v1.Feature, opts metav1.UpdateOptions) (result *v1.Feature, err error)
Update takes the representation of a feature and updates it. Returns the server's representation of the feature, and an error, if there is any.
func (*FakeFeatures) UpdateStatus ¶
func (c *FakeFeatures) UpdateStatus(ctx context.Context, feature *v1.Feature, opts metav1.UpdateOptions) (*v1.Feature, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeFeatures) Watch ¶
func (c *FakeFeatures) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested features.
type FakeHelmReleases ¶
type FakeHelmReleases struct { Fake *FakeClusterV1 // contains filtered or unexported fields }
FakeHelmReleases implements HelmReleaseInterface
func (*FakeHelmReleases) Create ¶
func (c *FakeHelmReleases) Create(ctx context.Context, helmRelease *v1.HelmRelease, opts metav1.CreateOptions) (result *v1.HelmRelease, err error)
Create takes the representation of a helmRelease and creates it. Returns the server's representation of the helmRelease, and an error, if there is any.
func (*FakeHelmReleases) Delete ¶
func (c *FakeHelmReleases) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the helmRelease and deletes it. Returns an error if one occurs.
func (*FakeHelmReleases) DeleteCollection ¶
func (c *FakeHelmReleases) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeHelmReleases) Get ¶
func (c *FakeHelmReleases) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.HelmRelease, err error)
Get takes name of the helmRelease, and returns the corresponding helmRelease object, and an error if there is any.
func (*FakeHelmReleases) List ¶
func (c *FakeHelmReleases) List(ctx context.Context, opts metav1.ListOptions) (result *v1.HelmReleaseList, err error)
List takes label and field selectors, and returns the list of HelmReleases that match those selectors.
func (*FakeHelmReleases) Patch ¶
func (c *FakeHelmReleases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.HelmRelease, err error)
Patch applies the patch and returns the patched helmRelease.
func (*FakeHelmReleases) Update ¶
func (c *FakeHelmReleases) Update(ctx context.Context, helmRelease *v1.HelmRelease, opts metav1.UpdateOptions) (result *v1.HelmRelease, err error)
Update takes the representation of a helmRelease and updates it. Returns the server's representation of the helmRelease, and an error, if there is any.
func (*FakeHelmReleases) UpdateStatus ¶
func (c *FakeHelmReleases) UpdateStatus(ctx context.Context, helmRelease *v1.HelmRelease, opts metav1.UpdateOptions) (*v1.HelmRelease, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeHelmReleases) Watch ¶
func (c *FakeHelmReleases) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested helmReleases.