Versions in this module Expand all Collapse all v0 v0.4.2 Apr 25, 2016 Changes in this version + const DefaultCacher + const DefaultCloner + const DefaultMatch + var ErrImageMissing = errors.New("Yaml must specify an image for every step") + var ErrImageWhitelist = errors.New("Yaml must specify am image from the white-list") + func Cache(n Node, dir string) error + func Debug(n Node, debug bool) error + func DefaultNotifyFilter(n Node) error + func Escalate(n Node) error + func HttpProxy(n Node) error + func ImageMatch(n Node, patterns []string) error + func ImageName(n Node) error + func ImagePull(n Node, pull bool) error + func Mount(n Node, from, to string) error + func Sanitize(n Node) error + func StorageDriver(n Node, storageDriver string) error + type DockerNode struct + AuthConfig yaml.AuthConfig + CPUSetCPUs string + Command []string + Commands []string + DNS []string + Devices []string + Entrypoint []string + Environment []string + ExtraHosts []string + Image string + Memory int64 + Net string + OomKillDisable bool + Privileged bool + Pull bool + Vargs map[string]interface{} + Volumes []string + type FilterNode struct + Branch []string + Change string + Environment []string + Event []string + Failure string + Matrix map[string]string + Node Node + Repo string + Success string + type ListNode struct + Nodes []Node + type Node interface + Type func() NodeType + type NodeType uint + const NodeBuild + const NodeCache + const NodeClone + const NodeCompose + const NodeDeploy + const NodeFilter + const NodeList + const NodeNotify + const NodePublish + func (t NodeType) Type() NodeType + type RuleFunc func(Node) error + func CacheFunc(dir string) RuleFunc + func DebugFunc(debug bool) RuleFunc + func ImageMatchFunc(patterns []string) RuleFunc + func ImagePullFunc(pull bool) RuleFunc + func MountFunc(from, to string) RuleFunc + func SanitizeFunc(trusted bool) RuleFunc + func StorageDriverFunc(storageDriver string) RuleFunc + type Tree struct + Root *ListNode + func Load(conf *yaml.Config, rules []RuleFunc) (*Tree, error) + func Parse(raw string, rules []RuleFunc) (*Tree, error)