Documentation
¶
Overview ¶
Package output presents plugin discovery and installation data using the shared list UI.
Index ¶
- func Info(status *manage.Status, outputFormat string) error
- func List(statuses []manage.Status, outputFormat string) error
- func Packed(definition *manifest.Config, destination string, files []pluginoci.BundleFile, ...) error
- func Published(result PublishedRelease, outputFormat string) error
- func PublishedBatch(results []PublishedRelease, outputFormat string) error
- func Registries(registries map[string]schema.PluginRegistry, outputFormat string) error
- func Search(results []SearchResult, outputFormat string) error
- func Signed(release *pluginoci.Release, reference, outputFormat string) error
- func ValidateFormat(value string) error
- func ValidateFormatAmong(value string, supported ...string) error
- func Validation(definition *manifest.Config, bindings []extension.Binding, outputFormat string) error
- type PackedRelease
- type PublishedRelease
- type SearchResult
- type SignedRelease
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Packed ¶
func Packed(definition *manifest.Config, destination string, files []pluginoci.BundleFile, outputFormat string) error
Packed confirms the artifact location, included platforms, and the files packaged for each.
func Published ¶
func Published(result PublishedRelease, outputFormat string) error
Published confirms the completed upload and optional signing.
func PublishedBatch ¶
func PublishedBatch(results []PublishedRelease, outputFormat string) error
PublishedBatch renders completed inventory releases as one structured result.
func Registries ¶
func Registries(registries map[string]schema.PluginRegistry, outputFormat string) error
Registries displays configured hosts and discovery sources in deterministic alias order.
func Search ¶
func Search(results []SearchResult, outputFormat string) error
Search displays catalog entries without fetching or executing their plugin packages.
func ValidateFormat ¶
ValidateFormat checks the formats supported by plugin lists before accessing packages.
func ValidateFormatAmong ¶
ValidateFormatAmong checks a format against the subset a command supports. Commands that support a narrower or different set than plugin lists, such as `plugin test`, share the same error type, message shape, and hint as ValidateFormat.
Types ¶
type PackedRelease ¶
type PackedRelease struct {
Name string `json:"name" yaml:"name"`
Version string `json:"version" yaml:"version"`
Platforms []string `json:"platforms" yaml:"platforms"`
Output string `json:"output" yaml:"output"`
Files []pluginoci.BundleFile `json:"files" yaml:"files"`
}
PackedRelease describes the package written to a local OCI layout.
type PublishedRelease ¶
type PublishedRelease struct {
*pluginoci.Release `yaml:",inline"`
Repository string `json:"repository" yaml:"repository"`
Signed bool `json:"signed" yaml:"signed"`
Files []pluginoci.BundleFile `json:"files" yaml:"files"`
}
PublishedRelease adds the destination and completed publication steps to release metadata.
type SearchResult ¶
SearchResult associates discovery metadata with its configured registry alias.
type SignedRelease ¶
type SignedRelease struct {
*pluginoci.Release `yaml:",inline"`
Reference string `json:"reference" yaml:"reference"`
}
SignedRelease identifies the release and repository where its signature was written.