types

package
v0.0.0-...-b4339e2 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuilderLimits

type BuilderLimits struct {
	Workers   uint
	WorkerRAM int64
	WorkerCPU int64
}

type BuilderManifest

type BuilderManifest struct {
	Limits *BuilderLimits
}

type IBuilder

type IBuilder interface {
	Start() error
	BuildLogs(ctx context.Context, pid string, stream io.Writer) error
	BuildCancel(ctx context.Context, pid string) error
	ActiveWorkers() int
	SetReserveMemory(memory string) error
	SetWorkerLimits(instances int, ram, cpu string) error
	Shutdown()
	Done() <-chan bool
}

Directories

Path Synopsis
v1

Jump to

Keyboard shortcuts

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