fake

package
v0.0.0-...-5d4002b Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: GPL-3.0 Imports: 12 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 FakeEntandoAppPluginLinks struct {
	Fake *FakeEntandoV1
	// contains filtered or unexported fields
}

FakeEntandoAppPluginLinks implements EntandoAppPluginLinkInterface

func (*FakeEntandoAppPluginLinks) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied entandoAppPluginLink.

func (*FakeEntandoAppPluginLinks) ApplyStatus

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

func (*FakeEntandoAppPluginLinks) Create

func (c *FakeEntandoAppPluginLinks) Create(ctx context.Context, entandoAppPluginLink *v1.EntandoAppPluginLink, opts metav1.CreateOptions) (result *v1.EntandoAppPluginLink, err error)

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

func (*FakeEntandoAppPluginLinks) Delete

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

func (*FakeEntandoAppPluginLinks) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEntandoAppPluginLinks) Get

func (c *FakeEntandoAppPluginLinks) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.EntandoAppPluginLink, err error)

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

func (*FakeEntandoAppPluginLinks) List

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

func (*FakeEntandoAppPluginLinks) Patch

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

Patch applies the patch and returns the patched entandoAppPluginLink.

func (*FakeEntandoAppPluginLinks) Update

func (c *FakeEntandoAppPluginLinks) Update(ctx context.Context, entandoAppPluginLink *v1.EntandoAppPluginLink, opts metav1.UpdateOptions) (result *v1.EntandoAppPluginLink, err error)

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

func (*FakeEntandoAppPluginLinks) UpdateStatus

func (c *FakeEntandoAppPluginLinks) UpdateStatus(ctx context.Context, entandoAppPluginLink *v1.EntandoAppPluginLink, opts metav1.UpdateOptions) (*v1.EntandoAppPluginLink, error)

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

func (*FakeEntandoAppPluginLinks) Watch

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

type FakeEntandoApps

type FakeEntandoApps struct {
	Fake *FakeEntandoV1
	// contains filtered or unexported fields
}

FakeEntandoApps implements EntandoAppInterface

func (*FakeEntandoApps) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied entandoApp.

func (*FakeEntandoApps) ApplyStatus

func (c *FakeEntandoApps) ApplyStatus(ctx context.Context, entandoApp *entandoorgv1.EntandoAppApplyConfiguration, opts metav1.ApplyOptions) (result *v1.EntandoApp, err error)

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

func (*FakeEntandoApps) Create

func (c *FakeEntandoApps) Create(ctx context.Context, entandoApp *v1.EntandoApp, opts metav1.CreateOptions) (result *v1.EntandoApp, err error)

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

func (*FakeEntandoApps) Delete

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

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

func (*FakeEntandoApps) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEntandoApps) Get

func (c *FakeEntandoApps) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.EntandoApp, err error)

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

func (*FakeEntandoApps) List

func (c *FakeEntandoApps) List(ctx context.Context, opts metav1.ListOptions) (result *v1.EntandoAppList, err error)

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

func (*FakeEntandoApps) Patch

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

Patch applies the patch and returns the patched entandoApp.

func (*FakeEntandoApps) Update

func (c *FakeEntandoApps) Update(ctx context.Context, entandoApp *v1.EntandoApp, opts metav1.UpdateOptions) (result *v1.EntandoApp, err error)

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

func (*FakeEntandoApps) UpdateStatus

func (c *FakeEntandoApps) UpdateStatus(ctx context.Context, entandoApp *v1.EntandoApp, opts metav1.UpdateOptions) (*v1.EntandoApp, error)

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

func (*FakeEntandoApps) Watch

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

type FakeEntandoDatabaseServices

type FakeEntandoDatabaseServices struct {
	Fake *FakeEntandoV1
	// contains filtered or unexported fields
}

FakeEntandoDatabaseServices implements EntandoDatabaseServiceInterface

func (*FakeEntandoDatabaseServices) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied entandoDatabaseService.

func (*FakeEntandoDatabaseServices) ApplyStatus

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

func (*FakeEntandoDatabaseServices) Create

func (c *FakeEntandoDatabaseServices) Create(ctx context.Context, entandoDatabaseService *v1.EntandoDatabaseService, opts metav1.CreateOptions) (result *v1.EntandoDatabaseService, err error)

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

