Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
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
ServiceShutdownCtx context.Context
MainShutdownFunc context.CancelFunc
MainShutdownCtx context.Context
CLIOptions *opts.CLIOptions
KongCtx *kong.Context
}
Config contains configurable options for instantiating a new Plumber
type Plumber ¶
type Plumber struct {
*Config
Etcd *etcd.Etcd
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.