partners

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommandsTo

func AddCommandsTo(rootCmd *cobra.Command)

func FindPartners

func FindPartners(cmd *cobra.Command, args []string, noColor bool) error

func ListPartners

func ListPartners(cmd *cobra.Command, args []string, noColor bool, outputFormat string) error

Types

type Module added in v0.3.4

type Module struct{}

func NewModule added in v0.3.4

func NewModule() *Module

func (*Module) Name added in v0.3.4

func (m *Module) Name() string

func (*Module) RegisterCommands added in v0.3.4

func (m *Module) RegisterCommands(rootCmd *cobra.Command)

type PartnerOutput

type PartnerOutput struct {
	output.Output `json:"-" header:"-"`
	ProductName   string `json:"product_name" header:"Name"`
	UID           string `json:"uid" header:"UID"`
	ConnectType   string `json:"connect_type" header:"Connect Type"`
	CompanyName   string `json:"company_name" header:"Company Name"`
	LocationId    int    `json:"location_id" header:"Location ID"`
	DiversityZone string `json:"diversity_zone" header:"Diversity Zone"`
	VXCPermitted  bool   `json:"vxc_permitted" header:"VXC Permitted"`
}

func ToPartnerOutput

func ToPartnerOutput(p *megaport.PartnerMegaport) PartnerOutput

Jump to

Keyboard shortcuts

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