package annotations

import "github.com/Microsoft/hcsshim/internal/annotations"

This package contains annotations that are not exposed to end users and mainly for testing and debugging purposes.

Do not rely on these annotations to customize production workload behavior.

Index

Constants

const (
	// AdditionalRegistryValues specifies additional registry keys and their values to set in the WCOW UVM.
	// The format is a JSON-encoded string of an array containing [HCS RegistryValue] objects.
	//
	// Registry values will be available under `HKEY_LOCAL_MACHINE` root key.
	//
	// For example:
	//
	//	"[{\"Key\": {\"Hive\": \"System\", \"Name\": \"registry\\key\\path"}, \"Name\": \"ValueName\", \"Type\": \"String\", \"StringValue\": \"value\"}]"
	//
	// [HCS RegistryValue]: https://learn.microsoft.com/en-us/virtualization/api/hcs/schemareference#registryvalue
	AdditionalRegistryValues = "io.microsoft.virtualmachine.wcow.additional-reg-keys"
)

Source Files

annotations.go

Version
v0.12.0-rc.2
Published
Dec 20, 2023
Platform
windows/amd64
Last checked
48 minutes ago

Tools for package owners.