Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAirgaps
- func (c *FakeAirgaps) Create(airgap *v1beta1.Airgap) (result *v1beta1.Airgap, err error)
- func (c *FakeAirgaps) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAirgaps) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAirgaps) Get(name string, options v1.GetOptions) (result *v1beta1.Airgap, err error)
- func (c *FakeAirgaps) List(opts v1.ListOptions) (result *v1beta1.AirgapList, err error)
- func (c *FakeAirgaps) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Airgap, err error)
- func (c *FakeAirgaps) Update(airgap *v1beta1.Airgap) (result *v1beta1.Airgap, err error)
- func (c *FakeAirgaps) UpdateStatus(airgap *v1beta1.Airgap) (*v1beta1.Airgap, error)
- func (c *FakeAirgaps) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeApplications
- func (c *FakeApplications) Create(application *v1beta1.Application) (result *v1beta1.Application, err error)
- func (c *FakeApplications) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeApplications) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeApplications) Get(name string, options v1.GetOptions) (result *v1beta1.Application, err error)
- func (c *FakeApplications) List(opts v1.ListOptions) (result *v1beta1.ApplicationList, err error)
- func (c *FakeApplications) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Application, err error)
- func (c *FakeApplications) Update(application *v1beta1.Application) (result *v1beta1.Application, err error)
- func (c *FakeApplications) UpdateStatus(application *v1beta1.Application) (*v1beta1.Application, error)
- func (c *FakeApplications) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeApps
- func (c *FakeApps) Create(app *v1beta1.App) (result *v1beta1.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 *v1beta1.App, err error)
- func (c *FakeApps) List(opts v1.ListOptions) (result *v1beta1.AppList, err error)
- func (c *FakeApps) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.App, err error)
- func (c *FakeApps) Update(app *v1beta1.App) (result *v1beta1.App, err error)
- func (c *FakeApps) UpdateStatus(app *v1beta1.App) (*v1beta1.App, error)
- func (c *FakeApps) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeConfigValueses
- func (c *FakeConfigValueses) Create(configValues *v1beta1.ConfigValues) (result *v1beta1.ConfigValues, err error)
- func (c *FakeConfigValueses) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeConfigValueses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeConfigValueses) Get(name string, options v1.GetOptions) (result *v1beta1.ConfigValues, err error)
- func (c *FakeConfigValueses) List(opts v1.ListOptions) (result *v1beta1.ConfigValuesList, err error)
- func (c *FakeConfigValueses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.ConfigValues, err error)
- func (c *FakeConfigValueses) Update(configValues *v1beta1.ConfigValues) (result *v1beta1.ConfigValues, err error)
- func (c *FakeConfigValueses) UpdateStatus(configValues *v1beta1.ConfigValues) (*v1beta1.ConfigValues, error)
- func (c *FakeConfigValueses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeConfigs
- func (c *FakeConfigs) Create(config *v1beta1.Config) (result *v1beta1.Config, err error)
- func (c *FakeConfigs) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeConfigs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeConfigs) Get(name string, options v1.GetOptions) (result *v1beta1.Config, err error)
- func (c *FakeConfigs) List(opts v1.ListOptions) (result *v1beta1.ConfigList, err error)
- func (c *FakeConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Config, err error)
- func (c *FakeConfigs) Update(config *v1beta1.Config) (result *v1beta1.Config, err error)
- func (c *FakeConfigs) UpdateStatus(config *v1beta1.Config) (*v1beta1.Config, error)
- func (c *FakeConfigs) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeHelmCharts
- func (c *FakeHelmCharts) Create(helmChart *v1beta1.HelmChart) (result *v1beta1.HelmChart, err error)
- func (c *FakeHelmCharts) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeHelmCharts) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeHelmCharts) Get(name string, options v1.GetOptions) (result *v1beta1.HelmChart, err error)
- func (c *FakeHelmCharts) List(opts v1.ListOptions) (result *v1beta1.HelmChartList, err error)
- func (c *FakeHelmCharts) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.HelmChart, err error)
- func (c *FakeHelmCharts) Update(helmChart *v1beta1.HelmChart) (result *v1beta1.HelmChart, err error)
- func (c *FakeHelmCharts) UpdateStatus(helmChart *v1beta1.HelmChart) (*v1beta1.HelmChart, error)
- func (c *FakeHelmCharts) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeInstallations
- func (c *FakeInstallations) Create(installation *v1beta1.Installation) (result *v1beta1.Installation, err error)
- func (c *FakeInstallations) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeInstallations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeInstallations) Get(name string, options v1.GetOptions) (result *v1beta1.Installation, err error)
- func (c *FakeInstallations) List(opts v1.ListOptions) (result *v1beta1.InstallationList, err error)
- func (c *FakeInstallations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Installation, err error)
- func (c *FakeInstallations) Update(installation *v1beta1.Installation) (result *v1beta1.Installation, err error)
- func (c *FakeInstallations) UpdateStatus(installation *v1beta1.Installation) (*v1beta1.Installation, error)
- func (c *FakeInstallations) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeKotsV1beta1
- func (c *FakeKotsV1beta1) Airgaps(namespace string) v1beta1.AirgapInterface
- func (c *FakeKotsV1beta1) Applications(namespace string) v1beta1.ApplicationInterface
- func (c *FakeKotsV1beta1) ConfigValueses(namespace string) v1beta1.ConfigValuesInterface
- func (c *FakeKotsV1beta1) Configs(namespace string) v1beta1.ConfigInterface
- func (c *FakeKotsV1beta1) HelmCharts(namespace string) v1beta1.HelmChartInterface
- func (c *FakeKotsV1beta1) Installations(namespace string) v1beta1.InstallationInterface
- func (c *FakeKotsV1beta1) Licenses(namespace string) v1beta1.LicenseInterface
- func (c *FakeKotsV1beta1) RESTClient() rest.Interface
- type FakeLicenses
- func (c *FakeLicenses) Create(license *v1beta1.License) (result *v1beta1.License, err error)
- func (c *FakeLicenses) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeLicenses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeLicenses) Get(name string, options v1.GetOptions) (result *v1beta1.License, err error)
- func (c *FakeLicenses) List(opts v1.ListOptions) (result *v1beta1.LicenseList, err error)
- func (c *FakeLicenses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.License, err error)
- func (c *FakeLicenses) Update(license *v1beta1.License) (result *v1beta1.License, err error)
- func (c *FakeLicenses) UpdateStatus(license *v1beta1.License) (*v1beta1.License, error)
- func (c *FakeLicenses) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAirgaps ¶
type FakeAirgaps struct { Fake *FakeKotsV1beta1 // contains filtered or unexported fields }
FakeAirgaps implements AirgapInterface
func (*FakeAirgaps) Create ¶
Create takes the representation of a airgap and creates it. Returns the server's representation of the airgap, and an error, if there is any.
func (*FakeAirgaps) Delete ¶
func (c *FakeAirgaps) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the airgap and deletes it. Returns an error if one occurs.
func (*FakeAirgaps) DeleteCollection ¶
func (c *FakeAirgaps) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAirgaps) Get ¶
func (c *FakeAirgaps) Get(name string, options v1.GetOptions) (result *v1beta1.Airgap, err error)
Get takes name of the airgap, and returns the corresponding airgap object, and an error if there is any.
func (*FakeAirgaps) List ¶
func (c *FakeAirgaps) List(opts v1.ListOptions) (result *v1beta1.AirgapList, err error)
List takes label and field selectors, and returns the list of Airgaps that match those selectors.
func (*FakeAirgaps) Patch ¶
func (c *FakeAirgaps) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Airgap, err error)
Patch applies the patch and returns the patched airgap.
func (*FakeAirgaps) Update ¶
Update takes the representation of a airgap and updates it. Returns the server's representation of the airgap, and an error, if there is any.
func (*FakeAirgaps) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAirgaps) Watch ¶
func (c *FakeAirgaps) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested airgaps.
type FakeApplications ¶
type FakeApplications struct { Fake *FakeKotsV1beta1 // contains filtered or unexported fields }
FakeApplications implements ApplicationInterface
func (*FakeApplications) Create ¶
func (c *FakeApplications) Create(application *v1beta1.Application) (result *v1beta1.Application, err error)
Create takes the representation of a application and creates it. Returns the server's representation of the application, and an error, if there is any.
func (*FakeApplications) Delete ¶
func (c *FakeApplications) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the application and deletes it. Returns an error if one occurs.
func (*FakeApplications) DeleteCollection ¶
func (c *FakeApplications) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApplications) Get ¶
func (c *FakeApplications) Get(name string, options v1.GetOptions) (result *v1beta1.Application, err error)
Get takes name of the application, and returns the corresponding application object, and an error if there is any.
func (*FakeApplications) List ¶
func (c *FakeApplications) List(opts v1.ListOptions) (result *v1beta1.ApplicationList, err error)
List takes label and field selectors, and returns the list of Applications that match those selectors.
func (*FakeApplications) Patch ¶
func (c *FakeApplications) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Application, err error)
Patch applies the patch and returns the patched application.
func (*FakeApplications) Update ¶
func (c *FakeApplications) Update(application *v1beta1.Application) (result *v1beta1.Application, err error)
Update takes the representation of a application and updates it. Returns the server's representation of the application, and an error, if there is any.
func (*FakeApplications) UpdateStatus ¶
func (c *FakeApplications) UpdateStatus(application *v1beta1.Application) (*v1beta1.Application, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeApplications) Watch ¶
func (c *FakeApplications) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested applications.
type FakeApps ¶
type FakeApps struct { Fake *FakeKotsV1beta1 // 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 *v1beta1.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 FakeConfigValueses ¶
type FakeConfigValueses struct { Fake *FakeKotsV1beta1 // contains filtered or unexported fields }
FakeConfigValueses implements ConfigValuesInterface
func (*FakeConfigValueses) Create ¶
func (c *FakeConfigValueses) Create(configValues *v1beta1.ConfigValues) (result *v1beta1.ConfigValues, err error)
Create takes the representation of a configValues and creates it. Returns the server's representation of the configValues, and an error, if there is any.
func (*FakeConfigValueses) Delete ¶
func (c *FakeConfigValueses) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the configValues and deletes it. Returns an error if one occurs.
func (*FakeConfigValueses) DeleteCollection ¶
func (c *FakeConfigValueses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConfigValueses) Get ¶
func (c *FakeConfigValueses) Get(name string, options v1.GetOptions) (result *v1beta1.ConfigValues, err error)
Get takes name of the configValues, and returns the corresponding configValues object, and an error if there is any.
func (*FakeConfigValueses) List ¶
func (c *FakeConfigValueses) List(opts v1.ListOptions) (result *v1beta1.ConfigValuesList, err error)
List takes label and field selectors, and returns the list of ConfigValueses that match those selectors.
func (*FakeConfigValueses) Patch ¶
func (c *FakeConfigValueses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.ConfigValues, err error)
Patch applies the patch and returns the patched configValues.
func (*FakeConfigValueses) Update ¶
func (c *FakeConfigValueses) Update(configValues *v1beta1.ConfigValues) (result *v1beta1.ConfigValues, err error)
Update takes the representation of a configValues and updates it. Returns the server's representation of the configValues, and an error, if there is any.
func (*FakeConfigValueses) UpdateStatus ¶
func (c *FakeConfigValueses) UpdateStatus(configValues *v1beta1.ConfigValues) (*v1beta1.ConfigValues, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeConfigValueses) Watch ¶
func (c *FakeConfigValueses) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configValueses.
type FakeConfigs ¶
type FakeConfigs struct { Fake *FakeKotsV1beta1 // contains filtered or unexported fields }
FakeConfigs implements ConfigInterface
func (*FakeConfigs) Create ¶
Create takes the representation of a config and creates it. Returns the server's representation of the config, and an error, if there is any.
func (*FakeConfigs) Delete ¶
func (c *FakeConfigs) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the config and deletes it. Returns an error if one occurs.
func (*FakeConfigs) DeleteCollection ¶
func (c *FakeConfigs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConfigs) Get ¶
func (c *FakeConfigs) Get(name string, options v1.GetOptions) (result *v1beta1.Config, err error)
Get takes name of the config, and returns the corresponding config object, and an error if there is any.
func (*FakeConfigs) List ¶
func (c *FakeConfigs) List(opts v1.ListOptions) (result *v1beta1.ConfigList, err error)
List takes label and field selectors, and returns the list of Configs that match those selectors.
func (*FakeConfigs) Patch ¶
func (c *FakeConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Config, err error)
Patch applies the patch and returns the patched config.
func (*FakeConfigs) Update ¶
Update takes the representation of a config and updates it. Returns the server's representation of the config, and an error, if there is any.
func (*FakeConfigs) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeConfigs) Watch ¶
func (c *FakeConfigs) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configs.
type FakeHelmCharts ¶
type FakeHelmCharts struct { Fake *FakeKotsV1beta1 // contains filtered or unexported fields }
FakeHelmCharts implements HelmChartInterface
func (*FakeHelmCharts) Create ¶
func (c *FakeHelmCharts) Create(helmChart *v1beta1.HelmChart) (result *v1beta1.HelmChart, err error)
Create takes the representation of a helmChart and creates it. Returns the server's representation of the helmChart, and an error, if there is any.
func (*FakeHelmCharts) Delete ¶
func (c *FakeHelmCharts) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the helmChart and deletes it. Returns an error if one occurs.
func (*FakeHelmCharts) DeleteCollection ¶
func (c *FakeHelmCharts) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeHelmCharts) Get ¶
func (c *FakeHelmCharts) Get(name string, options v1.GetOptions) (result *v1beta1.HelmChart, err error)
Get takes name of the helmChart, and returns the corresponding helmChart object, and an error if there is any.
func (*FakeHelmCharts) List ¶
func (c *FakeHelmCharts) List(opts v1.ListOptions) (result *v1beta1.HelmChartList, err error)
List takes label and field selectors, and returns the list of HelmCharts that match those selectors.
func (*FakeHelmCharts) Patch ¶
func (c *FakeHelmCharts) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.HelmChart, err error)
Patch applies the patch and returns the patched helmChart.
func (*FakeHelmCharts) Update ¶
func (c *FakeHelmCharts) Update(helmChart *v1beta1.HelmChart) (result *v1beta1.HelmChart, err error)
Update takes the representation of a helmChart and updates it. Returns the server's representation of the helmChart, and an error, if there is any.
func (*FakeHelmCharts) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeHelmCharts) Watch ¶
func (c *FakeHelmCharts) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested helmCharts.
type FakeInstallations ¶
type FakeInstallations struct { Fake *FakeKotsV1beta1 // contains filtered or unexported fields }
FakeInstallations implements InstallationInterface
func (*FakeInstallations) Create ¶
func (c *FakeInstallations) Create(installation *v1beta1.Installation) (result *v1beta1.Installation, err error)
Create takes the representation of a installation and creates it. Returns the server's representation of the installation, and an error, if there is any.
func (*FakeInstallations) Delete ¶
func (c *FakeInstallations) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the installation and deletes it. Returns an error if one occurs.
func (*FakeInstallations) DeleteCollection ¶
func (c *FakeInstallations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeInstallations) Get ¶
func (c *FakeInstallations) Get(name string, options v1.GetOptions) (result *v1beta1.Installation, err error)
Get takes name of the installation, and returns the corresponding installation object, and an error if there is any.
func (*FakeInstallations) List ¶
func (c *FakeInstallations) List(opts v1.ListOptions) (result *v1beta1.InstallationList, err error)
List takes label and field selectors, and returns the list of Installations that match those selectors.
func (*FakeInstallations) Patch ¶
func (c *FakeInstallations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Installation, err error)
Patch applies the patch and returns the patched installation.
func (*FakeInstallations) Update ¶
func (c *FakeInstallations) Update(installation *v1beta1.Installation) (result *v1beta1.Installation, err error)
Update takes the representation of a installation and updates it. Returns the server's representation of the installation, and an error, if there is any.
func (*FakeInstallations) UpdateStatus ¶
func (c *FakeInstallations) UpdateStatus(installation *v1beta1.Installation) (*v1beta1.Installation, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeInstallations) Watch ¶
func (c *FakeInstallations) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested installations.
type FakeKotsV1beta1 ¶
func (*FakeKotsV1beta1) Airgaps ¶
func (c *FakeKotsV1beta1) Airgaps(namespace string) v1beta1.AirgapInterface
func (*FakeKotsV1beta1) Applications ¶
func (c *FakeKotsV1beta1) Applications(namespace string) v1beta1.ApplicationInterface
func (*FakeKotsV1beta1) ConfigValueses ¶
func (c *FakeKotsV1beta1) ConfigValueses(namespace string) v1beta1.ConfigValuesInterface
func (*FakeKotsV1beta1) Configs ¶
func (c *FakeKotsV1beta1) Configs(namespace string) v1beta1.ConfigInterface
func (*FakeKotsV1beta1) HelmCharts ¶
func (c *FakeKotsV1beta1) HelmCharts(namespace string) v1beta1.HelmChartInterface
func (*FakeKotsV1beta1) Installations ¶
func (c *FakeKotsV1beta1) Installations(namespace string) v1beta1.InstallationInterface
func (*FakeKotsV1beta1) Licenses ¶
func (c *FakeKotsV1beta1) Licenses(namespace string) v1beta1.LicenseInterface
func (*FakeKotsV1beta1) RESTClient ¶
func (c *FakeKotsV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeLicenses ¶
type FakeLicenses struct { Fake *FakeKotsV1beta1 // contains filtered or unexported fields }
FakeLicenses implements LicenseInterface
func (*FakeLicenses) Create ¶
Create takes the representation of a license and creates it. Returns the server's representation of the license, and an error, if there is any.
func (*FakeLicenses) Delete ¶
func (c *FakeLicenses) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the license and deletes it. Returns an error if one occurs.
func (*FakeLicenses) DeleteCollection ¶
func (c *FakeLicenses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeLicenses) Get ¶
func (c *FakeLicenses) Get(name string, options v1.GetOptions) (result *v1beta1.License, err error)
Get takes name of the license, and returns the corresponding license object, and an error if there is any.
func (*FakeLicenses) List ¶
func (c *FakeLicenses) List(opts v1.ListOptions) (result *v1beta1.LicenseList, err error)
List takes label and field selectors, and returns the list of Licenses that match those selectors.
func (*FakeLicenses) Patch ¶
func (c *FakeLicenses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.License, err error)
Patch applies the patch and returns the patched license.
func (*FakeLicenses) Update ¶
Update takes the representation of a license and updates it. Returns the server's representation of the license, and an error, if there is any.
func (*FakeLicenses) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeLicenses) Watch ¶
func (c *FakeLicenses) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested licenses.