Back to godoc.org
github.com/giantswarm/apiextensions/pkg/clientset/versioned/typed/application/v1alpha1/fake

package fake

v0.4.6
Latest Go to latest
Published: 2 days ago | License: Apache-2.0 | Module: github.com/giantswarm/apiextensions

Overview

Package fake has the automatically generated clients.

Index

type FakeAppCatalogs

type FakeAppCatalogs struct {
	Fake *FakeApplicationV1alpha1
}

FakeAppCatalogs implements AppCatalogInterface

func (*FakeAppCatalogs) Create

func (c *FakeAppCatalogs) Create(appCatalog *v1alpha1.AppCatalog) (result *v1alpha1.AppCatalog, err error)

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

func (*FakeAppCatalogs) Delete

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

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

func (*FakeAppCatalogs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAppCatalogs) Get

func (c *FakeAppCatalogs) Get(name string, options v1.GetOptions) (result *v1alpha1.AppCatalog, err error)

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

func (*FakeAppCatalogs) List

func (c *FakeAppCatalogs) List(opts v1.ListOptions) (result *v1alpha1.AppCatalogList, err error)

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

func (*FakeAppCatalogs) Patch

func (c *FakeAppCatalogs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AppCatalog, err error)

Patch applies the patch and returns the patched appCatalog.

func (*FakeAppCatalogs) Update

func (c *FakeAppCatalogs) Update(appCatalog *v1alpha1.AppCatalog) (result *v1alpha1.AppCatalog, err error)

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

func (*FakeAppCatalogs) Watch

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

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

type FakeApplicationV1alpha1

type FakeApplicationV1alpha1 struct {
	*testing.Fake
}

func (*FakeApplicationV1alpha1) AppCatalogs

func (c *FakeApplicationV1alpha1) AppCatalogs() v1alpha1.AppCatalogInterface

func (*FakeApplicationV1alpha1) Apps

func (c *FakeApplicationV1alpha1) Apps(namespace string) v1alpha1.AppInterface

func (*FakeApplicationV1alpha1) Charts

func (c *FakeApplicationV1alpha1) Charts(namespace string) v1alpha1.ChartInterface

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 FakeApps

type FakeApps struct {
	Fake *FakeApplicationV1alpha1
	// contains filtered or unexported fields
}

FakeApps implements AppInterface

func (*FakeApps) Create

func (c *FakeApps) Create(app *v1alpha1.App) (result *v1alpha1.App, err error)

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

func (*FakeApps) Delete

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

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

func (*FakeApps) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeApps) Get

func (c *FakeApps) Get(name string, options v1.GetOptions) (result *v1alpha1.App, err error)

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

func (*FakeApps) List

func (c *FakeApps) List(opts v1.ListOptions) (result *v1alpha1.AppList, err error)

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

func (*FakeApps) Patch

func (c *FakeApps) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.App, err error)

Patch applies the patch and returns the patched app.

func (*FakeApps) Update

func (c *FakeApps) Update(app *v1alpha1.App) (result *v1alpha1.App, err error)

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

func (*FakeApps) UpdateStatus

func (c *FakeApps) UpdateStatus(app *v1alpha1.App) (*v1alpha1.App, error)

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

func (*FakeApps) Watch

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

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

type FakeCharts

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

FakeCharts implements ChartInterface

func (*FakeCharts) Create

func (c *FakeCharts) Create(chart *v1alpha1.Chart) (result *v1alpha1.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 *v1alpha1.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 *v1alpha1.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 *v1alpha1.Chart, err error)

Patch applies the patch and returns the patched chart.

func (*FakeCharts) Update

func (c *FakeCharts) Update(chart *v1alpha1.Chart) (result *v1alpha1.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) UpdateStatus

func (c *FakeCharts) UpdateStatus(chart *v1alpha1.Chart) (*v1alpha1.Chart, error)

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

func (*FakeCharts) Watch

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

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

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier