config

package
v0.0.0-...-8183610 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: MIT 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 {
	MaxHistoryInMemory  uint
	HTTPPort            int
	HTTPHost            string
	WorkspaceDirectory  string
	Pipelines           []Pipeline
	SQLDriver           string
	SQLConnectionString string
	DBMigrations        string
	PathToStaticContent string
}

func LoadConfig

func LoadConfig(path string) Config

type Pipeline

type Pipeline struct {
	Path            string
	URL             string
	SSHKeyLocation  string
	Name            string
	BuildScript     string
	ForceCleanBuild bool
	Triggers        []Trigger
}

type Trigger

type Trigger struct {
	Kind     string
	Schedule string
}

Jump to

Keyboard shortcuts

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