fake

package
v3.0.0-...-b0a9388 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: 9 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 FakeApplicationDefinitions

type FakeApplicationDefinitions struct {
	Fake *FakeKubermaticEnterpriseAppsV1
	// contains filtered or unexported fields
}

FakeApplicationDefinitions implements ApplicationDefinitionInterface

func (*FakeApplicationDefinitions) Create

func (c *FakeApplicationDefinitions) Create(ctx context.Context, applicationDefinition *v1.ApplicationDefinition, opts metav1.CreateOptions) (result *v1.ApplicationDefinition, err error)

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

func (*FakeApplicationDefinitions) Delete

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

func (*FakeApplicationDefinitions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeApplicationDefinitions) Get

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

func (*FakeApplicationDefinitions) List

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

func (*FakeApplicationDefinitions) Patch

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

Patch applies the patch and returns the patched applicationDefinition.

func (*FakeApplicationDefinitions) Update

func (c *FakeApplicationDefinitions) Update(ctx context.Context, applicationDefinition *v1.ApplicationDefinition, opts metav1.UpdateOptions) (result *v1.ApplicationDefinition, err error)

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

func (*FakeApplicationDefinitions) Watch

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

type FakeApplicationInstallations

type FakeApplicationInstallations struct {
	Fake *FakeKubermaticEnterpriseAppsV1
	// contains filtered or unexported fields
}

FakeApplicationInstallations implements ApplicationInstallationInterface

func (*FakeApplicationInstallations) Create

func (c *FakeApplicationInstallations) Create(ctx context.Context, applicationInstallation *v1.ApplicationInstallation, opts metav1.CreateOptions) (result *v1.ApplicationInstallation, err error)

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

func (*FakeApplicationInstallations) Delete

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

func (*FakeApplicationInstallations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeApplicationInstallations) Get

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

func (*FakeApplicationInstallations) List

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

func (*FakeApplicationInstallations) Patch

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

Patch applies the patch and returns the patched applicationInstallation.

func (*FakeApplicationInstallations) Update

func (c *FakeApplicationInstallations) Update(ctx context.Context, applicationInstallation *v1.ApplicationInstallation, opts metav1.UpdateOptions) (result *v1.ApplicationInstallation, err error)

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

func (*FakeApplicationInstallations) Watch

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

type FakeKubermaticEnterpriseAppsV1

type FakeKubermaticEnterpriseAppsV1 struct {
	*testing.Fake
}

func (*FakeKubermaticEnterpriseAppsV1) ApplicationDefinitions

func (c *FakeKubermaticEnterpriseAppsV1) ApplicationDefinitions(namespace string) v1.ApplicationDefinitionInterface

func (*FakeKubermaticEnterpriseAppsV1) ApplicationInstallations

func (c *FakeKubermaticEnterpriseAppsV1) ApplicationInstallations(namespace string) v1.ApplicationInstallationInterface

func (*FakeKubermaticEnterpriseAppsV1) RESTClient

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