ibmcloud

package
v0.14.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2026 License: Apache-2.0 Imports: 12 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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 CleanupState(mCtx *mc.Context) error

func Destroy

func Destroy(mCtx *mc.Context, stackName string) error

func DestroyStack

func DestroyStack(mCtx *mc.Context, stackName string) error

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

type IBMCloud

type IBMCloud struct{}

func Provider

func Provider() *IBMCloud

func (*IBMCloud) DefaultHostingPlace

func (a *IBMCloud) DefaultHostingPlace() (*string, error)

func (*IBMCloud) Init

func (i *IBMCloud) Init(ctx context.Context, backedURL string) (string, error)

func (*IBMCloud) Zone

func (a *IBMCloud) Zone() (*string, error)

Directories

Path Synopsis
action
modules
services

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL