kasapp

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: MIT Imports: 44 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)

func LoadConfigurationFile added in v0.0.7

func LoadConfigurationFile(configFile string) (*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
	Log           *zap.Logger
}

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