source

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SortFindings

func SortFindings(findings []Finding)

Types

type Finding

type Finding = model.Finding

Finding is the canonical scan record used by diff/state.

type Manifest

type Manifest struct {
	Target   Target         `json:"target"`
	Repos    []RepoManifest `json:"repos"`
	Failures []RepoFailure  `json:"failures,omitempty"`
}

Manifest is the deterministic source acquisition output.

func SortManifest

func SortManifest(m Manifest) Manifest

type RepoFailure

type RepoFailure struct {
	Repo   string `json:"repo"`
	Reason string `json:"reason"`
}

RepoFailure captures one non-fatal source failure.

type RepoManifest

type RepoManifest struct {
	Repo     string `json:"repo"`
	Location string `json:"location"`
	Source   string `json:"source"`
}

RepoManifest identifies a repository acquisition result.

type Target

type Target struct {
	Mode  string `json:"mode"`
	Value string `json:"value"`
}

Target describes a user-selected source scope.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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