 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
    var ( // EnvTrace is the environment variable `IBMCLOUD_TRACE` and `BLUEMIX_TRACE` (deprecated) EnvTrace = newEnv("IBMCLOUD_TRACE", "BLUEMIX_TRACE") // EnvColor is the environment variable `IBMCLOUD_COLOR` and `BLUEMIX_COLOR` (deprecated) EnvColor = newEnv("IBMCLOUD_COLOR", "BLUEMIX_COLOR") // EnvVersionCheck is the environment variable `IBMCLOUD_VERSION_CHECK` and `BLUEMIX_VERSION_CHECK` (deprecated) EnvVersionCheck = newEnv("IBMCLOUD_VERSION_CHECK", "BLUEMIX_VERSION_CHECK") // EnvAnalytics is the environment variable `IBMCLOUD_ANALYTICS` and `BLUEMIX_ANALYTICS` (deprecated) EnvAnalytics = newEnv("IBMCLOUD_ANALYTICS", "BLUEMIX_ANALYTICS") // EnvHTTPTimeout is the environment variable `IBMCLOUD_HTTP_TIMEOUT` and `BLUEMIX_HTTP_TIMEOUT` (deprecated) EnvHTTPTimeout = newEnv("IBMCLOUD_HTTP_TIMEOUT", "BLUEMIX_HTTP_TIMEOUT") // EnvAPIKey is the environment variable `IBMCLOUD_API_KEY` and `BLUEMIX_API_KEY` (deprecated) EnvAPIKey = newEnv("IBMCLOUD_API_KEY", "BLUEMIX_API_KEY") // EnvConfigHome is the environment variable `IBMCLOUD_HOME` and `BLUEMIX_HOME` (deprecated) EnvConfigHome = newEnv("IBMCLOUD_HOME", "BLUEMIX_HOME") // EnvConfigDir is the environment variable `IBMCLOUD_CONFIG_HOME` EnvConfigDir = newEnv("IBMCLOUD_CONFIG_HOME") // EnvQuiet is the environment variable `IBMCLOUD_QUIET` EnvQuiet = newEnv("IBMCLOUD_QUIET") // for internal use EnvCLIName = newEnv("IBMCLOUD_CLI", "BLUEMIX_CLI") EnvPluginNamespace = newEnv("IBMCLOUD_PLUGIN_NAMESPACE", "BLUEMIX_PLUGIN_NAMESPACE") )
      View Source
      
  var Version = VersionType{Major: 0, Minor: 5, Build: 2}
    Version is the SDK version
Functions ¶
This section is empty.
Types ¶
type Env ¶ added in v0.2.0
type Env struct {
	// contains filtered or unexported fields
}
    Env is an environment variable supported by IBM Cloud CLI for specific purpose An Env could be bound to multiple environment variables due to historical reasons (i.e. renaming) Make sure you define the latest environment variable first
type VersionType ¶
type VersionType struct {
	Major int // major version
	Minor int // minor version
	Build int // build number
}
    VersionType describe version info
func (VersionType) String ¶
func (v VersionType) String() string
String will return the version in semver format string "Major.Minor.Build"
       Directories
      ¶
      Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| 
          
            config_helpers
            
            
          
           Package config_helpers provides helper functions to locate configuration files. | Package config_helpers provides helper functions to locate configuration files. | 
| 
          
            core_config
            
            
          
           Package core_config provides functions to load core configuration. | Package core_config provides functions to load core configuration. | 
 Click to show internal directories. 
   Click to hide internal directories.