env

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Index added in v1.8.1

func Index(c *gin.Context) apierror.APIErrors

Index handles the API endpoint /namespaces/:namespace/applications/:app/environment It receives the namespace, application name and returns the environment associated with that application

func Match added in v1.8.1

func Match(c *gin.Context) apierror.APIErrors

Match handles the API endpoint /namespaces/:namespace/applications/:app/environment/:env/match/:pattern It receives the namespace, application name, plus a prefix and returns the names of all the environment associated with that application with prefix

func Set added in v1.8.1

func Set(c *gin.Context) apierror.APIErrors

Set handles the API endpoint /namespaces/:namespace/applications/:app/environment (POST) It receives the namespace, application name, var name and value, and add/modifies the variable in the application's environment.

func Show added in v1.8.1

func Show(c *gin.Context) apierror.APIErrors

EnvShow handles the API endpoint /namespaces/:namespace/applications/:app/environment/:env It receives the namespace, application name, var name, and returns the variable's value in the application's environment.

func Unset added in v1.8.1

func Unset(c *gin.Context) apierror.APIErrors

Unset handles the API endpoint /namespaces/:namespace/applications/:app/environment/:env (DELETE) It receives the namespace, application name, var name, and removes the variable from the application's environment.

Types

This section is empty.

Jump to

Keyboard shortcuts

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