builds

package
v0.0.0-...-88c5504 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(au models.User, definition *definition.Definition, raw []byte, dry string) (int, []byte)

Create : Creates an environment build

func Definition

func Definition(au models.User, id string) (int, []byte)

Definition : responds to GET /builds/:build/definition with the definition of an existing build

func Delete

func Delete(au models.User, name string) (int, []byte)

Delete : Deletes an environment by name, generating a delete build

func Diff

func Diff(au models.User, env string, request *models.Diff) (int, []byte)

Diff : Diffs an environment

func Get

func Get(au models.User, id string) (int, []byte)

Get : responds to GET /builds/:build with the details of an existing build

func Import

func Import(au models.User, env string, action *models.Action) (int, []byte)

Import : Imports an environment

func List

func List(au models.User, env string) (int, []byte)

List : responds to GET /builds/ with a list of all builds for current user group

func Mapping

func Mapping(au models.User, id string, changelog string) (int, []byte)

Mapping : responds to GET /builds/:/mapping with the details of an existing build

func Review

func Review(au models.User, env string, action *models.Action) (int, []byte)

Review : Resolves a build that is queued pending approval

func Submission

func Submission(au models.User, e *models.Env, definition *definition.Definition, raw []byte, dry string) (int, []byte)

Submission : Submits an environment build for approval

func Validate

func Validate(au models.User, env string, action *models.Action) (int, []byte)

Validate : Validate an environment

Types

This section is empty.

Jump to

Keyboard shortcuts

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