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)
Click to show internal directories.
Click to hide internal directories.