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

group

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	Create createCmd `cmd:"" help:"Create a group."`
	Delete deleteCmd `cmd:"" help:"Delete a group."`
	List   listCmd   `cmd:"" help:"List groups in the space."`
	Get    getCmd    `cmd:"" help:"Get a group."`

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

Cmd contains commands for interacting with groups.

func (*Cmd) AfterApply

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

AfterApply constructs and binds an Upbound context to any subcommands that have Run() methods that receive it.

func (*Cmd) BeforeReset

func (c *Cmd) BeforeReset(p *kong.Path, maturity feature.Maturity) error

BeforeReset is the first hook to run.

func (*Cmd) Help

func (c *Cmd) Help() string

Jump to

Keyboard shortcuts

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