Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // Version ... Version *string )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { File string ` short:"f" long:"config" description:"Yaml config"` Verbose []bool `yaml:"verbose" short:"v" long:"verbose" description:"Show verbose debug information"` Version bool ` long:"version" description:"Show version"` ListeningAddress string `yaml:"listening_address" short:"a" long:"address" description:"Listening address" default:"127.0.0.1"` ListeningPort int `yaml:"listening_port" short:"p" long:"port" description:"Listening port" default:"8080"` UnixSocket string `yaml:"unix_socket" short:"u" long:"unix" description:"Listening unix socket"` Internal *InternalConfig `yaml:"internal"` TemplatesDir string `yaml:"templates"` StaticDir string `yaml:"static"` GoModules []GoModule `yaml:"go-modules"` Reloads int }
Config ... +k8s:deepcopy-gen:interfaces=github.com/sylr/go-libqd/config.Config +k8s:deepcopy-gen=true
func (*Config) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyConfig ¶
func (in *Config) DeepCopyConfig() golibqdconfig.Config
DeepCopyConfig is an autogenerated deepcopy function, copying the receiver, creating a new golibqdconfig.Config.
func (*Config) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GoModule ¶
type GoModule struct { Name string `yaml:"name"` Import string `yaml:"go-import"` Source string `yaml:"go-source"` }
GoModule ... +k8s:deepcopy-gen=true
func (*GoModule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoModule.
func (*GoModule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternalConfig ¶
type InternalConfig struct {
TrustedSubnets []string `yaml:"trusted_subnets"`
}
InternalConfig ... +k8s:deepcopy-gen=true
func (*InternalConfig) DeepCopy ¶
func (in *InternalConfig) DeepCopy() *InternalConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalConfig.
func (*InternalConfig) DeepCopyInto ¶
func (in *InternalConfig) DeepCopyInto(out *InternalConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.