Documentation ¶
Index ¶
- func IsInvalidFlag(err error) bool
- func WriteAWSTemplate(ctx context.Context, client k8sclient.Interface, out io.Writer, ...) error
- func WriteAzureTemplate(ctx context.Context, client k8sclient.Interface, out io.Writer, ...) error
- func WriteCAPAEKSTemplate(ctx context.Context, client k8sclient.Interface, out io.Writer, ...) error
- func WriteCAPATemplate(ctx context.Context, client k8sclient.Interface, out io.Writer, ...) error
- func WriteCAPZTemplate(ctx context.Context, client k8sclient.Interface, out io.Writer, ...) error
- func WriteGSAWSTemplate(out io.Writer, config NodePoolCRsConfig) error
- func WriteGSAzureTemplate(out io.Writer, config NodePoolCRsConfig) error
- type NodePoolCRsConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidFlag ¶ added in v1.32.0
IsInvalidFlag asserts invalidFlagError.
func WriteAWSTemplate ¶
func WriteAzureTemplate ¶
func WriteCAPAEKSTemplate ¶ added in v1.43.0
func WriteCAPATemplate ¶ added in v1.32.0
func WriteCAPZTemplate ¶ added in v1.37.0
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 EKS bool // Azure only. VMSize string AzureUseSpotVms bool AzureSpotMaxPrice float32 // Common. FileName string NodePoolID string AvailabilityZones []string ClusterName string Description string NodesMax int NodesMin int Organization string ReleaseComponents map[string]string ReleaseVersion string Namespace string }
Click to show internal directories.
Click to hide internal directories.