Help us shape the future of Go! Take the 2026 Go Developer Survey

run

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: Apache-2.0, MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const OPTION_SOURCE = "run"

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, runner Runner) error

Types

type Config

type Config struct {
	LogLevel   string
	PluginDir  string
	Namespace  string
	CPUProfile string
}

func GetConfig

func GetConfig(cfg *configmain.Config) *Config

func (*Config) AddOptionsToSet

func (this *Config) AddOptionsToSet(set config.OptionSet)

type Runner

type Runner func() error

Jump to

Keyboard shortcuts

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