whoami

package
v3.22.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WhoAmICmd

type WhoAmICmd struct {
	Output string `help:"Output format. One of: json, yaml, text" short:"o" default:"${output_default_format}" enum:",json,yaml,text"`
}

func (*WhoAmICmd) Help

func (c *WhoAmICmd) Help() string

func (*WhoAmICmd) Run

func (c *WhoAmICmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

type WhoAmIOutput

type WhoAmIOutput struct {
	OrganizationSlug string                `json:"organization_slug"`
	Token            buildkite.AccessToken `json:"token"`
}

func (WhoAmIOutput) TextOutput

func (w WhoAmIOutput) TextOutput() string

Jump to

Keyboard shortcuts

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