# Packages
No description provided by the author
No description provided by the author
No description provided by the author
networking is the package that implements small functionality shared between state0 and stage1.
No description provided by the author
# Functions
AppCreatedPath returns the path of the ${appname}-created file, which is used to record the creation timestamp of the app.
AppCreatedPathFromStage1Rootfs returns the path of the ${appname}-created file, which is used to record the creation timestamp of the app.
AppImageManifestPath returns the path to the app's ImageManifest file.
AppInfoPath returns the path to the app's appsinfo directory of a pod.
AppPath returns the path to an app's rootfs.
AppRootfsPath returns the path to an app's rootfs.
AppsInfoPath returns the path to the appsinfo directory of a pod.
AppsPath returns the path where the apps within a pod live.
AppsStatusesPath returns the path of the status dir for all apps.
AppsStatusesPathFromStage1Rootfs returns the path of the status dir for all apps.
AppStartedPath returns the path of the ${appname}-started file, which is used to record the start timestamp of the app.
AppStartedPathFromStage1Rootfs returns the path of the ${appname}-started file, which is used to record the start timestamp of the app.
AppStatusPath returns the path of the status file of an app.
AppStatusPathFromStage1Rootfs returns the path of the status file of an app.
AppTreeStoreIDPath returns the path to the app's treeStoreID file of a pod.
ChrootPrivateUnmount cleans up in a safe way all mountpoints existing under `targetPath`.
ComposeEnviron formats the environment into a slice of strings, each of the form "key=value".
CreateSharedVolumesPath ensures the sharedVolumePath for the pod root passed in exists.
GetArch returns the current ACI architecture.
GetExitStatus converts an error to an exit status.
GetOS returns the current ACI operating system (linux, windows etc...).
No description provided by the author
No description provided by the author
ImageManifestPath returns the path to the app's manifest file of a pod.
ImageNameToAppName converts the full name of image to an app name without special characters - we use it as a default app name when specyfing it is optional.
* TODO(cdc) move this to cnitypes
*/ IsDNSZero checks if the DNS configuration has any information.
IsExperimentEnabled returns true if the given rkt experiment is enabled.
LookupGid reads the group file and returns the gid of the group specified by groupName.
LookupPath search for bin in paths.
MakeResolvConf generates resolv.conf contents given a cni DNS configuration.
MetadataServicePublicURL returns the public URL used to host the metadata service.
PathSupportsOverlay checks whether the given path is compatible with OverlayFS.
PodCreatedPath returns the path in root to the Pod Created file used to denote the time of creation.
PodManifestLockPath returns the path in root to the Pod Manifest lock file.
PodManifestPath returns the path in root to the Pod Manifest.
ReadEnvFileRaw reads the environment file, returning it as a slice of strings, each expected but not checked to be of the form "key=value".
RelAppPath returns the path of an app relative to the stage1 chroot.
RelAppRootfsPath returns the path of an app's rootfs relative to the stage1 chroot.
RemoveEmptyLines removes empty lines from the given string and breaks it up into a list of strings at newline characters.
SharedVolumesPath returns the path to the shared (empty) volumes of a pod.
SliceToPath explodes a slice name to its corresponding path in the cgroup hierarchy.
Stage1ImagePath returns the path where the stage1 app image (unpacked ACI) is rooted, (i.e.
Stage1ManifestPath returns the path to the stage1's manifest file inside the expanded ACI.
Stage1RootfsPath returns the path to the stage1 rootfs.
SupportsOverlay returns whether the operating system generally supports OverlayFS, returning an instance of ErrOverlayUnsupported which encodes the reason.
SupportsUserNS returns whether the kernel has CONFIG_USER_NS set.
SystemdVersion parses and returns the version of a given systemd binary.
WriteEnvFile creates an environment file for given app name.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
Stage2 (application name) to enter, optionally used by crossing entrypoints.
Enter command for crossing entrypoints.
Stage1 (PID) to enter, used by crossing entrypoints.
No description provided by the author
No description provided by the author
Default perm bits for the regular directories within the stage1 directory.
Default perm bits for the regular files within the stage1 directory.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
https://goo.gl/CBwx43.
https://goo.gl/xTvzO5.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
owns /etc/rkt.
owns /var/lib/rkt.
No description provided by the author
No description provided by the author
# Structs
NetList implements the flag.Value interface to allow specification of --net with and without values Example: --net="all,net1:k1=v1;k2=v2,net2:l1=w1".
# Type aliases
ErrOverlayUnsupported is the error determining whether OverlayFS is supported.