powervs

package
v1.4.13 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 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
	NetworkName          string
	PowerVSResourceGroup string
	CloudConnectionName  string
	CISInstanceCRN       string
	DNSInstanceCRN       string
	VPCRegion            string
	VPCZone              string
	VPCName              string
	VPCSubnetName        string
	VPCPermitted         bool
	VPCGatewayName       string
	VPCGatewayAttached   bool
	PublishStrategy      types.PublishingStrategy
	EnableSNAT           bool
}

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