provider

package
v1.37.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidFlag added in v1.32.0

func IsInvalidFlag(err error) bool

IsInvalidFlag asserts invalidFlagError.

func WriteAWSTemplate

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

func WriteAzureTemplate

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

func WriteCAPATemplate added in v1.32.0

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

func WriteCAPZTemplate added in v1.37.0

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

func WriteGSAWSTemplate added in v1.32.0

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

func WriteGSAzureTemplate added in v1.37.0

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

Types

type NodePoolCRsConfig

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

	// Azure only.
	VMSize            string
	AzureUseSpotVms   bool
	AzureSpotMaxPrice float32

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

Directories

Path Synopsis
templates

Jump to

Keyboard shortcuts

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