fake

package
v1.29.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: Apache-2.0 Imports: 10 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 FakeAirgaps

type FakeAirgaps struct {
	Fake *FakeKotsV1beta1
	// contains filtered or unexported fields
}

FakeAirgaps implements AirgapInterface

func (*FakeAirgaps) Create

func (c *FakeAirgaps) Create(ctx context.Context, airgap *v1beta1.Airgap, opts v1.CreateOptions) (result *v1beta1.Airgap, err error)

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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAirgaps) Get

func (c *FakeAirgaps) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Airgap, err error)

Patch applies the patch and returns the patched airgap.

func (*FakeAirgaps) Update

func (c *FakeAirgaps) Update(ctx context.Context, airgap *v1beta1.Airgap, opts v1.UpdateOptions) (result *v1beta1.Airgap, err error)

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

func (c *FakeAirgaps) UpdateStatus(ctx context.Context, airgap *v1beta1.Airgap, opts v1.UpdateOptions) (*v1beta1.Airgap, error)

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(ctx context.Context, 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(ctx context.Context, application *v1beta1.Application, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeApplications) Get

func (c *FakeApplications) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Application, err error)

Patch applies the patch and returns the patched application.

func (*FakeApplications) Update

func (c *FakeApplications) Update(ctx context.Context, application *v1beta1.Application, opts v1.UpdateOptions) (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(ctx context.Context, application *v1beta1.Application, opts v1.UpdateOptions) (*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

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

func (c *FakeApps) Create(app *v1beta1.App) (result *v1beta1.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 *v1beta1.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 *v1beta1.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 *v1beta1.App, err error)

Patch applies the patch and returns the patched app.

func (*FakeApps) Update

func (c *FakeApps) Update(app *v1beta1.App) (result *v1beta1.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 *v1beta1.App) (*v1beta1.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 FakeConfigValueses

type FakeConfigValueses struct {
	Fake *FakeKotsV1beta1
	// contains filtered or unexported fields
}

FakeConfigValueses implements ConfigValuesInterface

func (*FakeConfigValueses) Create

func (c *FakeConfigValueses) Create(ctx context.Context, configValues *v1beta1.ConfigValues, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeConfigValueses) Get

func (c *FakeConfigValueses) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.ConfigValues, err error)

Patch applies the patch and returns the patched configValues.

func (*FakeConfigValueses) Update

func (c *FakeConfigValueses) Update(ctx context.Context, configValues *v1beta1.ConfigValues, opts v1.UpdateOptions) (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(ctx context.Context, configValues *v1beta1.ConfigValues, opts v1.UpdateOptions) (*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

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

func (c *FakeConfigs) Create(ctx context.Context, config *v1beta1.Config, opts v1.CreateOptions) (result *v1beta1.Config, err error)

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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeConfigs) Get

func (c *FakeConfigs) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Config, err error)

Patch applies the patch and returns the patched config.

func (*FakeConfigs) Update

func (c *FakeConfigs) Update(ctx context.Context, config *v1beta1.Config, opts v1.UpdateOptions) (result *v1beta1.Config, err error)

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

func (c *FakeConfigs) UpdateStatus(ctx context.Context, config *v1beta1.Config, opts v1.UpdateOptions) (*v1beta1.Config, error)

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(ctx context.Context, 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(ctx context.Context, helmChart *v1beta1.HelmChart, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeHelmCharts) Get

func (c *FakeHelmCharts) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.HelmChart, err error)

Patch applies the patch and returns the patched helmChart.

func (*FakeHelmCharts) Update

func (c *FakeHelmCharts) Update(ctx context.Context, helmChart *v1beta1.HelmChart, opts v1.UpdateOptions) (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

func (c *FakeHelmCharts) UpdateStatus(ctx context.Context, helmChart *v1beta1.HelmChart, opts v1.UpdateOptions) (*v1beta1.HelmChart, error)

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

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

type FakeIdentities

type FakeIdentities struct {
	Fake *FakeKotsV1beta1
	// contains filtered or unexported fields
}

FakeIdentities implements IdentityInterface

func (*FakeIdentities) Create

func (c *FakeIdentities) Create(ctx context.Context, identity *v1beta1.Identity, opts v1.CreateOptions) (result *v1beta1.Identity, err error)

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

func (*FakeIdentities) Delete

func (c *FakeIdentities) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeIdentities) DeleteCollection

func (c *FakeIdentities) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeIdentities) Get

func (c *FakeIdentities) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Identity, err error)

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

func (*FakeIdentities) List

func (c *FakeIdentities) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.IdentityList, err error)

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

func (*FakeIdentities) Patch

func (c *FakeIdentities) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Identity, err error)

Patch applies the patch and returns the patched identity.

func (*FakeIdentities) Update

func (c *FakeIdentities) Update(ctx context.Context, identity *v1beta1.Identity, opts v1.UpdateOptions) (result *v1beta1.Identity, err error)

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

func (*FakeIdentities) UpdateStatus

func (c *FakeIdentities) UpdateStatus(ctx context.Context, identity *v1beta1.Identity, opts v1.UpdateOptions) (*v1beta1.Identity, error)

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

