Documentation ¶
Index ¶
- Constants
- func Configure()
- func GetAppDir() string
- func GetConfigFiles() []string
- func GetLoggerOptions() *log.LoggerOptions
- func GetPluginDir() string
- func GetPluginLoggerOptions() *log.LoggerOptions
- func LogLevel() log.Level
- func LogOutput() io.Writer
- func ParseBuildArgument(spec string) (*api.BuildArgument, error)
- func ParseDeviceMapping(spec string) (*api.DeviceMapping, error)
- func ParseEnvironmentVariable(spec string) (*api.EnvironmentVariable, error)
- func ParsePortBinding(spec string) (*api.PortBinding, error)
- func ParseSSHAgent(spec string) (*api.SshAgent, error)
- func ParseVolumeMount(spec string) (*api.VolumeMount, error)
- type FormatError
Constants ¶
View Source
const ( Name = "dodo" ConfKeyConfigFiles = "config-files" ConfKeyLogLevel = "log-level" ConfKeyLogFile = "log-file" ConfKeyAppDir = "app-dir" DefaultLogLevel = "INFO" DefaultAppDir = "/var/lib/dodo" )
Variables ¶
This section is empty.
Functions ¶
func GetConfigFiles ¶ added in v0.4.2
func GetConfigFiles() []string
func GetLoggerOptions ¶
func GetLoggerOptions() *log.LoggerOptions
func GetPluginDir ¶
func GetPluginDir() string
func GetPluginLoggerOptions ¶
func GetPluginLoggerOptions() *log.LoggerOptions
func ParseBuildArgument ¶
func ParseBuildArgument(spec string) (*api.BuildArgument, error)
func ParseDeviceMapping ¶
func ParseDeviceMapping(spec string) (*api.DeviceMapping, error)
func ParseEnvironmentVariable ¶
func ParseEnvironmentVariable(spec string) (*api.EnvironmentVariable, error)
func ParsePortBinding ¶
func ParsePortBinding(spec string) (*api.PortBinding, error)
func ParseVolumeMount ¶
func ParseVolumeMount(spec string) (*api.VolumeMount, error)
Types ¶
type FormatError ¶
type FormatError string
const ( ErrArgumentFormat FormatError = "invalid argument format" ErrDeviceFormat FormatError = "invalid device format" ErrVolumeFormat FormatError = "invalid volume format" ErrEnvironmentFormat FormatError = "invalid environment format" ErrPortFormat FormatError = "invalid publish format" ErrSSHAgentFormat FormatError = "invalid ssh agent format" )
func (FormatError) Error ¶
func (e FormatError) Error() string
Click to show internal directories.
Click to hide internal directories.