fake

package
v0.0.0-...-ad8e913 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 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 FakeAppV1beta1

type FakeAppV1beta1 struct {
	*testing.Fake
}

func (*FakeAppV1beta1) KogitoBuilds

func (c *FakeAppV1beta1) KogitoBuilds(namespace string) v1beta1.KogitoBuildInterface

func (*FakeAppV1beta1) KogitoInfras

func (c *FakeAppV1beta1) KogitoInfras(namespace string) v1beta1.KogitoInfraInterface

func (*FakeAppV1beta1) KogitoRuntimes

func (c *FakeAppV1beta1) KogitoRuntimes(namespace string) v1beta1.KogitoRuntimeInterface

func (*FakeAppV1beta1) KogitoSupportingServices

func (c *FakeAppV1beta1) KogitoSupportingServices(namespace string) v1beta1.KogitoSupportingServiceInterface

func (*FakeAppV1beta1) RESTClient

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

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

type FakeKogitoBuilds

type FakeKogitoBuilds struct {
	Fake *FakeAppV1beta1
	// contains filtered or unexported fields
}

FakeKogitoBuilds implements KogitoBuildInterface

func (*FakeKogitoBuilds) Create

func (c *FakeKogitoBuilds) Create(ctx context.Context, kogitoBuild *v1beta1.KogitoBuild, opts v1.CreateOptions) (result *v1beta1.KogitoBuild, err error)

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

func (*FakeKogitoBuilds) Delete

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

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

func (*FakeKogitoBuilds) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeKogitoBuilds) Get

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

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

func (*FakeKogitoBuilds) List

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

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

func (*FakeKogitoBuilds) Patch

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

Patch applies the patch and returns the patched kogitoBuild.

func (*FakeKogitoBuilds) Update

func (c *FakeKogitoBuilds) Update(ctx context.Context, kogitoBuild *v1beta1.KogitoBuild, opts v1.UpdateOptions) (result *v1beta1.KogitoBuild, err error)

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

func (*FakeKogitoBuilds) UpdateStatus

func (c *FakeKogitoBuilds) UpdateStatus(ctx context.Context, kogitoBuild *v1beta1.KogitoBuild, opts v1.UpdateOptions) (*v1beta1.KogitoBuild, error)

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

func (*FakeKogitoBuilds) Watch

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

type FakeKogitoInfras

type FakeKogitoInfras struct {
	Fake *FakeAppV1beta1
	// contains filtered or unexported fields
}

FakeKogitoInfras implements KogitoInfraInterface

func (*FakeKogitoInfras) Create

func (c *FakeKogitoInfras) Create(ctx context.Context, kogitoInfra *v1beta1.KogitoInfra, opts v1.CreateOptions) (result *v1beta1.KogitoInfra, err error)

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

func (*FakeKogitoInfras) Delete

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

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

func (*FakeKogitoInfras) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeKogitoInfras) Get

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

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

func (*FakeKogitoInfras) List

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

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

func (*FakeKogitoInfras) Patch

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

Patch applies the patch and returns the patched kogitoInfra.

func (*FakeKogitoInfras) Update

func (c *FakeKogitoInfras) Update(ctx context.Context, kogitoInfra *v1beta1.KogitoInfra, opts v1.UpdateOptions) (result *v1beta1.KogitoInfra, err error)

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

func (*FakeKogitoInfras) UpdateStatus

func (c *FakeKogitoInfras) UpdateStatus(ctx context.Context, kogitoInfra *v1beta1.KogitoInfra, opts v1.UpdateOptions) (*v1beta1.KogitoInfra, error)

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

func (*FakeKogitoInfras) Watch

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

type FakeKogitoRuntimes

type FakeKogitoRuntimes struct {
	Fake *FakeAppV1beta1
	// contains filtered or unexported fields
}

FakeKogitoRuntimes implements KogitoRuntimeInterface

func (*FakeKogitoRuntimes) Create

func (c *FakeKogitoRuntimes) Create(ctx context.Context, kogitoRuntime *v1beta1.KogitoRuntime, opts v1.CreateOptions) (result *v1beta1.KogitoRuntime, err error)

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

func (*FakeKogitoRuntimes) Delete

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

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

func (*FakeKogitoRuntimes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeKogitoRuntimes) Get

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

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

func (*FakeKogitoRuntimes) List

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

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

func (*FakeKogitoRuntimes) Patch

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

Patch applies the patch and returns the patched kogitoRuntime.

func (*FakeKogitoRuntimes) Update

func (c *FakeKogitoRuntimes) Update(ctx context.Context, kogitoRuntime *v1beta1.KogitoRuntime, opts v1.UpdateOptions) (result *v1beta1.KogitoRuntime, err error)

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

func (*FakeKogitoRuntimes) UpdateStatus

func (c *FakeKogitoRuntimes) UpdateStatus(ctx context.Context, kogitoRuntime *v1beta1.KogitoRuntime, opts v1.UpdateOptions) (*v1beta1.KogitoRuntime, error)

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

func (*FakeKogitoRuntimes) Watch

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

type FakeKogitoSupportingServices

type FakeKogitoSupportingServices struct {
	Fake *FakeAppV1beta1
	// contains filtered or unexported fields
}

FakeKogitoSupportingServices implements KogitoSupportingServiceInterface

func (*FakeKogitoSupportingServices) Create

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

func (*FakeKogitoSupportingServices) Delete

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

func (*FakeKogitoSupportingServices) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeKogitoSupportingServices) Get

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

func (*FakeKogitoSupportingServices) List

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

func (*FakeKogitoSupportingServices) Patch

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

Patch applies the patch and returns the patched kogitoSupportingService.

func (*FakeKogitoSupportingServices) Update

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

func (*FakeKogitoSupportingServices) UpdateStatus

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

func (*FakeKogitoSupportingServices) Watch

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

Jump to

Keyboard shortcuts

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