git

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitBuildContext

type GitBuildContext struct {
	// Repository which will be used as docker build context
	Repository string
	// Reference is the name of the branch to clone. By default is used 'master'
	Reference string
	// Dockerfile is the dockerfile placement inside the repository
	Dockerfile string
	// Auth
	Auth auth.GitAuther
}

GitBuildContext defines a build context from a git repository

func (*GitBuildContext) Reader

func (c *GitBuildContext) Reader() (io.Reader, error)

Reader return a context reader

Jump to

Keyboard shortcuts

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