builds

package
v0.0.0-...-62e55b1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2018 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builds

type Builds struct {
	Conn *connection.Conn
}

Builds ...

func (*Builds) Changelog

func (b *Builds) Changelog(project, environment, id string) (*diff.Changelog, error)

Changelog : get a environment's build changelog

func (*Builds) Create

func (b *Builds) Create(definition []byte) (*models.Build, error)

Create : creates an environment build

func (*Builds) Definition

func (b *Builds) Definition(project, environment, id string) (string, error)

Definition : get a environment's build definition

func (*Builds) Diff

func (b *Builds) Diff(project, environment, from, to string) (*diff.Changelog, error)

Diff : simulates a build creation

func (*Builds) Dry

func (b *Builds) Dry(definition []byte) (*[]string, error)

Dry : simulates a build creation

func (*Builds) Get

func (b *Builds) Get(project, environment, id string) (*models.Build, error)

Get : get a environment's build

func (*Builds) List

func (b *Builds) List(project, environment string) ([]*models.Build, error)

List : list all availabile builds for a environment

func (*Builds) Stream

func (b *Builds) Stream(id string) (chan []byte, error)

Stream : returns a stream channel for all build messages

Jump to

Keyboard shortcuts

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