go-micro: github.com/micro/go-micro/runtime/local/build Index | Files | Directories

package build

import "github.com/micro/go-micro/runtime/local/build"

Package build builds a micro runtime package

Index

Package Files

build.go options.go

type Builder Uses

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

Builder builds binaries

type Option Uses

type Option func(o *Options)

func Path Uses

func Path(p string) Option

Local path for repository

type Options Uses

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

type Package Uses

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 Uses

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

PathSynopsis
dockerPackage docker builds docker images
goPackage golang is a go package manager

Package build imports 1 packages (graph) and is imported by 1 packages. Updated 2020-02-22. Refresh now. Tools for package owners.