func (*FakeEntandoDatabaseServices) Delete

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

func (*FakeEntandoDatabaseServices) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEntandoDatabaseServices) Get

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

func (*FakeEntandoDatabaseServices) List

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

func (*FakeEntandoDatabaseServices) Patch

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

Patch applies the patch and returns the patched entandoDatabaseService.

func (*FakeEntandoDatabaseServices) Update

func (c *FakeEntandoDatabaseServices) Update(ctx context.Context, entandoDatabaseService *v1.EntandoDatabaseService, opts metav1.UpdateOptions) (result *v1.EntandoDatabaseService, err error)

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

func (*FakeEntandoDatabaseServices) UpdateStatus

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

func (*FakeEntandoDatabaseServices) Watch

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

type FakeEntandoDeBundles

type FakeEntandoDeBundles struct {
	Fake *FakeEntandoV1
	// contains filtered or unexported fields
}

FakeEntandoDeBundles implements EntandoDeBundleInterface

func (*FakeEntandoDeBundles) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied entandoDeBundle.

func (*FakeEntandoDeBundles) ApplyStatus

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

func (*FakeEntandoDeBundles) Create

func (c *FakeEntandoDeBundles) Create(ctx context.Context, entandoDeBundle *v1.EntandoDeBundle, opts metav1.CreateOptions) (result *v1.EntandoDeBundle, err error)

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

func (*FakeEntandoDeBundles) Delete

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

func (*FakeEntandoDeBundles) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEntandoDeBundles) Get

func (c *FakeEntandoDeBundles) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.EntandoDeBundle, err error)

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

func (*FakeEntandoDeBundles) List

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

func (*FakeEntandoDeBundles) Patch

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

Patch applies the patch and returns the patched entandoDeBundle.

func (*FakeEntandoDeBundles) Update

func (c *FakeEntandoDeBundles) Update(ctx context.Context, entandoDeBundle *v1.EntandoDeBundle, opts metav1.UpdateOptions) (result *v1.EntandoDeBundle, err error)

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

func (*FakeEntandoDeBundles) UpdateStatus

func (c *FakeEntandoDeBundles) UpdateStatus(ctx context.Context, entandoDeBundle *v1.EntandoDeBundle, opts metav1.UpdateOptions) (*v1.EntandoDeBundle, error)

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

func (*FakeEntandoDeBundles) Watch

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

type FakeEntandoKeycloakServers

type FakeEntandoKeycloakServers struct {
	Fake *FakeEntandoV1
	// contains filtered or unexported fields
}

FakeEntandoKeycloakServers implements EntandoKeycloakServerInterface

func (*FakeEntandoKeycloakServers) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied entandoKeycloakServer.

func (*FakeEntandoKeycloakServers) ApplyStatus

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

func (*FakeEntandoKeycloakServers) Create

func (c *FakeEntandoKeycloakServers) Create(ctx context.Context, entandoKeycloakServer *v1.EntandoKeycloakServer, opts metav1.CreateOptions) (result *v1.EntandoKeycloakServer, err error)

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

func (*FakeEntandoKeycloakServers) Delete

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

func (*FakeEntandoKeycloakServers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEntandoKeycloakServers) Get

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

func (*FakeEntandoKeycloakServers) List

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

func (*FakeEntandoKeycloakServers) Patch

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

Patch applies the patch and returns the patched entandoKeycloakServer.

func (*FakeEntandoKeycloakServers) Update

func (c *FakeEntandoKeycloakServers) Update(ctx context.Context, entandoKeycloakServer *v1.EntandoKeycloakServer, opts metav1.UpdateOptions) (result *v1.EntandoKeycloakServer, err error)

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

func (*FakeEntandoKeycloakServers) UpdateStatus

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

func (*FakeEntandoKeycloakServers) Watch

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

type FakeEntandoPlugins

type FakeEntandoPlugins struct {
	Fake *FakeEntandoV1
	// contains filtered or unexported fields
}

FakeEntandoPlugins implements EntandoPluginInterface

func (*FakeEntandoPlugins) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied entandoPlugin.

func (*FakeEntandoPlugins) ApplyStatus

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

func (*FakeEntandoPlugins) Create

