region

package
v0.160.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListCmd

func ListCmd(ch *cmdutil.Helper) *cobra.Command

ListCmd is the command for listing all regions for an organization.

func RegionCmd

func RegionCmd(ch *cmdutil.Helper) *cobra.Command

RegionCmd encapsulates the commands for interacting with regions

Types

type Region

type Region struct {
	Name    string `header:"name" json:"display_name"`
	Slug    string `header:"slug" json:"slug"`
	Enabled bool   `header:"enabled" json:"enabled"`
	// contains filtered or unexported fields
}

func (*Region) MarshalCSVValue

func (r *Region) MarshalCSVValue() interface{}

func (*Region) MarshalJSON

func (r *Region) MarshalJSON() ([]byte, error)

type Regions

type Regions []*Region

Regions represents a slice of regions.

Jump to

Keyboard shortcuts

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