kasapp

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyDefaultsToKasConfigurationFile added in v0.0.4

func ApplyDefaultsToKasConfigurationFile(cfg *kascfg.ConfigurationFile) error

func NewFromFlags

func NewFromFlags(flagset *pflag.FlagSet, arguments []string) (cmd.Runnable, error)

Types

type App

type App struct {
	ConfigurationFile         string
	ListenNetwork             string
	ListenAddress             string
	ListenWebSocket           bool
	GitLabAddress             string
	GitLabAuthSecretFile      string
	ReloadConfigurationPeriod time.Duration
}

func (*App) Run

func (a *App) Run(ctx context.Context) error

type ConfiguredApp added in v0.0.6

type ConfiguredApp struct {
	Configuration *kascfg.ConfigurationFile
}

func (*ConfiguredApp) Run added in v0.0.6

func (a *ConfiguredApp) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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