key

package
v0.23.17 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: Apache-2.0 Imports: 3 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 KVM.

func ClusterGuestConfig

func ClusterGuestConfig(kvmClusterConfig v1alpha1.KVMClusterConfig) v1alpha1.ClusterGuestConfig

ClusterGuestConfig extracts ClusterGuestConfig from KVMClusterConfig.

func ClusterID

func ClusterID(customObject v1alpha1.KVMClusterConfig) string

ClusterID extracts clusterID from v1alpha1.KVMClusterConfig.

func IsEmptyValueError

func IsEmptyValueError(err error) bool

IsEmptyValueError asserts emptyValueError.

func IsWrongTypeError

func IsWrongTypeError(err error) bool

IsWrongTypeError asserts wrongTypeError.

func ToClusterGuestConfig

func ToClusterGuestConfig(kvmClusterConfig v1alpha1.KVMClusterConfig) v1alpha1.ClusterGuestConfig

ToClusterGuestConfig extracts ClusterGuestConfig from KVMClusterConfig.

func ToCustomObject

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

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

func VersionBundleVersion

func VersionBundleVersion(kvmClusterConfig v1alpha1.KVMClusterConfig) string

VersionBundleVersion extracts version bundle version from KVMClusterConfig.

func WorkerCount

func WorkerCount(kvmClusterConfig v1alpha1.KVMClusterConfig) int

func WorkerMaxCPUCores added in v0.23.6

func WorkerMaxCPUCores(kvmClusterConfig v1alpha1.KVMClusterConfig) (maxCPUCores int, known bool)

func WorkerMaxMemorySizeGB added in v0.23.8

func WorkerMaxMemorySizeGB(kvmClusterConfig v1alpha1.KVMClusterConfig) (maxMemorySizeGB float64, known bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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