Documentation
¶
Overview ¶
Package infra executes the Podmin CLI's embedded infrastructure modules.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(ctx context.Context, variables Variables, destroy, autoApprove bool, input io.Reader, output, stderr io.Writer) error
Run writes and executes the module in the inspectable cluster cache.
func SelectCommand ¶
SelectCommand finds the configured OpenTofu/Terraform executable.
Types ¶
type NodeGroup ¶
type NodeGroup struct {
Size int `json:"size"`
InstanceType string `json:"instance_type"`
Architecture string `json:"architecture"`
UserData string `json:"user_data"`
}
NodeGroup is an authoritative AWS compute NodeGroup.
type ObjectStore ¶
ObjectStore gets one object and its opaque version.
type Variables ¶
type Variables struct {
ClusterID string `json:"cluster_id"`
Region string `json:"region"`
Profile string `json:"profile"`
Bucket string `json:"bucket"`
VPCCIDR string `json:"vpc_cidr"`
SubnetCIDRs map[string]string `json:"subnet_cidrs"`
NodeGroups map[string]NodeGroup `json:"nodegroups"`
}
Variables are values passed to the module as JSON.
Click to show internal directories.
Click to hide internal directories.