Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- 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)
- type FakeVirtualclusterV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeHelmReleases ¶
type FakeHelmReleases struct { Fake *FakeVirtualclusterV1 // 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.
type FakeVirtualclusterV1 ¶
func (*FakeVirtualclusterV1) HelmReleases ¶
func (c *FakeVirtualclusterV1) HelmReleases(namespace string) v1.HelmReleaseInterface
func (*FakeVirtualclusterV1) RESTClient ¶
func (c *FakeVirtualclusterV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.