Documentation
¶
Index ¶
- Constants
- Variables
- func ClassicLocation() *classicLocation
- func CleanupState(mCtx *mc.Context) error
- func Destroy(mCtx *mc.Context, stackName string) error
- func DestroyStack(mCtx *mc.Context, stackName string) error
- func GetClouProviderCredentials(fixedCredentials map[string]string) credentials.ProviderCredentials
- func TagsAsStringArray(tags map[string]string) pulumi.StringArray
- type IBMCloud
Constants ¶
View Source
const (
LOCATION_ENV = "IC_REGION"
)
Variables ¶
View Source
var (
DefaultCredentials = GetClouProviderCredentials(nil)
)
View Source
var LocationMapping = map[classicLocation]gen2Location{ "dal10": {/* contains filtered or unexported fields */}, "dal12": {/* contains filtered or unexported fields */}, "dal13": {/* contains filtered or unexported fields */}, "wdc06": {/* contains filtered or unexported fields */}, "tor01": {/* contains filtered or unexported fields */}, "mon01": {/* contains filtered or unexported fields */}, "lon04": {/* contains filtered or unexported fields */}, "fra04": {/* contains filtered or unexported fields */}, "fra05": {/* contains filtered or unexported fields */}, "syd04": {/* contains filtered or unexported fields */}, "tok04": {/* contains filtered or unexported fields */}}
Functions ¶
func ClassicLocation ¶
func ClassicLocation() *classicLocation
func CleanupState ¶
func GetClouProviderCredentials ¶
func GetClouProviderCredentials(fixedCredentials map[string]string) credentials.ProviderCredentials
func TagsAsStringArray ¶ added in v0.14.2
func TagsAsStringArray(tags map[string]string) pulumi.StringArray
TagsAsStringArray converts the map[string]string tags supplied via the --tags CLI flag to the key:value string format expected by IBM Cloud resource user tags (PiUserTags / Tags fields on Pulumi resources).
Types ¶
Click to show internal directories.
Click to hide internal directories.