Documentation
¶
Index ¶
- Constants
- func GetString(name string) string
- func Load() error
- func Name() string
- func OpsManagerURL() string
- func OrgID() string
- func PrivateAPIKey() string
- func ProjectID() string
- func Properties() []string
- func PublicAPIKey() string
- func Save() error
- func Service() string
- func Set(name, value string)
- func SetName(name *string)
- func SetOpsManagerURL(v string)
- func SetOrgID(v string)
- func SetPrivateAPIKey(v string)
- func SetProjectID(v string)
- func SetPublicAPIKey(v string)
- func SetService(v string)
- type Config
- type Getter
- type Saver
- type SetSaver
- type Setter
Constants ¶
View Source
const ( ToolName = "mongocli" // ToolName of the CLI EnvPrefix = "mcli" // Prefix for ENV variables DefaultProfile = "default" // DefaultProfile default CloudService = "cloud" // CloudService setting when using Atlas API CloudManagerService = "cloud-manager" // CloudManagerService settings when using CLoud Manager API OpsManagerService = "ops-manager" // OpsManagerService settings when using Ops Manager API )
Variables ¶
This section is empty.
Functions ¶
func Properties ¶
func Properties() []string
func SetOpsManagerURL ¶
func SetOpsManagerURL(v string)
SetOpsManagerURL set configured ops manager base url
func SetPrivateAPIKey ¶
func SetPrivateAPIKey(v string)
SetPrivateAPIKey set configured private api key
Types ¶
Click to show internal directories.
Click to hide internal directories.