repository

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: Apache-2.0 Imports: 13 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."`

	// 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.

Jump to

Keyboard shortcuts

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