fake

package
v0.0.0-...-d24fd3e Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: Apache-2.0 Imports: 13 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 FakeHelmChartRepositories

type FakeHelmChartRepositories struct {
	Fake *FakeHelmV1beta1
}

FakeHelmChartRepositories implements HelmChartRepositoryInterface

func (*FakeHelmChartRepositories) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied helmChartRepository.

func (*FakeHelmChartRepositories) ApplyStatus

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

func (*FakeHelmChartRepositories) Create

func (c *FakeHelmChartRepositories) Create(ctx context.Context, helmChartRepository *v1beta1.HelmChartRepository, opts v1.CreateOptions) (result *v1beta1.HelmChartRepository, err error)

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

func (*FakeHelmChartRepositories) Delete

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

func (*FakeHelmChartRepositories) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeHelmChartRepositories) Get

func (c *FakeHelmChartRepositories) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.HelmChartRepository, err error)

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

func (*FakeHelmChartRepositories) List

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

func (*FakeHelmChartRepositories) Patch

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

Patch applies the patch and returns the patched helmChartRepository.

func (*FakeHelmChartRepositories) Update

func (c *FakeHelmChartRepositories) Update(ctx context.Context, helmChartRepository *v1beta1.HelmChartRepository, opts v1.UpdateOptions) (result *v1beta1.HelmChartRepository, err error)

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

func (*FakeHelmChartRepositories) UpdateStatus

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

func (*FakeHelmChartRepositories) Watch

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

type FakeHelmV1beta1

type FakeHelmV1beta1 struct {
	*testing.Fake
}

func (*FakeHelmV1beta1) HelmChartRepositories

func (c *FakeHelmV1beta1) HelmChartRepositories() v1beta1.HelmChartRepositoryInterface

func (*FakeHelmV1beta1) ProjectHelmChartRepositories

func (c *FakeHelmV1beta1) ProjectHelmChartRepositories(namespace string) v1beta1.ProjectHelmChartRepositoryInterface

func (*FakeHelmV1beta1) RESTClient

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

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

type FakeProjectHelmChartRepositories

type FakeProjectHelmChartRepositories struct {
	Fake *FakeHelmV1beta1
	// contains filtered or unexported fields
}

FakeProjectHelmChartRepositories implements ProjectHelmChartRepositoryInterface

func (*FakeProjectHelmChartRepositories) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied projectHelmChartRepository.

func (*FakeProjectHelmChartRepositories) ApplyStatus

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

func (*FakeProjectHelmChartRepositories) Create

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

func (*FakeProjectHelmChartRepositories) Delete

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

func (*FakeProjectHelmChartRepositories) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeProjectHelmChartRepositories) Get

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

func (*FakeProjectHelmChartRepositories) List

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

func (*FakeProjectHelmChartRepositories) Patch

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

Patch applies the patch and returns the patched projectHelmChartRepository.

func (*FakeProjectHelmChartRepositories) Update

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

func (*FakeProjectHelmChartRepositories) UpdateStatus

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

func (*FakeProjectHelmChartRepositories) Watch

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

Jump to

Keyboard shortcuts

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