Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CheckPrivateState ¶
Types ¶
type Config ¶
type Config struct {
MaxQueued int `yaml:"max-queued"`
MaxRuns int `yaml:"max-active-runs"`
RunTimeout string `yaml:"run-timeout"`
MinFreeBytes *uint64 `yaml:"min-free-bytes"`
MinFreeInodes *uint64 `yaml:"min-free-inodes"`
TempDirectory string `yaml:"temporary-directory"`
}
func (Config) TemporaryDirectory ¶
func (Config) Thresholds ¶
type Filesystem ¶
type Filesystem struct {
Path string `json:"path"`
FreeBytes uint64 `json:"free_bytes"`
FreeInodes uint64 `json:"free_inodes"`
}
func StatFilesystem ¶
func StatFilesystem(path string) (Filesystem, error)
type RotatingLog ¶
type RotatingLog struct {
Path string
MaxBytes int64
Backups int
// contains filtered or unexported fields
}
func (*RotatingLog) Close ¶
func (l *RotatingLog) Close() error
Click to show internal directories.
Click to hide internal directories.