Documentation ¶
Overview ¶
Package common defines values shared by different parts of rkt (e.g. stage0 and stage1)
Index ¶
- Constants
- func AppImagePath(root string, imageID types.Hash) string
- func AppRootfsPath(root string, imageID types.Hash) string
- func ContainerManifestPath(root string) string
- func ImageManifestPath(root string, imageID types.Hash) string
- func MetadataServicePrivateURL() string
- func MetadataServicePublicURL() string
- func RelAppImagePath(imageID types.Hash) string
- func RelAppRootfsPath(imageID types.Hash) string
- func Stage1ImagePath(root string) string
- func Stage1ManifestPath(root string) string
- func Stage1RootfsPath(root string) string
Constants ¶
const ( MetadataServiceIP = "169.254.169.255" MetadataServicePubPort = 80 MetadataServicePrvPort = 2375 )
Variables ¶
This section is empty.
Functions ¶
func AppImagePath ¶
AppImagePath returns the path where an app image (i.e. unpacked ACI) is rooted (i.e. where its contents are extracted during stage0), based on the app image ID.
func AppRootfsPath ¶
AppRootfsPath returns the path to an app's rootfs. imageID should be the app image ID.
func ContainerManifestPath ¶
ContainerManifestPath returns the path in root to the Container Runtime Manifest
func ImageManifestPath ¶
ImageManifestPath returns the path to the app's manifest file inside the expanded ACI. id should be the app image ID.
func MetadataServicePrivateURL ¶ added in v0.4.0
func MetadataServicePrivateURL() string
MetadataServicePrivateURL returns the private URL used to host the metadata service
func MetadataServicePublicURL ¶ added in v0.4.0
func MetadataServicePublicURL() string
MetadataServicePublicURL returns the public URL used to host the metadata service
func RelAppImagePath ¶
RelAppImagePath returns the path of an application image relative to the stage1 chroot
func RelAppRootfsPath ¶
RelAppImagePath returns the path of an application's rootfs relative to the stage1 chroot
func Stage1ImagePath ¶
Stage1ImagePath returns the path where the stage1 app image (unpacked ACI) is rooted, (i.e. where its contents are extracted during stage0).
func Stage1ManifestPath ¶
Stage1ManifestPath returns the path to the stage1's manifest file inside the expanded ACI.
func Stage1RootfsPath ¶
Stage1RootfsPath returns the path to the stage1 rootfs
Types ¶
This section is empty.