velox

package module
v1.0.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2022 License: MIT Imports: 2 Imported by: 0

README

Automated build system for the RR with plugins.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeHosting

type CodeHosting struct {
	BaseURL *Endpoint                `mapstructure:"endpoint"`
	Token   *Token                   `mapstructure:"token"`
	Plugins map[string]*PluginConfig `mapstructure:"plugins"`
}

type Config

type Config struct {
	Velox map[string][]string `mapstructure:"velox"`

	// Version
	Roadrunner map[string]string `mapstructure:"roadrunner"`

	// GitHub configuration
	GitHub *CodeHosting `mapstructure:"github"`

	// GitLab configuration
	GitLab *CodeHosting `mapstructure:"gitlab"`

	// Log contains log configuration
	Log map[string]string `mapstructure:"log"`
}

func (*Config) Validate

func (c *Config) Validate() error

type Endpoint

type Endpoint struct {
	BaseURL string `mapstructure:"endpoint"`
}

type PluginConfig

type PluginConfig struct {
	Ref        string   `mapstructure:"ref"`
	Owner      string   `mapstructure:"owner"`
	Repo       string   `mapstructure:"repository"`
	Replace    string   `mapstructure:"replace"`
	BuildFlags []string `mapstructure:"build-flags"`
}

type Token

type Token struct {
	Token string `mapstructure:"token"`
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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