func (*FakeIdentities) Watch

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

type FakeIdentityConfigs

type FakeIdentityConfigs struct {
	Fake *FakeKotsV1beta1
	// contains filtered or unexported fields
}

FakeIdentityConfigs implements IdentityConfigInterface

func (*FakeIdentityConfigs) Create

func (c *FakeIdentityConfigs) Create(ctx context.Context, identityConfig *v1beta1.IdentityConfig, opts v1.CreateOptions) (result *v1beta1.IdentityConfig, err error)

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

func (*FakeIdentityConfigs) Delete

func (c *FakeIdentityConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeIdentityConfigs) DeleteCollection

func (c *FakeIdentityConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeIdentityConfigs) Get

func (c *FakeIdentityConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.IdentityConfig, err error)

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

func (*FakeIdentityConfigs) List

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

func (*FakeIdentityConfigs) Patch

func (c *FakeIdentityConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.IdentityConfig, err error)

Patch applies the patch and returns the patched identityConfig.

func (*FakeIdentityConfigs) Update

func (c *FakeIdentityConfigs) Update(ctx context.Context, identityConfig *v1beta1.IdentityConfig, opts v1.UpdateOptions) (result *v1beta1.IdentityConfig, err error)

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

func (*FakeIdentityConfigs) UpdateStatus

func (c *FakeIdentityConfigs) UpdateStatus(ctx context.Context, identityConfig *v1beta1.IdentityConfig, opts v1.UpdateOptions) (*v1beta1.IdentityConfig, error)

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

func (*FakeIdentityConfigs) Watch

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

type FakeIngressConfigs

type FakeIngressConfigs struct {
	Fake *FakeKotsV1beta1
	// contains filtered or unexported fields
}

FakeIngressConfigs implements IngressConfigInterface

func (*FakeIngressConfigs) Create

func (c *FakeIngressConfigs) Create(ctx context.Context, ingressConfig *v1beta1.IngressConfig, opts v1.CreateOptions) (result *v1beta1.IngressConfig, err error)

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

func (*FakeIngressConfigs) Delete

func (c *FakeIngressConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

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

func (*FakeIngressConfigs) DeleteCollection

func (c *FakeIngressConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeIngressConfigs) Get

func (c *FakeIngressConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.IngressConfig, err error)

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

func (*FakeIngressConfigs) List

func (c *FakeIngressConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.IngressConfigList, err error)

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

func (*FakeIngressConfigs) Patch

func (c *FakeIngressConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.IngressConfig, err error)

Patch applies the patch and returns the patched ingressConfig.

func (*FakeIngressConfigs) Update

func (c *FakeIngressConfigs) Update(ctx context.Context, ingressConfig *v1beta1.IngressConfig, opts v1.UpdateOptions) (result *v1beta1.IngressConfig, err error)

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

func (*FakeIngressConfigs) UpdateStatus

func (c *FakeIngressConfigs) UpdateStatus(ctx context.Context, ingressConfig *v1beta1.IngressConfig, opts v1.UpdateOptions) (*v1beta1.IngressConfig, error)

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

func (*FakeIngressConfigs) Watch

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

type FakeInstallations

type FakeInstallations struct {
	Fake *FakeKotsV1beta1
	// contains filtered or unexported fields
}

FakeInstallations implements InstallationInterface

func (*FakeInstallations) Create

func (c *FakeInstallations) Create(ctx context.Context, installation *v1beta1.Installation, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeInstallations) Get

func (c *FakeInstallations) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Installation, err error)

Patch applies the patch and returns the patched installation.

func (*FakeInstallations) Update

func (c *FakeInstallations) Update(ctx context.Context, installation *v1beta1.Installation, opts v1.UpdateOptions) (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(ctx context.Context, installation *v1beta1.Installation, opts v1.UpdateOptions) (*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

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

type FakeKotsV1beta1

type FakeKotsV1beta1 struct {
	*testing.Fake
}

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) Identities

func (c *FakeKotsV1beta1) Identities(namespace string) v1beta1.IdentityInterface

func (*FakeKotsV1beta1) IdentityConfigs

func (c *FakeKotsV1beta1) IdentityConfigs(namespace string) v1beta1.IdentityConfigInterface

func (*FakeKotsV1beta1) IngressConfigs

func (c *FakeKotsV1beta1) IngressConfigs(namespace string) v1beta1.IngressConfigInterface

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

func (c *FakeLicenses) Create(ctx context.Context, license *v1beta1.License, opts v1.CreateOptions) (result *v1beta1.License, err error)

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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeLicenses) Get

func (c *FakeLicenses) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.License, err error)

Patch applies the patch and returns the patched license.

func (*FakeLicenses) Update

func (c *FakeLicenses) Update(ctx context.Context, license *v1beta1.License, opts v1.UpdateOptions) (result *v1beta1.License, err error)

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

func (c *FakeLicenses) UpdateStatus(ctx context.Context, license *v1beta1.License, opts v1.UpdateOptions) (*v1beta1.License, error)

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(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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

Jump to

Keyboard shortcuts

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