Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type VMOption ¶
type VMOption = func(*vmArgs) error
func WithInstancetype ¶
WithInstanceType sets the VM instance type instanceType must be a valid gcp instance type, see: https://cloud.google.com/compute/docs/general-purpose-machines
func WithNestedVirt ¶
WithNestedVirt sets if the VM allows nested virtualization This is useful in case of openshift as it only runs on a VM.
func WithOS ¶
func WithOS(osDesc os.Descriptor) VMOption
WithOS sets the OS Version defaults to latest
func WithOSArch ¶
func WithOSArch(osDesc os.Descriptor, arch os.Architecture) VMOption
WithArch set the architecture and the operating system. Version defaults to latest
Click to show internal directories.
Click to hide internal directories.