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

get

package
v8.149.2 Latest Latest
Warning

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

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

Documentation

Overview

Package get is `devctl repo get`: one inventory record of giantswarm-repo-manager.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config Config) (*cobra.Command, error)

func NewRefresh

func NewRefresh(config Config) (*cobra.Command, error)

NewRefresh is `devctl repo refresh`, built here because it prints the same record.

Types

type Config

type Config struct {
	Logger *logrus.Logger
	Stderr io.Writer
	Stdout io.Writer
}

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

Runner reads one record with the tool it is built for and prints it.

func (*Runner) Run

func (r *Runner) Run(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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