Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultManagementBase is the default management API URL for Apigee DefaultManagementBase = "https://api.enterprise.apigee.com" // HybridManagementBase is the default management API URL for Apigee Hybrid HybridManagementBase = "https://apigee.googleapis.com" // DefaultRouterBase is the default (fake format) for base of the organization router URL DefaultRouterBase = "https://{org}-{env}.apigee.net" // RouterBaseFormat is the real format for base of the organization router URL RouterBaseFormat = "https://%s-%s.apigee.net" )
Variables ¶
This section is empty.
Functions ¶
func Errorf ¶
func Errorf(format string, args ...interface{})
Errorf is a FormatFn that prints the formatted string to os.Stderr.
func Fatalf ¶
func Fatalf(format string, args ...interface{})
Fatalf is a FormatFn that prints the formatted string to os.Stderr and then calls os.Exit().
Types ¶
type BuildInfoType ¶
BuildInfoType holds version information
var BuildInfo BuildInfoType
BuildInfo is populated by main init()
type FormatFn ¶
type FormatFn func(format string, args ...interface{})
FormatFn formats the supplied arguments according to the format string provided and executes some set of operations with the result.
type RootArgs ¶
type RootArgs struct { RouterBase string // "https://org-env.apigee.net" ManagementBase string // "https://api.enterprise.apigee.com" Verbose bool Org string Env string Username string Password string Token string NetrcPath string IsOPDK bool IsHybrid bool // the following is derived in Resolve() InternalProxyURL string CustomerProxyURL string Client *apigee.EdgeClient ClientOpts *apigee.EdgeClientOptions }
RootArgs is the base struct to hold all command arguments
Click to show internal directories.
Click to hide internal directories.