Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMissingShutdownCtx = errors.New("ServiceShutdownCtx cannot be nil") ErrMissingMainShutdownFunc = errors.New("MainShutdownFunc cannot be nil") ErrMissingMainContext = errors.New("MainContext cannot be nil") ErrMissingOptions = errors.New("CLIOptions cannot be nil") ErrMissingPersistentConfig = errors.New("PersistentConfig cannot be nil") ErrMissingKongCtx = errors.New("KongCtx cannot be nil") ErrMissingActions = errors.New("Actions cannot be nil") )
Functions ¶
func GenerateMessageDescriptors ¶ added in v1.0.4
func GenerateMessageDescriptors(cliOpts *opts.CLIOptions) (map[pb.MDType]*desc.MessageDescriptor, error)
Types ¶
type Config ¶
type Config struct { PersistentConfig *config.Config Actions *actions.Actions ServiceShutdownCtx context.Context CLIOptions *opts.CLIOptions KongCtx *kong.Context }
Config contains configurable options for instantiating a new Plumber
type Plumber ¶
type Plumber struct { *Config Bus bus.IBus RelayCh chan interface{} // contains filtered or unexported fields }
func (*Plumber) HandleBatchCmd ¶ added in v1.0.0
HandleBatchCmd handles all commands related to Batch.sh API
func (*Plumber) HandleDynamicCmd ¶ added in v1.0.0
HandleDynamicCmd handles dynamic replay destination mode commands
func (*Plumber) HandleReadCmd ¶ added in v1.0.0
HandleReadCmd handles CLI read mode
func (*Plumber) HandleRelayCmd ¶ added in v1.0.0
HandleRelayCmd handles CLI relay mode. Container/envar mode is handled by processEnvRelayFlags
func (*Plumber) HandleWriteCmd ¶ added in v1.0.0
HandleWriteCmd handles write mode
Click to show internal directories.
Click to hide internal directories.