builder

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func MakeBuilder

func MakeBuilder(logger *zap.Logger, sharedVolumePath string) *Builder

func (*Builder) Handler

func (builder *Builder) Handler(w http.ResponseWriter, r *http.Request)

func (*Builder) VersionHandler

func (builder *Builder) VersionHandler(w http.ResponseWriter, r *http.Request)

type PackageBuildRequest

type PackageBuildRequest struct {
	SrcPkgFilename string `json:"srcPkgFilename"`
	// Command for builder to run with.
	// A build command consists of commands, parameters and environment variables.
	// For now, two environment variables are supported:
	// 1. SRC_PKG: path to source package directory
	// 2. DEPLOY_PKG: path to deployment package directory
	BuildCommand string `json:"command"`
}

type PackageBuildResponse

type PackageBuildResponse struct {
	ArtifactFilename string `json:"artifactFilename"`
	BuildLogs        string `json:"buildLogs"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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