Help us shape the future of Go! Take the 2026 Go Developer Survey

registry

package
v1.233.2 Latest Latest
Warning

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

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

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