cmd

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

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 *controllerconfig.Config)

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.

Jump to

Keyboard shortcuts

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