fake

package
v0.0.0-...-b4b605e Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 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 FakeGalasaApiComponents

type FakeGalasaApiComponents struct {
	Fake *FakeGalasaV2alpha1
	// contains filtered or unexported fields
}

FakeGalasaApiComponents implements GalasaApiComponentInterface

func (*FakeGalasaApiComponents) Create

func (c *FakeGalasaApiComponents) Create(ctx context.Context, galasaApiComponent *v2alpha1.GalasaApiComponent, opts v1.CreateOptions) (result *v2alpha1.GalasaApiComponent, err error)

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

func (*FakeGalasaApiComponents) Delete

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

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

func (*FakeGalasaApiComponents) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGalasaApiComponents) Get

func (c *FakeGalasaApiComponents) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2alpha1.GalasaApiComponent, err error)

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

func (*FakeGalasaApiComponents) List

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

func (*FakeGalasaApiComponents) Patch

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

Patch applies the patch and returns the patched galasaApiComponent.

func (*FakeGalasaApiComponents) Update

func (c *FakeGalasaApiComponents) Update(ctx context.Context, galasaApiComponent *v2alpha1.GalasaApiComponent, opts v1.UpdateOptions) (result *v2alpha1.GalasaApiComponent, err error)

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

func (*FakeGalasaApiComponents) UpdateStatus

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

func (*FakeGalasaApiComponents) Watch

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

type FakeGalasaCpsComponents

type FakeGalasaCpsComponents struct {
	Fake *FakeGalasaV2alpha1
	// contains filtered or unexported fields
}

FakeGalasaCpsComponents implements GalasaCpsComponentInterface

func (*FakeGalasaCpsComponents) Create

func (c *FakeGalasaCpsComponents) Create(ctx context.Context, galasaCpsComponent *v2alpha1.GalasaCpsComponent, opts v1.CreateOptions) (result *v2alpha1.GalasaCpsComponent, err error)

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

func (*FakeGalasaCpsComponents) Delete

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

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

func (*FakeGalasaCpsComponents) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGalasaCpsComponents) Get

func (c *FakeGalasaCpsComponents) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2alpha1.GalasaCpsComponent, err error)

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

func (*FakeGalasaCpsComponents) List

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

func (*FakeGalasaCpsComponents) Patch

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

Patch applies the patch and returns the patched galasaCpsComponent.

func (*FakeGalasaCpsComponents) Update

func (c *FakeGalasaCpsComponents) Update(ctx context.Context, galasaCpsComponent *v2alpha1.GalasaCpsComponent, opts v1.UpdateOptions) (result *v2alpha1.GalasaCpsComponent, err error)

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

func (*FakeGalasaCpsComponents) UpdateStatus

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

func (*FakeGalasaCpsComponents) Watch

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

type FakeGalasaEcosystems

type FakeGalasaEcosystems struct {
	Fake *FakeGalasaV2alpha1
	// contains filtered or unexported fields
}

FakeGalasaEcosystems implements GalasaEcosystemInterface

func (*FakeGalasaEcosystems) Create

func (c *FakeGalasaEcosystems) Create(ctx context.Context, galasaEcosystem *v2alpha1.GalasaEcosystem, opts v1.CreateOptions) (result *v2alpha1.GalasaEcosystem, err error)

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

func (*FakeGalasaEcosystems) Delete

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

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

func (*FakeGalasaEcosystems) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGalasaEcosystems) Get

func (c *FakeGalasaEcosystems) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2alpha1.GalasaEcosystem, err error)

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

func (*FakeGalasaEcosystems) List

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

func (*FakeGalasaEcosystems) Patch

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

Patch applies the patch and returns the patched galasaEcosystem.

func (*FakeGalasaEcosystems) Update

func (c *FakeGalasaEcosystems) Update(ctx context.Context, galasaEcosystem *v2alpha1.GalasaEcosystem, opts v1.UpdateOptions) (result *v2alpha1.GalasaEcosystem, err error)

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

func (*FakeGalasaEcosystems) UpdateStatus

func (c *FakeGalasaEcosystems) UpdateStatus(ctx context.Context, galasaEcosystem *v2alpha1.GalasaEcosystem, opts v1.UpdateOptions) (*v2alpha1.GalasaEcosystem, error)

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

func (*FakeGalasaEcosystems) Watch

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

type FakeGalasaEngineControllerComponents

type FakeGalasaEngineControllerComponents struct {
	Fake *FakeGalasaV2alpha1
	// contains filtered or unexported fields
}

FakeGalasaEngineControllerComponents implements GalasaEngineControllerComponentInterface

func (*FakeGalasaEngineControllerComponents) Create

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

func (*FakeGalasaEngineControllerComponents) Delete

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

func (*FakeGalasaEngineControllerComponents) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGalasaEngineControllerComponents) Get

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

func (*FakeGalasaEngineControllerComponents) List

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

func (*FakeGalasaEngineControllerComponents) Patch

Patch applies the patch and returns the patched galasaEngineControllerComponent.

func (*FakeGalasaEngineControllerComponents) Update

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

func (*FakeGalasaEngineControllerComponents) UpdateStatus

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

func (*FakeGalasaEngineControllerComponents) Watch

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

type FakeGalasaMetricsComponents

type FakeGalasaMetricsComponents struct {
	Fake *FakeGalasaV2alpha1
	// contains filtered or unexported fields
}

FakeGalasaMetricsComponents implements GalasaMetricsComponentInterface

