config

package
v0.0.47 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Recursive bool `yaml:"recursive"`
	Namespace NamespaceConfig
	Runtime   RuntimeConfig
}

type CucumberConfig added in v0.0.25

type CucumberConfig struct {
	Tags    []string `yaml:"tags"`
	Glue    []string `yaml:"glue"`
	Options string   `yaml:"options"`
}

type DependencyConfig added in v0.0.42

type DependencyConfig struct {
	GroupId    string `yaml:"groupId"`
	ArtifactId string `yaml:"artifactId"`
	Version    string `yaml:"version"`
}

type EnvConfig added in v0.0.44

type EnvConfig struct {
	Name  string `yaml:"name"`
	Value string `yaml:"value"`
}

type NamespaceConfig

type NamespaceConfig struct {
	Name       string `yaml:"name"`
	Temporary  bool   `yaml:"temporary"`
	AutoRemove bool   `yaml:"autoRemove"`
}

type PolicyConfig added in v0.0.42

type PolicyConfig struct {
	Enabled      string `yaml:"enabled,omitempty"`
	UpdatePolicy string `yaml:"updatePolicy,omitempty"`
}

type RepositoryConfig added in v0.0.42

type RepositoryConfig struct {
	Id        string       `yaml:"id"`
	Name      string       `yaml:"name,omitempty"`
	Url       string       `yaml:"url"`
	Layout    string       `yaml:"layout,omitempty"`
	Releases  PolicyConfig `yaml:"releases,omitempty"`
	Snapshots PolicyConfig `yaml:"snapshots,omitempty"`
}

type RunConfig added in v0.0.24

type RunConfig struct {
	Config Config       `yaml:"config"`
	Pre    []StepConfig `yaml:"pre"`
	Post   []StepConfig `yaml:"post"`
}

func LoadConfig

func LoadConfig(file string) (*RunConfig, error)

func NewWithDefaults added in v0.0.26

func NewWithDefaults() *RunConfig

type RuntimeConfig added in v0.0.25

type RuntimeConfig struct {
	Cucumber CucumberConfig
	Settings SettingsConfig
	Env      []EnvConfig
}

type SettingsConfig added in v0.0.42

type SettingsConfig struct {
	Repositories []RepositoryConfig
	Dependencies []DependencyConfig
}

type StepConfig added in v0.0.26

type StepConfig struct {
	Run     string `yaml:"run"`
	Script  string `yaml:"script"`
	Name    string `yaml:"name"`
	Timeout string `yaml:"timeout"`
}

Jump to

Keyboard shortcuts

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