source

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source interface {
	// SourceCode clones repository at revision into path.
	SourceCode(ctx context.Context, repository, path, revision string, submodule bool) error
	// Artifact downloads artifact into path and unpacks it.
	Artifact(ctx context.Context, artifact, path string) error
	// Security removes VCS metadata from path.
	Security(path string) error
}

Source defines the SCM operations a build needs.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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