Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ControllerSwitches ¶
func ControllerSwitches() *cmd.SwitchOptions
ControllerSwitches are the cmd.ControllerSwitches for the extension controllers.
Types ¶
type LakomServiceConfig ¶
type LakomServiceConfig struct {
// contains filtered or unexported fields
}
LakomServiceConfig contains configuration information about the Lakom service.
func (*LakomServiceConfig) Apply ¶
func (c *LakomServiceConfig) Apply(config *config.Configuration)
Apply applies the LakomServiceOptions to the passed ControllerOptions instance.
func (*LakomServiceConfig) ApplyHealthCheckConfig ¶
func (c *LakomServiceConfig) ApplyHealthCheckConfig(config *healthcheckconfig.HealthCheckConfig)
ApplyHealthCheckConfig applies the HealthCheckConfig to the config.
type LakomServiceOptions ¶
type LakomServiceOptions struct { ConfigLocation string // contains filtered or unexported fields }
LakomServiceOptions holds options related to the Lakom service.
func (*LakomServiceOptions) AddFlags ¶
func (o *LakomServiceOptions) AddFlags(fs *pflag.FlagSet)
AddFlags implements Flagger.AddFlags.
func (*LakomServiceOptions) Complete ¶
func (o *LakomServiceOptions) Complete() error
Complete implements Completer.Complete.
func (*LakomServiceOptions) Completed ¶
func (o *LakomServiceOptions) Completed() *LakomServiceConfig
Completed returns the decoded LakomServiceConfig instance. Only call this if `Complete` was successful.
Click to show internal directories.
Click to hide internal directories.