ibmpower

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CloudConfig []byte

Functions

func Destroy

func Destroy(mCtxArgs *mc.ContextArgs) (err error)

Destroy tears down the Power VS stack identified by mCtxArgs.

func New

func New(ctx *mc.ContextArgs, args *PWArgs) error

New provisions a Power VS (ppc64) instance inside an existing workspace and network. Both NetworkID and WorkspaceID are required. When VPCSubnetID is set, a VPC bastion with a floating IP is also created for SSH access.

Types

type PWArgs

type PWArgs struct {
	Prefix            string
	PIPrivateSubnetID string
	WorkspaceID       string
	// VPCPublicSubnetID is optional. When set, a small VPC bastion instance
	// with a floating IP is created in this subnet to provide SSH access to
	// the PowerVS instance over the Transit Gateway private network.
	VPCPublicSubnetID string
	// Instance sizing
	Memory      float64
	Processors  float64
	ProcType    string
	SysType     string
	StorageType string
	DiskSize    int
	// OtelAppCode, OtelAuthToken, and OtelEndpoint are optional. When AppCode
	// and AuthToken are both set, the otelcol-contrib filelog collector is
	// installed and started, shipping logs to OtelEndpoint.
	OtelAppCode    string
	OtelAuthToken  string
	OtelEndpoint   string
	OtelIndex      string
	OtelExtraAttrs map[string]string
}

Jump to

Keyboard shortcuts

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