Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Auth context.Context
Auth is the authorization context used by the ali client
View Source
var Client *ldapi.APIClient
Client is the api client
View Source
var CurrentEnvironment = "production"
CurrentEnvironment is the environment to use
View Source
var CurrentProject = "default"
CurrentProject is the project to use
View Source
var CurrentServer string
CurrentServer is the url of the api to use
View Source
var CurrentToken string
CurrentToken is the api token
View Source
var Debug bool
Debug turns on debugging of http requests
View Source
var HTTPClient *http.Client
HTTPClient is an underlying http client with logging transport
View Source
var UserAgent string
UserAgent is the current user agent for this version of the command
Functions ¶
func Initialize ¶
func Initialize(userAgent string)
Initialize sets up api for use with a given user agent string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.