config

package
Version: v0.0.0-...-5f4265e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2015 License: Apache-2.0 Imports: 6 Imported by: 11

Documentation

Overview

Configuration items for geard internals and extension mechanism for registering required directories.

Index

Constants

This section is empty.

Variables

View Source
var (
	SystemDockerFeatures = DockerFeatures{}
)

Functions

func AddRequiredDirectory

func AddRequiredDirectory(mode os.FileMode, paths ...string)

Describe a directory that should be required to exist

func ContainerBasePath

func ContainerBasePath() string

func ContainerRunPath

func ContainerRunPath() string

func HasRequiredDirectories

func HasRequiredDirectories() error

Check any directories that have not yet been validated.

func SetContainerBasePath

func SetContainerBasePath(value string) error

func SetContainerRunPath

func SetContainerRunPath(value string) error

func SetSystemdBasePath

func SetSystemdBasePath(value string) error

func SystemdBasePath

func SystemdBasePath() string

Types

type DockerConfiguration

type DockerConfiguration struct {
	Socket string
}

type DockerFeatures

type DockerFeatures struct {
	EnvironmentFile bool
	ForegroundRun   bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL