git

package
v3.4.9 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: Apache-2.0 Imports: 17 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUser added in v3.0.2

func GetUser(url string) string

Types

type ArtifactDriver added in v3.1.0

type ArtifactDriver struct {
	Username              string
	Password              string
	SSHPrivateKey         string
	InsecureIgnoreHostKey bool
	DisableSubmodules     bool
}

ArtifactDriver is the artifact driver for a git repo

func (*ArtifactDriver) Delete added in v3.4.0

func (g *ArtifactDriver) Delete(s *wfv1.Artifact) error

Delete is unsupported for git artifacts

func (*ArtifactDriver) IsDirectory added in v3.4.0

func (g *ArtifactDriver) IsDirectory(artifact *wfv1.Artifact) (bool, error)

func (*ArtifactDriver) ListObjects added in v3.1.0

func (g *ArtifactDriver) ListObjects(artifact *wfv1.Artifact) ([]string, error)

func (*ArtifactDriver) Load added in v3.1.0

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

func (*ArtifactDriver) OpenStream added in v3.4.0

func (g *ArtifactDriver) OpenStream(a *wfv1.Artifact) (io.ReadCloser, error)

func (*ArtifactDriver) Save added in v3.1.0

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