cmd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConnectionsAPIClient *buyer.ECXConnectionsAPI

ConnectionsAPIClient Connections interface

View Source
var EcxAPIClient *client.EquinixAPIClient

EcxAPIClient instance of EquinixAPI to ECX

View Source
var MetrosAPIClient *buyer.ECXMetrosAPI

MetrosAPIClient Metros interface

View Source
var PortsAPIClient *buyer.ECXPortsAPI

PortsAPIClient Ports interface

View Source
var RoutingInstanceAPIClient *buyer.ECXRoutingInstanceAPI

RoutingInstanceAPIClient Routing Instance interface

View Source
var SellerServicesAPIClient *buyer.ECXSellerServicesAPI

SellerServicesAPIClient Seller Services interface

View Source
var VERSION = "0.1"

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type GlobalFlags

type GlobalFlags struct {
	UserName               string
	UserPassword           string
	APICredentialGrantType string
	EcxAPIHost             string
	PlaygroundToken        string
	PlaygroundAPIEndpoint  string

	Debug bool
	NoSSL bool

	EquinixAPISecret string
	EquinixAPIId     string
}

GlobalFlags are flags defined globally and are inherited to all sub-commands

Jump to

Keyboard shortcuts

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