Documentation
¶
Index ¶
Constants ¶
View Source
const ( AlgorithmSHA256 = "sha256" AlgorithmSHA1 = "sha1" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactDependencies ¶
type ArtifactDependencies struct { Cmd Cmd RuntimeDeps map[string]Dependency }
func ArtifactDependency ¶
func ArtifactDependency(deps map[string]Dependency, path, cmdFlags string) *ArtifactDependencies
func (ArtifactDependencies) CmdFlags ¶
func (in ArtifactDependencies) CmdFlags() string
func (ArtifactDependencies) CmdPath ¶
func (in ArtifactDependencies) CmdPath() string
type CheckSum ¶
func Verification ¶
type Dependency ¶
func Dependence ¶
func Dependence(coordinates, version string, checksum CheckSum) Dependency
func (Dependency) ToDigestSet ¶
func (d Dependency) ToDigestSet() slsa.DigestSet
func (Dependency) ToUri ¶
func (d Dependency) ToUri() string
type Tool ¶
type Tool interface { BuildFiles() []string ResolveDeps(workDir string) (*ArtifactDependencies, error) }
type Tools ¶
type Tools struct {
Tools []Tool
}
func (Tools) DetectDeps ¶
func (t Tools) DetectDeps(workDir string) (*ArtifactDependencies, error)
Click to show internal directories.
Click to hide internal directories.