registry

package
v1.235.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 22 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRegistryCommand

func GetRegistryCommand() *cobra.Command

GetRegistryCommand returns the registry command for parent command to add.

func GetSearchParser

func GetSearchParser() *flags.StandardParser

GetSearchParser returns the search command's parser for use by aliases and other commands that need access to search-specific flag definitions.

Types

type ListCommandProvider

type ListCommandProvider struct{}

ListCommandProvider implements the CommandProvider interface for the 'toolchain registry list' command, wiring the list subcommand into the CLI framework with its associated flags and behaviors.

func (*ListCommandProvider) GetCommand

func (l *ListCommandProvider) GetCommand() *cobra.Command

func (*ListCommandProvider) GetCompatibilityFlags

func (l *ListCommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag

func (*ListCommandProvider) GetFlagsBuilder

func (l *ListCommandProvider) GetFlagsBuilder() flags.Builder

func (*ListCommandProvider) GetGroup

func (l *ListCommandProvider) GetGroup() string

func (*ListCommandProvider) GetName

func (l *ListCommandProvider) GetName() string

func (*ListCommandProvider) GetPositionalArgsBuilder

func (l *ListCommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder

type ListOptions

type ListOptions struct {
	global.Flags // Embed global flags (includes Pager).
	Limit        int
	Offset       int
	Format       string
	Sort         string
}

ListOptions contains parsed flags for the registry list command, including embedded global flags such as pager settings and display options (limit, offset, format, sort).

type RegistryCommandProvider

type RegistryCommandProvider struct{}

RegistryCommandProvider implements the CommandProvider interface.

func (*RegistryCommandProvider) GetCommand

func (r *RegistryCommandProvider) GetCommand() *cobra.Command

func (*RegistryCommandProvider) GetCompatibilityFlags

func (r *RegistryCommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag

func (*RegistryCommandProvider) GetFlagsBuilder

func (r *RegistryCommandProvider) GetFlagsBuilder() flags.Builder

func (*RegistryCommandProvider) GetGroup

func (r *RegistryCommandProvider) GetGroup() string

func (*RegistryCommandProvider) GetName

func (r *RegistryCommandProvider) GetName() string

func (*RegistryCommandProvider) GetPositionalArgsBuilder

func (r *RegistryCommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder

type SearchCommandProvider

type SearchCommandProvider struct{}

SearchCommandProvider implements the CommandProvider interface for the 'toolchain registry search' command, wiring the search subcommand into the CLI framework with its associated flags and behaviors.

func (*SearchCommandProvider) GetCommand

func (s *SearchCommandProvider) GetCommand() *cobra.Command

func (*SearchCommandProvider) GetCompatibilityFlags

func (s *SearchCommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag

func (*SearchCommandProvider) GetFlagsBuilder

func (s *SearchCommandProvider) GetFlagsBuilder() flags.Builder

func (*SearchCommandProvider) GetGroup

func (s *SearchCommandProvider) GetGroup() string

func (*SearchCommandProvider) GetName

func (s *SearchCommandProvider) GetName() string

func (*SearchCommandProvider) GetPositionalArgsBuilder

func (s *SearchCommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder

Jump to

Keyboard shortcuts

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