builder

package
v0.0.0-...-120201e Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const PACKET_SIZE = 1 << 15

Variables

This section is empty.

Functions

func PrivateKeyFile

func PrivateKeyFile() ssh.AuthMethod

Types

type Builder

type Builder struct {
	Github       *github.Github
	BuildOutput  string
	GoExecutable string
}

func (*Builder) Build

func (b *Builder) Build(token, owner, name, branch, sha string, messages chan *Message)

func (*Builder) Copy

func (b *Builder) Copy(proj store.Project, sha string, messages chan *Message)

func (*Builder) Install

func (b *Builder) Install(proj store.Project, sha, color string, messages chan *Message)

func (*Builder) Restart

func (b *Builder) Restart(proj store.Project, sha, color string, messages chan *Message)

type Message

type Message struct {
	Id        int64
	Timestamp time.Time
	Text      string
	Status    int
	Close     bool
}

Jump to

Keyboard shortcuts

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