Documentation ¶
Index ¶
- func ChartSpecs() []key.ChartSpec
- func ClusterGuestConfig(kvmClusterConfig v1alpha1.KVMClusterConfig) v1alpha1.ClusterGuestConfig
- func ClusterID(customObject v1alpha1.KVMClusterConfig) string
- func IsEmptyValueError(err error) bool
- func IsWrongTypeError(err error) bool
- func ToClusterGuestConfig(kvmClusterConfig v1alpha1.KVMClusterConfig) v1alpha1.ClusterGuestConfig
- func ToCustomObject(v interface{}) (v1alpha1.KVMClusterConfig, error)
- func VersionBundleVersion(kvmClusterConfig v1alpha1.KVMClusterConfig) string
- func WorkerCount(kvmClusterConfig v1alpha1.KVMClusterConfig) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChartSpecs ¶
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 ¶
IsEmptyValueError asserts emptyValueError.
func IsWrongTypeError ¶
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.
Click to show internal directories.
Click to hide internal directories.