git

package
v2.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 29, 2018 License: Apache-2.0 Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitArtifactDriver

type GitArtifactDriver struct {
	Username string
	Password string
}

GitArtifactDriver is the artifact driver for a git repo

func (*GitArtifactDriver) Load

func (g *GitArtifactDriver) Load(inputArtifact *wfv1.Artifact, path string) error

Load download artifacts from an git URL Credentials are temporarily stored in a git-credentials file during the clone and deleted before returning. This is to prevent credentials from inadvertently leaking such as in the repo_dir/.git/config or logging an insecure url.

func (*GitArtifactDriver) Save

func (g *GitArtifactDriver) Save(path string, outputArtifact *wfv1.Artifact) error

Save is unsupported for git output artifacts

Jump to

Keyboard shortcuts

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