Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Kind is the canonical name of the plugin for starting up, etc. Kind = "oracle" // EnvNamespaceTags is the env to set for namespace tags. It's k=v,... EnvNamespaceTags = "INFRAKIT_ORACLE_NAMESPACE_TAGS" // EnvRegion is the env for oracle region. Don't set this if want auto detect. EnvRegion = "INFRAKIT_ORACLE_REGION" // EnvStackName is the env for stack name EnvStackName = "INFRAKIT_ORACLE_STACKNAME" // EnvKeyFile specifies the location of the keyfile EnvKeyFile = "INFRAKIT_ORACLE_KEYFILE" // EnvFingerprint specifies the fingerprint EnvFingerprint = "INFRAKIT_ORACLE_FINGERPRINT" // EnvTenancyID specifies the tenancy id EnvTenancyID = "INFRAKIT_ORACLE_TENANCY_ID" // EnvComponentID specifies the component ID EnvComponentID = "INFRAKIT_ORACLE_COMPONENT_ID" // EnvUserID specifies the user id EnvUserID = "INFRAKIT_ORACLE_USER_ID" // EnvLBNames is the name of the LB ENV variable name for the ELB plugin. EnvLBNames = "INFRAKIT_ORACLE_LB_NAMES" )
Variables ¶
View Source
var DefaultOptions = Options{ Namespace: defaultNamespace(), LBNames: strings.Split(local.Getenv(EnvLBNames, ""), ","), Options: oracle.Options{ UserID: local.Getenv(EnvUserID, ""), ComponentID: local.Getenv(EnvComponentID, ""), TenancyID: local.Getenv(EnvTenancyID, ""), Fingerprint: local.Getenv(EnvFingerprint, ""), KeyFile: local.Getenv(EnvKeyFile, ""), Region: local.Getenv(EnvRegion, ""), StackName: local.Getenv(EnvStackName, ""), }, }
DefaultOptions return an Options with default values filled in.
Functions ¶
Types ¶
type Options ¶
type Options struct { // Namespace is a set of kv pairs for tags that namespaces the resource instances Namespace map[string]string // LBNames is a list of names for ELB instances to start the L4 plugins LBNames []string oracle.Options `json:",inline" yaml:",inline"` }
Options capture the options for starting up the plugin.
Click to show internal directories.
Click to hide internal directories.