Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type VMOption ¶
type VMOption = func(*vmArgs) error
func WithInstancetype ¶ added in v0.0.6
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 ¶ added in v0.0.6
WithNestedVirt sets if the VM allows nested virtualization This is useful in case of openshift as it only runs on a VM.
func WithOS ¶ added in v0.0.4
func WithOS(osDesc os.Descriptor) VMOption
WithOS sets the OS Version defaults to latest
func WithOSArch ¶ added in v0.0.4
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.