helper

package
v1.28.3 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 2 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterAutoscalerRequired

func ClusterAutoscalerRequired(pools []extensionsv1alpha1.WorkerPool) bool

ClusterAutoscalerRequired returns whether the given worker pool configuration indicates that a cluster-autoscaler is needed.

func GetDNSRecordTTL added in v1.27.0

func GetDNSRecordTTL(ttl *int64) int64

GetDNSRecordTTL returns the value of the given ttl, or 120 if nil.

func GetDNSRecordType added in v1.27.0

func GetDNSRecordType(address string) extensionsv1alpha1.DNSRecordType

GetDNSRecordType returns the appropriate DNS record type (A or CNAME) for the given address.

Types

This section is empty.

Jump to

Keyboard shortcuts

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