tfvars

package
v1.4.17 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 38 modules, 38 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package tfvars generates Terraform variables for launching the cluster.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TFVars

func TFVars(clusterID string, clusterDomain string, baseDomain string, machineV4CIDRs []string, machineV6CIDRs []string, useIPv4, useIPv6 bool, bootstrapIgn string, bootstrapIgnSize int64, masterIgn string, masterCount int, mastersSchedulable bool) ([]byte, error)

TFVars generates terraform.tfvar JSON for launching the cluster.

Types

type Config added in v0.4.15

type Config struct {
	ClusterID          string   `json:"cluster_id,omitempty"`
	ClusterDomain      string   `json:"cluster_domain,omitempty"`
	BaseDomain         string   `json:"base_domain,omitempty"`
	Masters            int      `json:"master_count,omitempty"`
	MastersSchedulable bool     `json:"masters_schedulable,omitempty"`
	MachineV4CIDRs     []string `json:"machine_v4_cidrs"`
	MachineV6CIDRs     []string `json:"machine_v6_cidrs"`

	UseIPv4 bool `json:"use_ipv4"`
	UseIPv6 bool `json:"use_ipv6"`

	IgnitionBootstrap     string `json:"ignition_bootstrap,omitempty"`
	IgnitionBootstrapFile string `json:"ignition_bootstrap_file,omitempty"`
	IgnitionMaster        string `json:"ignition_master,omitempty"`
}

Config contains the cluster data for terraform.

Directories

Path Synopsis
Package aws contains AWS-specific Terraform-variable logic.
Package aws contains AWS-specific Terraform-variable logic.
Package baremetal contains bare metal specific Terraform-variable logic.
Package baremetal contains bare metal specific Terraform-variable logic.
Package libvirt contains libvirt-specific Terraform-variable logic.
Package libvirt contains libvirt-specific Terraform-variable logic.
Package openstack contains OpenStack-specific Terraform-variable logic.
Package openstack contains OpenStack-specific Terraform-variable logic.
Package ovirt contains ovirt-specific Terraform-variable logic.
Package ovirt contains ovirt-specific Terraform-variable logic.
Package powervs contains Power Virtual Servers-specific Terraform-variable logic.
Package powervs contains Power Virtual Servers-specific Terraform-variable logic.

Jump to

Keyboard shortcuts

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