provider

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteAWSTemplate

func WriteAWSTemplate(out io.Writer, config NodePoolCRsConfig) error

func WriteAzureTemplate

func WriteAzureTemplate(out io.Writer, config NodePoolCRsConfig) error

Types

type NodePoolCRsConfig

type NodePoolCRsConfig struct {
	// AWS only.
	AWSInstanceType                     string
	OnDemandBaseCapacity                int
	OnDemandPercentageAboveBaseCapacity int
	UseAlikeInstanceTypes               bool

	// Azure only.
	PublicSSHKey string
	VMSize       string

	// Common.
	FileName          string
	NodePoolID        string
	AvailabilityZones []string
	ClusterID         string
	Description       string
	NodesMax          int
	NodesMin          int
	Owner             string
	Region            string
	ReleaseComponents map[string]string
	ReleaseVersion    string
	Namespace         string
}

Jump to

Keyboard shortcuts

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