key

package
v0.23.8 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChartSpecs

func ChartSpecs() []key.ChartSpec

ChartSpecs returns charts installed only for AWS.

func ClusterGuestConfig

func ClusterGuestConfig(awsClusterConfig v1alpha1.AWSClusterConfig) v1alpha1.ClusterGuestConfig

ClusterGuestConfig extracts ClusterGuestConfig from AWSClusterConfig.

func ClusterID

func ClusterID(getter LabelsGetter) string

func IsEmptyValueError

func IsEmptyValueError(err error) bool

IsEmptyValueError asserts emptyValueError.

func IsWrongTypeError

func IsWrongTypeError(err error) bool

IsWrongTypeError asserts wrongTypeError.

func MachineDeployment

func MachineDeployment(getter LabelsGetter) string

func OperatorVersion

func OperatorVersion(getter LabelsGetter) string

func OrganizationID

func OrganizationID(getter LabelsGetter) string

func ReleaseVersion

func ReleaseVersion(getter LabelsGetter) string

func ToCustomObject

func ToCustomObject(v interface{}) (v1alpha1.AWSClusterConfig, error)

ToCustomObject converts value to v1alpha1.AWSClusterConfig and returns it or error if type does not match.

func VersionBundleVersion

func VersionBundleVersion(awsClusterConfig v1alpha1.AWSClusterConfig) string

VersionBundleVersion extracts version bundle version from AWSClusterConfig.

func WorkerCount

func WorkerCount(awsClusterConfig v1alpha1.AWSClusterConfig) int

Types

type LabelsGetter

type LabelsGetter interface {
	GetLabels() map[string]string
}

Jump to

Keyboard shortcuts

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