ibmz

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: 23 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 IBM Z VPC stack identified by mCtxArgs.

func New

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

New provisions an IBM Z (s390x) VPC instance. When SubnetID is set the instance is placed in the existing subnet; otherwise a new VPC, subnet, and gateway are created using the IC_ZONE environment variable.

Types

type ZArgs

type ZArgs struct {
	Prefix string
	// SubnetID, when set, deploys the instance into an existing VPC subnet
	// instead of provisioning a new VPC and subnet. IC_ZONE is not required
	// when this field is provided.
	SubnetID string
	// Instance sizing
	Profile  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