extra

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config []types.BaseOptionValue

Config is data used with a VM's guestInfo RPC interface.

func (*Config) SetCloudInitMetadata

func (e *Config) SetCloudInitMetadata(data []byte) error

SetCloudInitMetadata sets the cloud init user data at the key "guestinfo.metadata" as a base64-encoded string.

func (*Config) SetCloudInitUserData

func (e *Config) SetCloudInitUserData(data []byte) error

SetCloudInitUserData sets the cloud init user data at the key "guestinfo.userdata" as a base64-encoded string.

func (*Config) SetCustomVMXKeys added in v0.7.2

func (e *Config) SetCustomVMXKeys(customKeys map[string]string) error

SetCustomVMXKeys sets the custom VMX keys as OptionValues in extraConfig.

Jump to

Keyboard shortcuts

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