func (*FakeGalasaMetricsComponents) Create

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

func (*FakeGalasaMetricsComponents) Delete

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

func (*FakeGalasaMetricsComponents) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGalasaMetricsComponents) Get

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

func (*FakeGalasaMetricsComponents) List

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

func (*FakeGalasaMetricsComponents) Patch

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

Patch applies the patch and returns the patched galasaMetricsComponent.

func (*FakeGalasaMetricsComponents) Update

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

func (*FakeGalasaMetricsComponents) UpdateStatus

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

func (*FakeGalasaMetricsComponents) Watch

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

type FakeGalasaRasComponents

type FakeGalasaRasComponents struct {
	Fake *FakeGalasaV2alpha1
	// contains filtered or unexported fields
}

FakeGalasaRasComponents implements GalasaRasComponentInterface

func (*FakeGalasaRasComponents) Create

func (c *FakeGalasaRasComponents) Create(ctx context.Context, galasaRasComponent *v2alpha1.GalasaRasComponent, opts v1.CreateOptions) (result *v2alpha1.GalasaRasComponent, err error)

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

func (*FakeGalasaRasComponents) Delete

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

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

func (*FakeGalasaRasComponents) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGalasaRasComponents) Get

func (c *FakeGalasaRasComponents) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2alpha1.GalasaRasComponent, err error)

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

func (*FakeGalasaRasComponents) List

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

func (*FakeGalasaRasComponents) Patch

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

Patch applies the patch and returns the patched galasaRasComponent.

func (*FakeGalasaRasComponents) Update

func (c *FakeGalasaRasComponents) Update(ctx context.Context, galasaRasComponent *v2alpha1.GalasaRasComponent, opts v1.UpdateOptions) (result *v2alpha1.GalasaRasComponent, err error)

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

func (*FakeGalasaRasComponents) UpdateStatus

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

func (*FakeGalasaRasComponents) Watch

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

type FakeGalasaResmonComponents

type FakeGalasaResmonComponents struct {
	Fake *FakeGalasaV2alpha1
	// contains filtered or unexported fields
}

FakeGalasaResmonComponents implements GalasaResmonComponentInterface

func (*FakeGalasaResmonComponents) Create

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

func (*FakeGalasaResmonComponents) Delete

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

func (*FakeGalasaResmonComponents) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGalasaResmonComponents) Get

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

func (*FakeGalasaResmonComponents) List

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

func (*FakeGalasaResmonComponents) Patch

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

Patch applies the patch and returns the patched galasaResmonComponent.

func (*FakeGalasaResmonComponents) Update

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

func (*FakeGalasaResmonComponents) UpdateStatus

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

func (*FakeGalasaResmonComponents) Watch

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

type FakeGalasaToolboxComponents

type FakeGalasaToolboxComponents struct {
	Fake *FakeGalasaV2alpha1
	// contains filtered or unexported fields
}

FakeGalasaToolboxComponents implements GalasaToolboxComponentInterface

func (*FakeGalasaToolboxComponents) Create

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

func (*FakeGalasaToolboxComponents) Delete

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

func (*FakeGalasaToolboxComponents) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGalasaToolboxComponents) Get

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

func (*FakeGalasaToolboxComponents) List

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

func (*FakeGalasaToolboxComponents) Patch

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

Patch applies the patch and returns the patched galasaToolboxComponent.

func (*FakeGalasaToolboxComponents) Update

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

func (*FakeGalasaToolboxComponents) UpdateStatus

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

func (*FakeGalasaToolboxComponents) Watch

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

type FakeGalasaV2alpha1

type FakeGalasaV2alpha1 struct {
	*testing.Fake
}

func (*FakeGalasaV2alpha1) GalasaApiComponents

func (c *FakeGalasaV2alpha1) GalasaApiComponents(namespace string) v2alpha1.GalasaApiComponentInterface

func (*FakeGalasaV2alpha1) GalasaCpsComponents

func (c *FakeGalasaV2alpha1) GalasaCpsComponents(namespace string) v2alpha1.GalasaCpsComponentInterface

func (*FakeGalasaV2alpha1) GalasaEcosystems

func (c *FakeGalasaV2alpha1) GalasaEcosystems(namespace string) v2alpha1.GalasaEcosystemInterface

func (*FakeGalasaV2alpha1) GalasaEngineControllerComponents

func (c *FakeGalasaV2alpha1) GalasaEngineControllerComponents(namespace string) v2alpha1.GalasaEngineControllerComponentInterface

func (*FakeGalasaV2alpha1) GalasaMetricsComponents

func (c *FakeGalasaV2alpha1) GalasaMetricsComponents(namespace string) v2alpha1.GalasaMetricsComponentInterface

func (*FakeGalasaV2alpha1) GalasaRasComponents

func (c *FakeGalasaV2alpha1) GalasaRasComponents(namespace string) v2alpha1.GalasaRasComponentInterface

func (*FakeGalasaV2alpha1) GalasaResmonComponents

func (c *FakeGalasaV2alpha1) GalasaResmonComponents(namespace string) v2alpha1.GalasaResmonComponentInterface

func (*FakeGalasaV2alpha1) GalasaToolboxComponents

func (c *FakeGalasaV2alpha1) GalasaToolboxComponents(namespace string) v2alpha1.GalasaToolboxComponentInterface

func (*FakeGalasaV2alpha1) RESTClient

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

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

Jump to

Keyboard shortcuts

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