identity

package
v0.6.12 Latest Latest
Warning

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

Go to latest
Published: May 31, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package identity loads and saves Virtualization identity objects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMacAuxiliaryStorage

func CreateMacAuxiliaryStorage(path string, model vz.VZMacHardwareModel, overwrite bool) (vz.VZMacAuxiliaryStorage, error)

CreateMacAuxiliaryStorage creates auxiliary storage at path for model.

func CreateMacMachineIdentifier

func CreateMacMachineIdentifier(path string) error

CreateMacMachineIdentifier creates and saves a new macOS machine identifier.

func LoadMacAuxiliaryStorage

func LoadMacAuxiliaryStorage(path string) (vz.VZMacAuxiliaryStorage, error)

LoadMacAuxiliaryStorage loads auxiliary storage from path.

func LoadMacHardwareModel

func LoadMacHardwareModel(path string) (vz.VZMacHardwareModel, error)

LoadMacHardwareModel loads a macOS hardware model from path.

func LoadMacMachineIdentifier

func LoadMacMachineIdentifier(path string) (vz.VZMacMachineIdentifier, error)

LoadMacMachineIdentifier loads a macOS machine identifier from path.

func LoadOrCreateMacMachineIdentifier

func LoadOrCreateMacMachineIdentifier(path string) (vz.VZMacMachineIdentifier, bool, error)

LoadOrCreateMacMachineIdentifier loads a macOS machine identifier or creates one.

func SaveMacHardwareModel

func SaveMacHardwareModel(model vz.VZMacHardwareModel, path string) error

SaveMacHardwareModel saves a hardware model to path.

func SaveMacMachineIdentifier

func SaveMacMachineIdentifier(machineID vz.VZMacMachineIdentifier, path string) error

SaveMacMachineIdentifier saves a macOS machine identifier to path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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