fake

package
v0.0.0-...-e779149 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeApplicationV1alpha1

type FakeApplicationV1alpha1 struct {
	*testing.Fake
}

func (*FakeApplicationV1alpha1) HelmApplicationVersions

func (*FakeApplicationV1alpha1) HelmApplications

func (*FakeApplicationV1alpha1) HelmCategories

func (*FakeApplicationV1alpha1) HelmReleases

func (*FakeApplicationV1alpha1) HelmRepos

func (*FakeApplicationV1alpha1) RESTClient

func (c *FakeApplicationV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

type FakeHelmApplicationVersions

type FakeHelmApplicationVersions struct {
	Fake *FakeApplicationV1alpha1
}

FakeHelmApplicationVersions implements HelmApplicationVersionInterface

func (*FakeHelmApplicationVersions) Create

Create takes the representation of a helmApplicationVersion and creates it. Returns the server's representation of the helmApplicationVersion, and an error, if there is any.

func (*FakeHelmApplicationVersions) Delete

Delete takes name of the helmApplicationVersion and deletes it. Returns an error if one occurs.

func (*FakeHelmApplicationVersions) DeleteCollection

func (c *FakeHelmApplicationVersions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeHelmApplicationVersions) Get

Get takes name of the helmApplicationVersion, and returns the corresponding helmApplicationVersion object, and an error if there is any.

func (*FakeHelmApplicationVersions) List

List takes label and field selectors, and returns the list of HelmApplicationVersions that match those selectors.

func (*FakeHelmApplicationVersions) Patch

func (c *FakeHelmApplicationVersions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.HelmApplicationVersion, err error)

Patch applies the patch and returns the patched helmApplicationVersion.

func (*FakeHelmApplicationVersions) Update

Update takes the representation of a helmApplicationVersion and updates it. Returns the server's representation of the helmApplicationVersion, and an error, if there is any.

func (*FakeHelmApplicationVersions) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeHelmApplicationVersions) Watch

Watch returns a watch.Interface that watches the requested helmApplicationVersions.

type FakeHelmApplications

type FakeHelmApplications struct {
	Fake *FakeApplicationV1alpha1
}

FakeHelmApplications implements HelmApplicationInterface

func (*FakeHelmApplications) Create

func (c *FakeHelmApplications) Create(ctx context.Context, helmApplication *v1alpha1.HelmApplication, opts v1.CreateOptions) (result *v1alpha1.HelmApplication, err error)

Create takes the representation of a helmApplication and creates it. Returns the server's representation of the helmApplication, and an error, if there is any.

func (*FakeHelmApplications) Delete

func (c *FakeHelmApplications) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the helmApplication and deletes it. Returns an error if one occurs.

func (*FakeHelmApplications) DeleteCollection

func (c *FakeHelmApplications) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeHelmApplications) Get

func (c *FakeHelmApplications) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.HelmApplication, err error)

Get takes name of the helmApplication, and returns the corresponding helmApplication object, and an error if there is any.

func (*FakeHelmApplications) List

List takes label and field selectors, and returns the list of HelmApplications that match those selectors.

func (*FakeHelmApplications) Patch

func (c *FakeHelmApplications) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.HelmApplication, err error)

Patch applies the patch and returns the patched helmApplication.

func (*FakeHelmApplications) Update

func (c *FakeHelmApplications) Update(ctx context.Context, helmApplication *v1alpha1.HelmApplication, opts v1.UpdateOptions) (result *v1alpha1.HelmApplication, err error)

Update takes the representation of a helmApplication and updates it. Returns the server's representation of the helmApplication, and an error, if there is any.

func (*FakeHelmApplications) UpdateStatus

func (c *FakeHelmApplications) UpdateStatus(ctx context.Context, helmApplication *v1alpha1.HelmApplication, opts v1.UpdateOptions) (*v1alpha1.HelmApplication, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeHelmApplications) Watch

Watch returns a watch.Interface that watches the requested helmApplications.

type FakeHelmCategories

type FakeHelmCategories struct {
	Fake *FakeApplicationV1alpha1
}

FakeHelmCategories implements HelmCategoryInterface

func (*FakeHelmCategories) Create

func (c *FakeHelmCategories) Create(ctx context.Context, helmCategory *v1alpha1.HelmCategory, opts v1.CreateOptions) (result *v1alpha1.HelmCategory, err error)

Create takes the representation of a helmCategory and creates it. Returns the server's representation of the helmCategory, and an error, if there is any.

