# Functions
No description provided by the author
Attach runs attach entrypoint, crossing the stage0/stage1 border.
CheckMdsAvailability checks whether a local metadata service can be reached.
Enter enters the pod/app by exec()ing the stage1's /enter similar to /init /enter can expect to have its CWD set to the app root.
GC enters the pod by fork/exec()ing the stage1's /gc similar to /init.
InitDebug enables debugging.
MergeMounts combines the global and per-app mount slices.
MountGC removes mounts from pods that couldn't be GCed cleanly.
Prepare sets up a pod based on the given config.
No description provided by the author
Run mounts the right overlay filesystems and actually runs the prepared pod by exec()ing the stage1 init inside the pod filesystem.
No description provided by the author
No description provided by the author
StopPod stops the given pod.
# Variables
ValidOSArch contains the supported ACI image OS/architecture combinations.
# Structs
No description provided by the author
CommonConfig defines the configuration shared by both Run and Prepare.
CrossingEntrypoint represents a stage1 entrypoint whose execution needs to cross the stage0/stage1/stage2 boundary.
DNSConfMode indicates what the stage1 should do with dns config files The values and meanings are: 'host': bind-mount from host 'stage0': the stage0 has generated it 'none' : do not generate it 'default' : do whatever was the default.
PrepareConfig defines the configuration parameters required by Prepare.
No description provided by the author
RunConfig defines the configuration parameters needed by Run.
No description provided by the author
No description provided by the author
# Type aliases
HostsEntries encapsulates the entries in an etc-hosts file: mapping from IP to arbitrary list of hostnames.