builder

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2019 License: MIT Imports: 4 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 interface {
	DryRun() error
	Build(ctx context.Context) error
}

Builder interface, currently Kaniko, Docker Engine later

func NewFromRequest

func NewFromRequest(request Request) Builder

Create a ne Builder from a Builder Request

func NewFromRuntime

func NewFromRuntime(runtime runtime.Runtime) Builder

Create a new Builder from a function runtime

type Request

type Request struct {
	Dockerfile  string
	Directory   string
	Destination string
	Registry    registry.Registry
}

Request describes what a builder needs to build

Directories

Path Synopsis
Package kaniko is responsible for performing a Kaniko build of an image.
Package kaniko is responsible for performing a Kaniko build of an image.

Jump to

Keyboard shortcuts

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