key

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2019 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

Types

This section is empty.

Jump to

Keyboard shortcuts

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