output

package
v1.234.0-rc.1 Latest Latest
Warning

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

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

Documentation

Overview

Package output presents plugin discovery and installation data using the shared list UI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Info

func Info(status *manage.Status, outputFormat string) error

Info displays a selected plugin's static metadata and local installation details.

func List

func List(statuses []manage.Status, outputFormat string) error

List displays selected plugin versions and their local installation state.

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(results []SearchResult, outputFormat string) error

Search displays catalog entries without fetching or executing their plugin packages.

func Signed

func Signed(release *pluginoci.Release, reference, outputFormat string) error

Signed confirms the exact immutable release that received a Sigstore signature.

func ValidateFormat

func ValidateFormat(value string) error

ValidateFormat checks the formats supported by plugin lists before accessing packages.

func ValidateFormatAmong

func ValidateFormatAmong(value string, supported ...string) error

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.

func Validation

func Validation(definition *manifest.Config, bindings []extension.Binding, outputFormat string) error

Validation describes the validated exports without dumping schema metadata by default.

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

type SearchResult = discovery.Result

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.

Jump to

Keyboard shortcuts

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