Help us shape the future of Go! Take the 2026 Go Developer Survey

git

package
v4.0.14 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUser

func GetUser(url string) string

Types

type ArtifactDriver

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

ArtifactDriver is the artifact driver for a git repo

func (*ArtifactDriver) Delete

func (g *ArtifactDriver) Delete(ctx context.Context, s *wfv1.Artifact) error

Delete is unsupported for git artifacts

func (*ArtifactDriver) IsDirectory

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

func (*ArtifactDriver) ListObjects

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

func (*ArtifactDriver) Load

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

func (*ArtifactDriver) OpenStream

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

func (*ArtifactDriver) Save

func (g *ArtifactDriver) Save(ctx context.Context, path string, artifact *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