Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { Port int `short:"p" long:"port" description:"Port to listen on" default:"443" env:"BARYON_PORT"` Bind string `short:"b" long:"bind" description:"Ip address to bind to" default:"0.0.0.0" env:"BARYON_BIND"` Secret string `short:"s" long:"secret" description:"The web-hook secret" env:"BARYON_HOOK_SECRET"` Key string `short:"k" long:"key" description:"Specify a Key file to enable server to start TLS" env:"BARYON_KEY"` Cert string `short:"c" long:"cert" description:"Cert file for TLS" env:"BARYON_CERT"` Org string `short:"o" long:"org" description:"Github Org to find cookbooks" env:"BARYON_GITHUB_ORG"` Token string `short:"t" long:"token" description:"Github API token to use when connecting" env:"BARYON_GITHUB_TOKEN"` SyncInterval time.Duration `` /* 178-byte string literal not displayed */ NoSync bool `` /* 127-byte string literal not displayed */ BerksOnly bool `long:"berks-only" description:"Only use berks compatable version tags in the universe" env:"BARYON_BERKSONLY"` TLS bool }
CLI Options
var Opts Options
Opts is the application config struct
Click to show internal directories.
Click to hide internal directories.