configurationbinding

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Configurationbinding contains the API handlers to manage configuration bindings.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateConfigurationBinding added in v0.6.3

func CreateConfigurationBinding(
	ctx context.Context,
	cluster *kubernetes.Cluster,
	namespace string,
	app models.App,
	configurationNames []string,
) ([]string, apierror.APIErrors)

func DeleteBinding

func DeleteBinding(ctx context.Context, cluster *kubernetes.Cluster, namespace, appName, username string, configurationNames []string) apierror.APIErrors

Types

type Controller

type Controller struct {
}

Controller represents all functionality of the API related to configuration bindings

func (Controller) Create

func (hc Controller) Create(c *gin.Context) apierror.APIErrors

Create handles the API endpoint /namespaces/:namespace/applications/:app/configurationbindings (POST) It creates a binding between the specified configuration and application

func (Controller) Delete

func (hc Controller) Delete(c *gin.Context) apierror.APIErrors

Delete handles the API endpoint /namespaces/:namespace/applications/:app/configurationbindings/:configuration It removes the binding between the specified configuration and application

Jump to

Keyboard shortcuts

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