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

robot

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: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PredictRobots

func PredictRobots() complete.Predictor

Types

type Cmd

type Cmd struct {
	Create createCmd `cmd:"" help:"Create a robot."`
	Delete deleteCmd `cmd:"" help:"Delete a robot."`
	List   listCmd   `cmd:"" help:"List robots for the account."`
	Get    getCmd    `cmd:"" help:"Get a robot for the account."`
	Token  token.Cmd `cmd:"" help:"Interact with robot tokens."`
	Team   team.Cmd  `cmd:"" help:"Interact with robot teams."`

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

Cmd contains commands for interacting with robots.

func (*Cmd) AfterApply

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

AfterApply constructs and binds a robots 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