Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAppCatalogs
- func (c *FakeAppCatalogs) Create(appCatalog *v1alpha1.AppCatalog) (result *v1alpha1.AppCatalog, err error)
- func (c *FakeAppCatalogs) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAppCatalogs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAppCatalogs) Get(name string, options v1.GetOptions) (result *v1alpha1.AppCatalog, err error)
- func (c *FakeAppCatalogs) List(opts v1.ListOptions) (result *v1alpha1.AppCatalogList, err error)
- func (c *FakeAppCatalogs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.AppCatalog, err error)
- func (c *FakeAppCatalogs) Update(appCatalog *v1alpha1.AppCatalog) (result *v1alpha1.AppCatalog, err error)
- func (c *FakeAppCatalogs) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeApplicationV1alpha1
- func (c *FakeApplicationV1alpha1) AppCatalogs() v1alpha1.AppCatalogInterface
- func (c *FakeApplicationV1alpha1) Apps(namespace string) v1alpha1.AppInterface
- func (c *FakeApplicationV1alpha1) Charts(namespace string) v1alpha1.ChartInterface
- func (c *FakeApplicationV1alpha1) RESTClient() rest.Interface
- type FakeApps
- func (c *FakeApps) Create(app *v1alpha1.App) (result *v1alpha1.App, err error)
- func (c *FakeApps) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeApps) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeApps) Get(name string, options v1.GetOptions) (result *v1alpha1.App, err error)
- func (c *FakeApps) List(opts v1.ListOptions) (result *v1alpha1.AppList, err error)
- func (c *FakeApps) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.App, err error)
- func (c *FakeApps) Update(app *v1alpha1.App) (result *v1alpha1.App, err error)
- func (c *FakeApps) UpdateStatus(app *v1alpha1.App) (*v1alpha1.App, error)
- func (c *FakeApps) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCharts
- func (c *FakeCharts) Create(chart *v1alpha1.Chart) (result *v1alpha1.Chart, err error)
- func (c *FakeCharts) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCharts) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCharts) Get(name string, options v1.GetOptions) (result *v1alpha1.Chart, err error)
- func (c *FakeCharts) List(opts v1.ListOptions) (result *v1alpha1.ChartList, err error)
- func (c *FakeCharts) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Chart, err error)
- func (c *FakeCharts) Update(chart *v1alpha1.Chart) (result *v1alpha1.Chart, err error)
- func (c *FakeCharts) UpdateStatus(chart *v1alpha1.Chart) (*v1alpha1.Chart, error)
- func (c *FakeCharts) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 ¶
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 ¶
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 ¶
Get takes name of the app, and returns the corresponding app object, and an error if there is any.
func (*FakeApps) List ¶
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 ¶
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 ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeCharts ¶
type FakeCharts struct { Fake *FakeApplicationV1alpha1 // contains filtered or unexported fields }
FakeCharts implements ChartInterface
func (*FakeCharts) Create ¶
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 ¶
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 ¶
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.