vmware

package
v2.18.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GUESTINFO_OVF               = "ovfenv"
	GUESTINFO_USERDATA          = "ignition.config.data"
	GUESTINFO_USERDATA_ENCODING = "ignition.config.data.encoding"

	GUESTINFO_DELETED_USERDATA          = "e30K"
	GUESTINFO_DELETED_USERDATA_ENCODING = "base64"

	OVF_PREFIX            = "guestinfo."
	OVF_USERDATA          = OVF_PREFIX + GUESTINFO_USERDATA
	OVF_USERDATA_ENCODING = OVF_PREFIX + GUESTINFO_USERDATA_ENCODING
)
View Source
const (
	XMLNS = "http://schemas.dmtf.org/ovf/environment/1"
)

Variables

This section is empty.

Functions

func DeleteOvfProperties added in v2.14.0

func DeleteOvfProperties(from []byte, props []string) ([]byte, bool, error)

Return the new OVF document, and true if anything was deleted.

Types

type OvfEnvironment added in v2.14.0

type OvfEnvironment struct {
	Platform   ovfPlatform
	Properties map[string]string
}

func ReadOvfEnvironment added in v2.14.0

func ReadOvfEnvironment(doc []byte) (OvfEnvironment, error)

Jump to

Keyboard shortcuts

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