tarlib

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2020 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBuildContext

func NewBuildContext(w func() io.Writer, r func() io.Reader) buildcontext.BuildContext

NewBuildContext creates a new build context based on tar implementation

Types

type BuildContext

type BuildContext struct {
	// contains filtered or unexported fields
}

BuildContext is an abstraction of build context used in docker represents a tar file

func NewLocalBuildContext

func NewLocalBuildContext(w func() io.Writer, r func() io.Reader) *BuildContext

func (*BuildContext) GetBuildContext

func (buildContext *BuildContext) GetBuildContext(projectDir string) (io.Reader, error)

Jump to

Keyboard shortcuts

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