func (c *FakeEntandoPlugins) Create(ctx context.Context, entandoPlugin *v1.EntandoPlugin, opts metav1.CreateOptions) (result *v1.EntandoPlugin, err error)

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

func (*FakeEntandoPlugins) Delete

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

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

func (*FakeEntandoPlugins) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeEntandoPlugins) Get

func (c *FakeEntandoPlugins) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.EntandoPlugin, err error)

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

func (*FakeEntandoPlugins) List

func (c *FakeEntandoPlugins) List(ctx context.Context, opts metav1.ListOptions) (result *v1.EntandoPluginList, err error)

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

func (*FakeEntandoPlugins) Patch

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

Patch applies the patch and returns the patched entandoPlugin.

func (*FakeEntandoPlugins) Update

func (c *FakeEntandoPlugins) Update(ctx context.Context, entandoPlugin *v1.EntandoPlugin, opts metav1.UpdateOptions) (result *v1.EntandoPlugin, err error)

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

func (*FakeEntandoPlugins) UpdateStatus

func (c *FakeEntandoPlugins) UpdateStatus(ctx context.Context, entandoPlugin *v1.EntandoPlugin, opts metav1.UpdateOptions) (*v1.EntandoPlugin, error)

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

func (*FakeEntandoPlugins) Watch

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

type FakeEntandoV1

type FakeEntandoV1 struct {
	*testing.Fake
}
func (c *FakeEntandoV1) EntandoAppPluginLinks(namespace string) v1.EntandoAppPluginLinkInterface

func (*FakeEntandoV1) EntandoApps

func (c *FakeEntandoV1) EntandoApps(namespace string) v1.EntandoAppInterface

func (*FakeEntandoV1) EntandoDatabaseServices

func (c *FakeEntandoV1) EntandoDatabaseServices(namespace string) v1.EntandoDatabaseServiceInterface

func (*FakeEntandoV1) EntandoDeBundles

func (c *FakeEntandoV1) EntandoDeBundles(namespace string) v1.EntandoDeBundleInterface

func (*FakeEntandoV1) EntandoKeycloakServers

func (c *FakeEntandoV1) EntandoKeycloakServers(namespace string) v1.EntandoKeycloakServerInterface

func (*FakeEntandoV1) EntandoPlugins

func (c *FakeEntandoV1) EntandoPlugins(namespace string) v1.EntandoPluginInterface

func (*FakeEntandoV1) ProvidedCapabilities

func (c *FakeEntandoV1) ProvidedCapabilities(namespace string) v1.ProvidedCapabilityInterface

func (*FakeEntandoV1) RESTClient

func (c *FakeEntandoV1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

type FakeProvidedCapabilities

type FakeProvidedCapabilities struct {
	Fake *FakeEntandoV1
	// contains filtered or unexported fields
}

FakeProvidedCapabilities implements ProvidedCapabilityInterface

func (*FakeProvidedCapabilities) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied providedCapability.

func (*FakeProvidedCapabilities) ApplyStatus

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

func (*FakeProvidedCapabilities) Create

func (c *FakeProvidedCapabilities) Create(ctx context.Context, providedCapability *v1.ProvidedCapability, opts metav1.CreateOptions) (result *v1.ProvidedCapability, err error)

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

func (*FakeProvidedCapabilities) Delete

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

func (*FakeProvidedCapabilities) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeProvidedCapabilities) Get

func (c *FakeProvidedCapabilities) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ProvidedCapability, err error)

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

func (*FakeProvidedCapabilities) List

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

func (*FakeProvidedCapabilities) Patch

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

Patch applies the patch and returns the patched providedCapability.

func (*FakeProvidedCapabilities) Update

func (c *FakeProvidedCapabilities) Update(ctx context.Context, providedCapability *v1.ProvidedCapability, opts metav1.UpdateOptions) (result *v1.ProvidedCapability, err error)

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

func (*FakeProvidedCapabilities) UpdateStatus

func (c *FakeProvidedCapabilities) UpdateStatus(ctx context.Context, providedCapability *v1.ProvidedCapability, opts metav1.UpdateOptions) (*v1.ProvidedCapability, error)

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

func (*FakeProvidedCapabilities) Watch

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

Jump to

Keyboard shortcuts

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