Documentation ¶
Index ¶
Constants ¶
View Source
const ( LogLevelDebug = "debug" LogLevelInfo = "info" LogLevelError = "error" LogLevelFatal = "fatal" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaggageclaimCommand ¶
type BaggageclaimCommand struct { Logger LagerFlag BindIP IPFlag `long:"bind-ip" default:"127.0.0.1" description:"IP address on which to listen for API traffic."` BindPort uint16 `long:"bind-port" default:"7788" description:"Port on which to listen for API traffic."` VolumesDir DirFlag `long:"volumes" required:"true" description:"Directory in which to place volume data."` Driver string `` /* 143-byte string literal not displayed */ BtrfsBin string `long:"btrfs-bin" default:"btrfs" description:"Path to btrfs binary"` MkfsBin string `long:"mkfs-bin" default:"mkfs.btrfs" description:"Path to mkfs.btrfs binary"` OverlaysDir string `long:"overlays-dir" description:"Path to directory in which to store overlay data"` ReapInterval time.Duration `long:"reap-interval" default:"10s" description:"Interval on which to reap expired volumes."` Metrics struct { YellerAPIKey string `long:"yeller-api-key" description:"Yeller API key. If specified, all errors logged will be emitted."` YellerEnvironment string `long:"yeller-environment" description:"Environment to tag on all Yeller events emitted."` } `group:"Metrics & Diagnostics"` }
func (*BaggageclaimCommand) Execute ¶
func (cmd *BaggageclaimCommand) Execute(args []string) error
type IPFlag ¶
func (*IPFlag) UnmarshalFlag ¶
Click to show internal directories.
Click to hide internal directories.