func (*FakeHelmCategories) Delete

func (c *FakeHelmCategories) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the helmCategory and deletes it. Returns an error if one occurs.

func (*FakeHelmCategories) DeleteCollection

func (c *FakeHelmCategories) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeHelmCategories) Get

func (c *FakeHelmCategories) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.HelmCategory, err error)

Get takes name of the helmCategory, and returns the corresponding helmCategory object, and an error if there is any.

func (*FakeHelmCategories) List

func (c *FakeHelmCategories) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.HelmCategoryList, err error)

List takes label and field selectors, and returns the list of HelmCategories that match those selectors.

func (*FakeHelmCategories) Patch

func (c *FakeHelmCategories) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.HelmCategory, err error)

Patch applies the patch and returns the patched helmCategory.

func (*FakeHelmCategories) Update

func (c *FakeHelmCategories) Update(ctx context.Context, helmCategory *v1alpha1.HelmCategory, opts v1.UpdateOptions) (result *v1alpha1.HelmCategory, err error)

Update takes the representation of a helmCategory and updates it. Returns the server's representation of the helmCategory, and an error, if there is any.

func (*FakeHelmCategories) UpdateStatus

func (c *FakeHelmCategories) UpdateStatus(ctx context.Context, helmCategory *v1alpha1.HelmCategory, opts v1.UpdateOptions) (*v1alpha1.HelmCategory, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeHelmCategories) Watch

Watch returns a watch.Interface that watches the requested helmCategories.

type FakeHelmReleases

type FakeHelmReleases struct {
	Fake *FakeApplicationV1alpha1
}

FakeHelmReleases implements HelmReleaseInterface

func (*FakeHelmReleases) Create

func (c *FakeHelmReleases) Create(ctx context.Context, helmRelease *v1alpha1.HelmRelease, opts v1.CreateOptions) (result *v1alpha1.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 v1.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 v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeHelmReleases) Get

func (c *FakeHelmReleases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.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 v1.ListOptions) (result *v1alpha1.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 v1.PatchOptions, subresources ...string) (result *v1alpha1.HelmRelease, err error)

Patch applies the patch and returns the patched helmRelease.

func (*FakeHelmReleases) Update

func (c *FakeHelmReleases) Update(ctx context.Context, helmRelease *v1alpha1.HelmRelease, opts v1.UpdateOptions) (result *v1alpha1.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 *v1alpha1.HelmRelease, opts v1.UpdateOptions) (*v1alpha1.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

Watch returns a watch.Interface that watches the requested helmReleases.

type FakeHelmRepos

type FakeHelmRepos struct {
	Fake *FakeApplicationV1alpha1
}

FakeHelmRepos implements HelmRepoInterface

func (*FakeHelmRepos) Create

func (c *FakeHelmRepos) Create(ctx context.Context, helmRepo *v1alpha1.HelmRepo, opts v1.CreateOptions) (result *v1alpha1.HelmRepo, err error)

Create takes the representation of a helmRepo and creates it. Returns the server's representation of the helmRepo, and an error, if there is any.

func (*FakeHelmRepos) Delete

func (c *FakeHelmRepos) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the helmRepo and deletes it. Returns an error if one occurs.

func (*FakeHelmRepos) DeleteCollection

func (c *FakeHelmRepos) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeHelmRepos) Get

func (c *FakeHelmRepos) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.HelmRepo, err error)

Get takes name of the helmRepo, and returns the corresponding helmRepo object, and an error if there is any.

func (*FakeHelmRepos) List

func (c *FakeHelmRepos) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.HelmRepoList, err error)

List takes label and field selectors, and returns the list of HelmRepos that match those selectors.

func (*FakeHelmRepos) Patch

func (c *FakeHelmRepos) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.HelmRepo, err error)

Patch applies the patch and returns the patched helmRepo.

func (*FakeHelmRepos) Update

func (c *FakeHelmRepos) Update(ctx context.Context, helmRepo *v1alpha1.HelmRepo, opts v1.UpdateOptions) (result *v1alpha1.HelmRepo, err error)

Update takes the representation of a helmRepo and updates it. Returns the server's representation of the helmRepo, and an error, if there is any.

func (*FakeHelmRepos) UpdateStatus

func (c *FakeHelmRepos) UpdateStatus(ctx context.Context, helmRepo *v1alpha1.HelmRepo, opts v1.UpdateOptions) (*v1alpha1.HelmRepo, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeHelmRepos) Watch

Watch returns a watch.Interface that watches the requested helmRepos.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL