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

common

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitScm

type GitScm struct {
	Config      types.GitConfig
	AuthHeaders map[string]string
	// contains filtered or unexported fields
}

GitScm is the GitHub/GitLab source code manager.

func NewGitScm

func NewGitScm(config types.GitConfig, authHeaders map[string]string) (*GitScm, error)

NewGitScm builds a GitScm from config.

func (*GitScm) Artifact

func (g *GitScm) Artifact(ctx context.Context, artifact, path string) error

func (*GitScm) Security

func (g *GitScm) Security(path string) error

func (*GitScm) SourceCode

func (g *GitScm) SourceCode(ctx context.Context, repository, path, revision string, submodule bool) error

Jump to

Keyboard shortcuts

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