environments

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package environments will manage all environments requirements that will be injected in pods

Package environments will manage all environments requirements

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(c *gin.Context)

Create handle requirements to create environments with environments struct

func Delete

func Delete(c *gin.Context)

Delete handle deletion of environment viariable with deleteEnvironment struct

func GetEnvironmentIDForUnitTesting

func GetEnvironmentIDForUnitTesting() (z map[string]string, err error)

GetEnvironmentIDForUnitTesting in only for unit testing purpose and will return environment_id field

func List

func List(c *gin.Context)

List handle requirements to list environments

func ListByProjectID

func ListByProjectID(c *gin.Context)

ListByProjectID handle requirements to list environments by project id

func Read

func Read(c *gin.Context)

Read handle requirements to read environments with getEnvironments struct

func Search(c *gin.Context)

Search handle requirements to search environments by key or value

func Update

func Update(c *gin.Context)

Update handle requirements to update environment with updateEnvironment struct

Types

This section is empty.

Jump to

Keyboard shortcuts

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