Documentation ¶
Index ¶
Constants ¶
View Source
const EnvVolumeKey = "PACK_VOLUME_KEY"
Variables ¶
View Source
var RunningInContainer = func() bool { return proc.GetContainerRuntime(0, 0) != proc.RuntimeNotFound }
Functions ¶
This section is empty.
Types ¶
type BindCache ¶
type BindCache struct {
// contains filtered or unexported fields
}
func NewBindCache ¶
func NewBindCache(cacheType CacheInfo, dockerClient DockerClient) *BindCache
type CacheInfo ¶
func (*CacheInfo) SourceName ¶
type DockerClient ¶
type ImageCache ¶
type ImageCache struct {
// contains filtered or unexported fields
}
func NewImageCache ¶
func NewImageCache(imageRef name.Reference, dockerClient DockerClient) *ImageCache
func (*ImageCache) Name ¶
func (c *ImageCache) Name() string
func (*ImageCache) Type ¶
func (c *ImageCache) Type() Type
type VolumeCache ¶
type VolumeCache struct {
// contains filtered or unexported fields
}
func NewVolumeCache ¶
func NewVolumeCache(imageRef name.Reference, cacheType CacheInfo, suffix string, dockerClient DockerClient, logger logging.Logger) (*VolumeCache, error)
func (*VolumeCache) Name ¶
func (c *VolumeCache) Name() string
func (*VolumeCache) Type ¶
func (c *VolumeCache) Type() Type
Click to show internal directories.
Click to hide internal directories.