package
0.3.12
Repository: https://github.com/google/go-tpm-tools.git
Documentation: pkg.go.dev

# Functions

GetLaunchPolicy takes in a map[string] string which should come from image labels, and will try to parse it into a LaunchPolicy.
GetLaunchSpec takes in a metadata server client, reads and parse operator's input to the GCE instance custom metadata and return a LaunchSpec.

# Constants

Restart Policy enum values.
Restart Policy enum values.
Restart Policy enum values.

# Structs

EnvVar represent a single environment variable key/value pair.
LaunchPolicy contains policies on starting the container.
LaunchSpec contains specification set by the operator who wants to launch a container.

# Type aliases

RestartPolicy is the enum for the container restart policy.