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

repository

package
v0.34.2 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PredictRepos

func PredictRepos() complete.Predictor

Types

type Cmd

type Cmd struct {
	Create     createCmd      `cmd:"" help:"Create a repository."`
	Delete     deleteCmd      `cmd:"" help:"Delete a repository."`
	List       listCmd        `cmd:"" help:"List repositories for the account."`
	Get        getCmd         `cmd:"" help:"Get a repository for the account."`
	Permission permission.Cmd `cmd:"" help:"Manage permissions of a repository for a team in the account."`

	// Common Upbound API configuration
	Flags upbound.Flags `embed:""`
}

Cmd contains commands for interacting with repositories.

func (*Cmd) AfterApply

func (c *Cmd) AfterApply(kongCtx *kong.Context) error

AfterApply constructs and binds a repositories client to any subcommands that have Run() methods that receive it.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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