powervs

package
v0.9.153 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Overview

Package powervs contains Power Virtual Servers-specific Terraform-variable logic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TFVars

func TFVars(sources TFVarsSources) ([]byte, error)

TFVars generates Power VS-specific Terraform variables launching the cluster.

Types

type TFVarsSources

type TFVarsSources struct {
	MasterConfigs          []*machinev1.PowerVSMachineProviderConfig
	APIKey                 string
	SSHKey                 string
	Region                 string
	Zone                   string
	ImageBucketName        string
	ImageBucketFileName    string
	PowerVSResourceGroup   string
	CISInstanceCRN         string
	DNSInstanceCRN         string
	VPCRegion              string
	VPCZone                string
	VPCName                string
	VPCSubnetName          string
	VPCPermitted           bool
	VPCGatewayName         string
	VPCGatewayAttached     bool
	PublishStrategy        types.PublishingStrategy
	EnableSNAT             bool
	AttachedTransitGateway string
	TGConnectionVPCID      string
	ServiceInstanceName    string
}

TFVarsSources contains the parameters to be converted into Terraform variables

Jump to

Keyboard shortcuts

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