fake

package
v0.0.0-...-d84f936 Latest Latest
Warning

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

Go to latest
Published: May 13, 2021 License: Apache-2.0 Imports: 9 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 FakeAppV1beta1

type FakeAppV1beta1 struct {
	*testing.Fake
}

func (*FakeAppV1beta1) ChartRepos

func (c *FakeAppV1beta1) ChartRepos(namespace string) v1beta1.ChartRepoInterface

func (*FakeAppV1beta1) Charts

func (c *FakeAppV1beta1) Charts(namespace string) v1beta1.ChartInterface

func (*FakeAppV1beta1) HelmRequests

func (c *FakeAppV1beta1) HelmRequests(namespace string) v1beta1.HelmRequestInterface

func (*FakeAppV1beta1) RESTClient

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

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

func (*FakeAppV1beta1) Releases

func (c *FakeAppV1beta1) Releases(namespace string) v1beta1.ReleaseInterface

type FakeChartRepos

type FakeChartRepos struct {
	Fake *FakeAppV1beta1
	// contains filtered or unexported fields
}

FakeChartRepos implements ChartRepoInterface

func (*FakeChartRepos) Create

func (c *FakeChartRepos) Create(chartRepo *v1beta1.ChartRepo) (result *v1beta1.ChartRepo, err error)

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

func (*FakeChartRepos) Delete

func (c *FakeChartRepos) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeChartRepos) DeleteCollection

func (c *FakeChartRepos) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeChartRepos) Get

func (c *FakeChartRepos) Get(name string, options v1.GetOptions) (result *v1beta1.ChartRepo, err error)

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

func (*FakeChartRepos) List

func (c *FakeChartRepos) List(opts v1.ListOptions) (result *v1beta1.ChartRepoList, err error)

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

func (*FakeChartRepos) Patch

func (c *FakeChartRepos) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.ChartRepo, err error)

Patch applies the patch and returns the patched chartRepo.

func (*FakeChartRepos) Update

func (c *FakeChartRepos) Update(chartRepo *v1beta1.ChartRepo) (result *v1beta1.ChartRepo, err error)

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

func (*FakeChartRepos) UpdateStatus

func (c *FakeChartRepos) UpdateStatus(chartRepo *v1beta1.ChartRepo) (*v1beta1.ChartRepo, error)

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

func (*FakeChartRepos) Watch

func (c *FakeChartRepos) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeCharts

type FakeCharts struct {
	Fake *FakeAppV1beta1
	// contains filtered or unexported fields
}

FakeCharts implements ChartInterface

func (*FakeCharts) Create

func (c *FakeCharts) Create(chart *v1beta1.Chart) (result *v1beta1.Chart, err error)

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

func (*FakeCharts) Delete

func (c *FakeCharts) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeCharts) DeleteCollection

func (c *FakeCharts) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCharts) Get

func (c *FakeCharts) Get(name string, options v1.GetOptions) (result *v1beta1.Chart, err error)

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

func (*FakeCharts) List

func (c *FakeCharts) List(opts v1.ListOptions) (result *v1beta1.ChartList, err error)

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

func (*FakeCharts) Patch

func (c *FakeCharts) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Chart, err error)

Patch applies the patch and returns the patched chart.

func (*FakeCharts) Update

func (c *FakeCharts) Update(chart *v1beta1.Chart) (result *v1beta1.Chart, err error)

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

func (*FakeCharts) Watch

func (c *FakeCharts) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeHelmRequests

type FakeHelmRequests struct {
	Fake *FakeAppV1beta1
	// contains filtered or unexported fields
}

FakeHelmRequests implements HelmRequestInterface

func (*FakeHelmRequests) Create

func (c *FakeHelmRequests) Create(helmRequest *v1beta1.HelmRequest) (result *v1beta1.HelmRequest, err error)

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

func (*FakeHelmRequests) Delete

func (c *FakeHelmRequests) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeHelmRequests) DeleteCollection

func (c *FakeHelmRequests) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeHelmRequests) Get

func (c *FakeHelmRequests) Get(name string, options v1.GetOptions) (result *v1beta1.HelmRequest, err error)

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

func (*FakeHelmRequests) List

func (c *FakeHelmRequests) List(opts v1.ListOptions) (result *v1beta1.HelmRequestList, err error)

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

func (*FakeHelmRequests) Patch

func (c *FakeHelmRequests) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.HelmRequest, err error)

Patch applies the patch and returns the patched helmRequest.

func (*FakeHelmRequests) Update

func (c *FakeHelmRequests) Update(helmRequest *v1beta1.HelmRequest) (result *v1beta1.HelmRequest, err error)

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

func (*FakeHelmRequests) UpdateStatus

func (c *FakeHelmRequests) UpdateStatus(helmRequest *v1beta1.HelmRequest) (*v1beta1.HelmRequest, error)

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

func (*FakeHelmRequests) Watch

func (c *FakeHelmRequests) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeReleases

type FakeReleases struct {
	Fake *FakeAppV1beta1
	// contains filtered or unexported fields
}

FakeReleases implements ReleaseInterface

func (*FakeReleases) Create

func (c *FakeReleases) Create(release *v1beta1.Release) (result *v1beta1.Release, err error)

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

func (*FakeReleases) Delete

func (c *FakeReleases) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeReleases) DeleteCollection

func (c *FakeReleases) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeReleases) Get

func (c *FakeReleases) Get(name string, options v1.GetOptions) (result *v1beta1.Release, err error)

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

func (*FakeReleases) List

func (c *FakeReleases) List(opts v1.ListOptions) (result *v1beta1.ReleaseList, err error)

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

func (*FakeReleases) Patch

func (c *FakeReleases) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Release, err error)

Patch applies the patch and returns the patched release.

func (*FakeReleases) Update

func (c *FakeReleases) Update(release *v1beta1.Release) (result *v1beta1.Release, err error)

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

func (*FakeReleases) UpdateStatus

func (c *FakeReleases) UpdateStatus(release *v1beta1.Release) (*v1beta1.Release, error)

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

func (*FakeReleases) Watch

func (c *FakeReleases) Watch(opts v1.ListOptions) (watch.Interface, error)

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

Jump to

Keyboard shortcuts

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