Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommandsTo ¶
func FindPartners ¶
FindPartners implements the interactive search functionality for partner ports.
Types ¶
type PartnerOutput ¶
type PartnerOutput struct {
output.Output `json:"-" header:"-"`
ProductName string `json:"product_name"`
UID string `json:"uid"`
ConnectType string `json:"connect_type"`
CompanyName string `json:"company_name"`
LocationId int `json:"location_id"`
DiversityZone string `json:"diversity_zone"`
VXCPermitted bool `json:"vxc_permitted"`
}
PartnerOutput represents the desired fields for JSON output.
func ToPartnerOutput ¶
func ToPartnerOutput(p *megaport.PartnerMegaport) PartnerOutput
ToPartnerOutput converts a PartnerMegaport to a PartnerOutput.
Click to show internal directories.
Click to hide internal directories.