extra

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 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)

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

func (*Config) SetCloudInitUserData

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

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.

func (*Config) SetIgnitionUserData added in v1.5.0

func (e *Config) SetIgnitionUserData(data []byte)

SetIgnitionUserData sets the ignition user data at the key "guestinfo.ignition.config.data" as a base64-encoded string.

Jump to

Keyboard shortcuts

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