kaniko

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package kaniko is responsible for performing a Kaniko build of an image. Kaniko builder does not require Docker Engine presence, therefore it is a better solution one can using within Continuous Integration context.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kaniko

type Kaniko struct {
	Dockerpath   string            // path to a Dockerfile to be saved
	Dockerfile   string            // Dockerfile contents
	Workspace    string            // build context / working directory
	Destinations []string          // destinations of an image
	Registry     registry.Registry // Docker registry
}

Kaniko represent a Kaniko build process. It takes a `Dockerpath` and saves `Dockerfile` contents there before the build starts.

func NewFromRuntime

func NewFromRuntime(runtime runtime.Runtime) *Kaniko

func (*Kaniko) Build

func (kaniko *Kaniko) Build(ctx context.Context) error

func (*Kaniko) DryRun

func (kaniko *Kaniko) DryRun() (string, error)

Jump to

Keyboard shortcuts

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