git

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 14 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 {
	// Path must be set when docker build context is located in a subpath inside the repository
	Path string
	// 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
	// Auth
	Auth auth.GitAuther
}

GitBuildContext defines a build context from a git repository

func (*GitBuildContext) GenerateContextFilesystem added in v0.4.0

func (c *GitBuildContext) GenerateContextFilesystem() (*filesystem.ContextFilesystem, error)

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