status

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StateDeployed     = "deployed"
	StateAbsent       = "absent"
	StateConflict     = "conflict"
	StateMismatch     = "mismatch"
	StateOwnedByOther = "owned_by_other"
	StateUnmanaged    = "unmanaged"
	StateCopyMissing  = "copy_missing"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	TargetPath     string              `json:"targetPath"`
	State          string              `json:"state"`
	Package        string              `json:"package,omitempty"`
	Entry          string              `json:"entry,omitempty"`
	Code           target.ConflictCode `json:"code,omitempty"`
	Message        string              `json:"message,omitempty"`
	Owner          string              `json:"owner,omitempty"`
	ExpectedTarget string              `json:"expectedTarget,omitempty"`
}

type Options

type Options struct {
	SourceID string
	Context  string
}

type Result

type Result struct {
	Command string  `json:"-"`
	Context string  `json:"-"`
	Source  string  `json:"source"`
	Entries []Entry `json:"entries"`
}

func File

func File(path string, options Options) (Result, error)

func Package

func Package(ref string, options Options) (Result, error)

Jump to

Keyboard shortcuts

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