build

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2019 License: Apache-2.0 Imports: 1 Imported by: 8

Documentation

Overview

Package build builds a micro runtime package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder interface {
	// Build builds a package
	Build(*Source) (*Package, error)
	// Clean deletes the package
	Clean(*Package) error
}

Builder builds binaries

type Option

type Option func(o *Options)

func Path

func Path(p string) Option

Local path for repository

type Options

type Options struct {
	// local path to download source
	Path string
}

type Package

type Package struct {
	// Name of the binary
	Name string
	// Location of the binary
	Path string
	// Type of binary
	Type string
	// Source of the binary
	Source *Source
}

Package is micro service package

type Source

type Source struct {
	// Language is the language of code
	Language string
	// Location of the source
	Repository *source.Repository
}

Source is the source of a build

Directories

Path Synopsis
Package docker builds docker images
Package docker builds docker images
Package golang is a go package manager
Package golang is a go package manager

Jump to

Keyboard shortcuts

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