cmd

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2020 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type Config

type Config struct {
	Werft   werft.Config `yaml:"werft"`
	Service struct {
		WebPort      int      `yaml:"webPort"`
		GRPCPort     int      `yaml:"grpcPort"`
		JobSpecRepos []string `yaml:"jobSpecRepos"`
	}
	Storage struct {
		LogStore string `yaml:"logsPath"`
		JobStore string `yaml:"jobsConnectionString"`
	} `yaml:"storage"`
	Executor   executor.Config `yaml:"executor"`
	Kubeconfig string          `yaml:"kubeconfig,omitempty"`
	GitHub     struct {
		WebhookSecret  string `yaml:"webhookSecret"`
		PrivateKeyPath string `yaml:"privateKeyPath"`
		InstallationID int64  `yaml:"installationID,omitempty"`
		AppID          int64  `yaml:"appID"`
	} `yaml:"github"`
	Plugins plugin.Config
}

Config configures the werft server

Jump to

Keyboard shortcuts

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