Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIntegrationEnablement ¶
func GetIntegrationEnablement(in Integration) (internal, external bool)
func GetIntegrationVisibility ¶
func GetIntegrationVisibility(in Integration) bool
Types ¶
type Factory ¶
type Factory func() Integration
type FlagEnvHandler ¶
type FlagEnvHandler interface { WithPrefix(prefix string) FlagEnvHandler WithVisibility(visible bool) FlagEnvHandler StringVar(p *string, name string, value string, usage string) error String(name string, value string, usage string) error StringSliceVar(p *[]string, name string, value []string, usage string) error StringSlice(name string, value []string, usage string) error BoolVar(p *bool, name string, value bool, usage string) error Bool(name string, value bool, usage string) error Uint16Var(p *uint16, name string, value uint16, usage string) error Uint16(name string, value uint16, usage string) error DurationVar(p *time.Duration, name string, value time.Duration, usage string) error Duration(name string, value time.Duration, usage string) error }
func NewFlagEnvHandler ¶
func NewFlagEnvHandler(fs *flag.FlagSet) FlagEnvHandler
type Integration ¶
type IntegrationEnablement ¶
type IntegrationEnablement interface { Integration EnabledTypes() (internal, external bool) }
type IntegrationVisibility ¶
type IntegrationVisibility interface { Integration Visible() bool }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.