Documentation
¶
Index ¶
Constants ¶
const CloudAPIMajorVersion = "8"
CloudAPIMajorVersion specifies the CloudAPI version compatibility for current release of the Triton-go SDK.
const Version = "1.8.5"
Version represents main version number of the current release of the Triton-go SDK.
Variables ¶
var Prerelease = ""
Prerelease adds a pre-release marker to the version.
If this is "" (empty string) then it means that it is a final release. Otherwise, this is a pre-release such as "dev" (in development), "beta", "rc1", etc.
Functions ¶
func GetEnv ¶
GetEnv looks up environment variables using the preferred "TRITON" prefix, but falls back to the retired "SDC" prefix. For example, looking up "USER" will search for "TRITON_USER" followed by "SDC_USER". If the environment variable is not set, an empty string is returned. GetEnv() is used to aid in the transition and deprecation of the "SDC_*" environment variables.
Types ¶
type ClientConfig ¶
type ClientConfig struct { TritonURL string MantaURL string AccountName string Username string Signers []authentication.Signer }
ClientConfig is a placeholder/input struct around the behavior of configuring a client constructor through the implementation's runtime environment (SDC/MANTA env vars).
Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
manta
command
|
|
triton
command
|
|
examples
|
|
account/account_info
command
|
|
account/config
command
|
|
account/keys
command
|
|
compute/create_instance
command
|
|
compute/instances
command
|
|
compute/volumes/crud
command
|
|
compute/volumes/list_volumes
command
|
|
network
command
|
|
services/groups
command
|
|
services/templates
command
|
|
storage/create_job
command
|
|
storage/create_mpu
command
|
|
storage/force_delete
command
|
|
storage/force_put
command
|
|
storage/get_object
command
|
|
storage/list_directory
command
|
|
storage/mls
command
|
|
storage/object_put
command
|
|
storage/sign_url
command
|
|