Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Integration ¶
func NewIntegration ¶
func NewIntegration(opts IntegrationOpts) (*Integration, error)
func (*Integration) Close ¶
func (s *Integration) Close() error
func (*Integration) CloseAndDetectPanic ¶
func (s *Integration) CloseAndDetectPanic() (panicOut string, rerr error)
func (*Integration) LogFile ¶
func (s *Integration) LogFile() string
func (*Integration) RPCClient ¶
func (s *Integration) RPCClient() rpcdef.Integration
type IntegrationOpts ¶
type Opts ¶
type Opts struct {
Logger hclog.Logger
Locs fsconf.Locs
AgentDelegates func(ind expin.Export) rpcdef.Agent
// IntegrationsDir is a custom location of the integrations binaries
IntegrationsDir string
// DevUseCompiledIntegrations set to true to use compiled integrations in dev build. They are used by default in prod builds.
DevUseCompiledIntegrations bool
}
Click to show internal directories.
Click to hide internal directories.