git

package
v2.1.0-beta1+incompatible Latest Latest
Warning

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

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

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