config

package
v0.0.0-...-e23c53f Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2017 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AntConfig

type AntConfig struct {
	FrontendInfo *FrontendInfo `yaml:"frontend"`
}

AntConfig is part of the webtaskrunner configuration and contains all ant specific settings

type Config

type Config struct {
	Integrations Integrations `yaml:"integrations"`
}

Config represents the configuration defined in webtaskrunner.yaml

func Load

func Load() (*Config, error)

Load reads the webtaskrunner yaml configuration and deserializes it into a Configuration struct which is returned on success

type FrontendInfo

type FrontendInfo struct {
	ImageUrl string `yaml:"imageUrl"`
	Name     string `yaml:"name"`
	Route    string `yaml:"route"`
}

FrontendInfo contains the configuration for one integration in frontend

type GradleConfig

type GradleConfig struct {
	FrontendInfo *FrontendInfo `yaml:"frontend"`
	ExecutionDir string        `yaml:"execution_dir"`
}

GradleConfig is part of the webtaskrunner configuration and contains all gradle specific settings

type GruntConfig

type GruntConfig struct {
	FrontendInfo  *FrontendInfo `yaml:"frontend"`
	ExecutionDir  string        `yaml:"execution_dir"`
	GruntFilePath string        `yaml:"gruntfile_path"`
}

GruntConfig is part of the webtaskrunner configuration and contains all grunt specific settings

type GulpConfig

type GulpConfig struct {
	FrontendInfo *FrontendInfo `yaml:"frontend"`
	ExecutionDir string        `yaml:"execution_dir"`
	GulpFilePath string        `yaml:"gulpfile_path"`
}

GulpConfig is part of the webtaskrunner configuration and contains all gulp specific settings

type Integrations

type Integrations struct {
	Ant    *AntConfig    `yaml:"ant"`
	Gradle *GradleConfig `yaml:"gradle"`
	Grunt  *GruntConfig  `yaml:"grunt"`
	Gulp   *GulpConfig   `yaml:"gulp"`
}

Integrations represents a static list of configured integrations

Jump to

Keyboard shortcuts

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