Documentation ¶
Index ¶
- func DNSPolicy(policy string) (corev1.DNSPolicy, error)
- func DecodeProviderSpecAndSecret(machineClass *v1alpha1.MachineClass) (*api.KubeVirtProviderSpec, error)
- func ParseResources(cpus, memory string) (*corev1.ResourceList, error)
- func PrepareErrorf(err error, format string, args ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeProviderSpecAndSecret ¶
func DecodeProviderSpecAndSecret(machineClass *v1alpha1.MachineClass) (*api.KubeVirtProviderSpec, error)
DecodeProviderSpecAndSecret converts request parameters to api.ProviderSpec
func ParseResources ¶
func ParseResources(cpus, memory string) (*corev1.ResourceList, error)
func PrepareErrorf ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.