config

package
v0.0.0-...-3217735 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2015 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArchciConfig

type ArchciConfig struct {
	Image  string   `yaml:"image"`
	Env    []string `yaml:env`
	Script []string `yaml:"script"`
	Email  struct {
		Success []string `yaml:"success"`
		Failure []string `yaml:"failure"`
	} `yaml:"email"`
	Webhook struct {
		Success []string `yaml:success`
		Failure []string `yaml:failure`
	}
}

ArchciConfig represents the struct of .archci.yml file.

type WorkerConfig

type WorkerConfig struct {
	Debug          bool   `yaml:"debug"`
	ArchciServer   string `yaml:"archci_server"`
	Interval       int    `yaml:"interval"`
	ConcurrentTask int    `yaml:"concurrent_task"`
	CpuLimit       string `yaml:"cpu_limit"`
	MemoryLimit    string `yaml:"memory_limit"`
}

WorkerConfig represents the struct of worker.yml file.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL