common

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2026 License: MIT Imports: 16 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 {
	http.Client
	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