common

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Globals

type Globals struct {
	APIEndpoint  string `name:"endpoint" env:"ARCTIR_API_ENDPOINT" default:"${apiEndpoint}"`
	ConfigPath   string `name:"config" env:"ARCTIR_CONFIG" default:"${configPath}"`
	OutputFormat string `name:"format" enum:"json,table" default:"table"`

	Debug bool
}

type OrgFlags

type OrgFlags struct {
	Org uuid.UUID `name:"org" short:"o" required:"" env:"FLIGHTDECK_ORG" help:"ID of the organization."`
}

type PortalFlags

type PortalFlags struct {
	PortalName string `arg:"portal-name" help:"Name of the portal."`
	OrgFlags
}

type TenantFlags

type TenantFlags struct {
	TenantName string `arg:"tenant-name" help:"Name of the tenant."`
	OrgFlags
}

Jump to

Keyboard shortcuts

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