types

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheConfig

type CacheConfig struct {
	S3   *s3cache.S3Cache     `hcl:"s3,block"`
	File *filecache.FileCache `hcl:"file,block"`
}

type Config

type Config struct {
	Env          map[string]string
	Secrets      map[string]string
	SCM          []*scm.SCM
	Jobs         []*job.Job
	Cache        CacheConfig
	Kubernetes   *kubernetes.Kubernetes
	DockerConfig *docker.DockerConfig
	Engine       *string
}

func (Config) GetEngine

func (c Config) GetEngine() string

func (Config) GetNodes added in v0.3.0

func (c Config) GetNodes() []node.Node

func (Config) RenderTemplates added in v0.0.2

func (c Config) RenderTemplates(templates []*job.Job) error

func (Config) Validate

func (c Config) Validate() error

Jump to

Keyboard shortcuts

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