Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAppCatalogEntries
- func (c *FakeAppCatalogEntries) Create(ctx context.Context, appCatalogEntry *v1alpha1.AppCatalogEntry, ...) (result *v1alpha1.AppCatalogEntry, err error)
- func (c *FakeAppCatalogEntries) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAppCatalogEntries) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAppCatalogEntries) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AppCatalogEntry, err error)
- func (c *FakeAppCatalogEntries) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AppCatalogEntryList, err error)
- func (c *FakeAppCatalogEntries) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AppCatalogEntry, err error)
- func (c *FakeAppCatalogEntries) Update(ctx context.Context, appCatalogEntry *v1alpha1.AppCatalogEntry, ...) (result *v1alpha1.AppCatalogEntry, err error)
- func (c *FakeAppCatalogEntries) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAppCatalogs
- func (c *FakeAppCatalogs) Create(ctx context.Context, appCatalog *v1alpha1.AppCatalog, opts v1.CreateOptions) (result *v1alpha1.AppCatalog, err error)
- func (c *FakeAppCatalogs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAppCatalogs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAppCatalogs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AppCatalog, err error)
- func (c *FakeAppCatalogs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AppCatalogList, err error)
- func (c *FakeAppCatalogs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AppCatalog, err error)
- func (c *FakeAppCatalogs) Update(ctx context.Context, appCatalog *v1alpha1.AppCatalog, opts v1.UpdateOptions) (result *v1alpha1.AppCatalog, err error)
- func (c *FakeAppCatalogs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeApplicationV1alpha1
- func (c *FakeApplicationV1alpha1) AppCatalogEntries(namespace string) v1alpha1.AppCatalogEntryInterface
- 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(ctx context.Context, app *v1alpha1.App, opts v1.CreateOptions) (result *v1alpha1.App, err error)
- func (c *FakeApps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeApps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeApps) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.App, err error)
- func (c *FakeApps) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AppList, err error)
- func (c *FakeApps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.App, err error)
- func (c *FakeApps) Update(ctx context.Context, app *v1alpha1.App, opts v1.UpdateOptions) (result *v1alpha1.App, err error)
- func (c *FakeApps) UpdateStatus(ctx context.Context, app *v1alpha1.App, opts v1.UpdateOptions) (*v1alpha1.App, error)
- func (c *FakeApps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCharts
- func (c *FakeCharts) Create(ctx context.Context, chart *v1alpha1.Chart, opts v1.CreateOptions) (result *v1alpha1.Chart, err error)
- func (c *FakeCharts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCharts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCharts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Chart, err error)
- func (c *FakeCharts) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ChartList, err error)
- func (c *FakeCharts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Chart, err error)
- func (c *FakeCharts) Update(ctx context.Context, chart *v1alpha1.Chart, opts v1.UpdateOptions) (result *v1alpha1.Chart, err error)
- func (c *FakeCharts) UpdateStatus(ctx context.Context, chart *v1alpha1.Chart, opts v1.UpdateOptions) (*v1alpha1.Chart, error)
- func (c *FakeCharts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAppCatalogEntries ¶ added in v2.6.0
type FakeAppCatalogEntries struct { Fake *FakeApplicationV1alpha1 // contains filtered or unexported fields }
FakeAppCatalogEntries implements AppCatalogEntryInterface
func (*FakeAppCatalogEntries) Create ¶ added in v2.6.0
func (c *FakeAppCatalogEntries) Create(ctx context.Context, appCatalogEntry *v1alpha1.AppCatalogEntry, opts v1.CreateOptions) (result *v1alpha1.AppCatalogEntry, err error)
Create takes the representation of a appCatalogEntry and creates it. Returns the server's representation of the appCatalogEntry, and an error, if there is any.
func (*FakeAppCatalogEntries) Delete ¶ added in v2.6.0
func (c *FakeAppCatalogEntries) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the appCatalogEntry and deletes it. Returns an error if one occurs.
func (*FakeAppCatalogEntries) DeleteCollection ¶ added in v2.6.0
func (c *FakeAppCatalogEntries) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAppCatalogEntries) Get ¶ added in v2.6.0
func (c *FakeAppCatalogEntries) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AppCatalogEntry, err error)
Get takes name of the appCatalogEntry, and returns the corresponding appCatalogEntry object, and an error if there is any.
func (*FakeAppCatalogEntries) List ¶ added in v2.6.0
func (c *FakeAppCatalogEntries) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AppCatalogEntryList, err error)
List takes label and field selectors, and returns the list of AppCatalogEntries that match those selectors.
func (*FakeAppCatalogEntries) Patch ¶ added in v2.6.0
func (c *FakeAppCatalogEntries) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AppCatalogEntry, err error)
Patch applies the patch and returns the patched appCatalogEntry.
func (*FakeAppCatalogEntries) Update ¶ added in v2.6.0
func (c *FakeAppCatalogEntries) Update(ctx context.Context, appCatalogEntry *v1alpha1.AppCatalogEntry, opts v1.UpdateOptions) (result *v1alpha1.AppCatalogEntry, err error)
Update takes the representation of a appCatalogEntry and updates it. Returns the server's representation of the appCatalogEntry, and an error, if there is any.
func (*FakeAppCatalogEntries) Watch ¶ added in v2.6.0
func (c *FakeAppCatalogEntries) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested appCatalogEntries.
type FakeAppCatalogs ¶
type FakeAppCatalogs struct {
Fake *FakeApplicationV1alpha1
}
FakeAppCatalogs implements AppCatalogInterface
func (*FakeAppCatalogs) Create ¶
func (c *FakeAppCatalogs) Create(ctx context.Context, appCatalog *v1alpha1.AppCatalog, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAppCatalogs) Get ¶
func (c *FakeAppCatalogs) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AppCatalog, err error)
Patch applies the patch and returns the patched appCatalog.
func (*FakeAppCatalogs) Update ¶
func (c *FakeAppCatalogs) Update(ctx context.Context, appCatalog *v1alpha1.AppCatalog, opts v1.UpdateOptions) (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(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested appCatalogs.
type FakeApplicationV1alpha1 ¶
func (*FakeApplicationV1alpha1) AppCatalogEntries ¶ added in v2.6.0
func (c *FakeApplicationV1alpha1) AppCatalogEntries(namespace string) v1alpha1.AppCatalogEntryInterface
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(ctx context.Context, app *v1alpha1.App, opts v1.CreateOptions) (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 ¶
Delete takes name of the app and deletes it. Returns an error if one occurs.
func (*FakeApps) DeleteCollection ¶
func (c *FakeApps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApps) Get ¶
func (c *FakeApps) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.App, err error)
Patch applies the patch and returns the patched app.
func (*FakeApps) Update ¶
func (c *FakeApps) Update(ctx context.Context, app *v1alpha1.App, opts v1.UpdateOptions) (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(ctx context.Context, app *v1alpha1.App, opts v1.UpdateOptions) (*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().
type FakeCharts ¶
type FakeCharts struct { Fake *FakeApplicationV1alpha1 // contains filtered or unexported fields }
FakeCharts implements ChartInterface
func (*FakeCharts) Create ¶
func (c *FakeCharts) Create(ctx context.Context, chart *v1alpha1.Chart, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCharts) Get ¶
func (c *FakeCharts) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Chart, err error)
Patch applies the patch and returns the patched chart.
func (*FakeCharts) Update ¶
func (c *FakeCharts) Update(ctx context.Context, chart *v1alpha1.Chart, opts v1.UpdateOptions) (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(ctx context.Context, chart *v1alpha1.Chart, opts v1.UpdateOptions) (*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(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested charts.