cmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: Apache-2.0, MIT Imports: 14 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.SwitchOptions for the provider controllers.

Types

type FleetServiceConfig

type FleetServiceConfig struct {
	// contains filtered or unexported fields
}

FleetServiceConfig contains configuration information about the fleet service.

func (*FleetServiceConfig) Apply

func (c *FleetServiceConfig) Apply(config *controllerconfig.Config)

Apply applies the FleetServiceOptions to the passed ControllerOptions instance.

func (*FleetServiceConfig) ApplyHealthCheckConfig

func (c *FleetServiceConfig) ApplyHealthCheckConfig(config *healthcheckconfig.HealthCheckConfig)

ApplyHealthCheckConfig applies healthcheck config

type FleetServiceOptions

type FleetServiceOptions struct {
	ConfigLocation string
	// contains filtered or unexported fields
}

FleetServiceOptions holds options related to the fleet agent service.

func (*FleetServiceOptions) AddFlags

func (o *FleetServiceOptions) AddFlags(fs *pflag.FlagSet)

AddFlags implements Flagger.AddFlags.

func (*FleetServiceOptions) Complete

func (o *FleetServiceOptions) Complete() error

Complete implements Completer.Complete.

func (*FleetServiceOptions) Completed

func (o *FleetServiceOptions) Completed() *FleetServiceConfig

Completed returns the decoded FleetServiceConfiguration 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