Documentation
¶
Index ¶
- type CallFunc
- type CloseFunc
- type DeregisterExtensionFunc
- type ExtensionManager
- func (m *ExtensionManager) Call(ctx context.Context, registry string, item string, ...) (*osquery.ExtensionResponse, error)
- func (m *ExtensionManager) Close()
- func (m *ExtensionManager) DeregisterExtension(ctx context.Context, uuid osquery.ExtensionRouteUUID) (*osquery.ExtensionStatus, error)
- func (m *ExtensionManager) Extensions(ctx context.Context) (osquery.InternalExtensionList, error)
- func (m *ExtensionManager) GetNodeKey(ctx context.Context) (string, error)
- func (m *ExtensionManager) GetQueryColumns(ctx context.Context, sql string) (*osquery.ExtensionResponse, error)
- func (m *ExtensionManager) Options(ctx context.Context) (osquery.InternalOptionList, error)
- func (m *ExtensionManager) Ping(ctx context.Context) (*osquery.ExtensionStatus, error)
- func (m *ExtensionManager) Query(ctx context.Context, sql string) (*osquery.ExtensionResponse, error)
- func (m *ExtensionManager) RegisterExtension(ctx context.Context, info *osquery.InternalExtensionInfo, ...) (*osquery.ExtensionStatus, error)
- func (m *ExtensionManager) Shutdown(ctx context.Context) error
- func (m *ExtensionManager) StreamEvents(ctx context.Context, name string, events osquery.ExtensionPluginResponse) (*osquery.ExtensionStatus, error)
- type ExtensionsFunc
- type GetNodeKeyFunc
- type GetQueryColumnsFunc
- type OptionsFunc
- type PingFunc
- type QueryFunc
- type RegisterExtensionFunc
- type ShutdownFunc
- type StreamEventsFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallFunc ¶
type CallFunc func(ctx context.Context, registry string, item string, req osquery.ExtensionPluginRequest) (*osquery.ExtensionResponse, error)
type DeregisterExtensionFunc ¶
type DeregisterExtensionFunc func(ctx context.Context, uuid osquery.ExtensionRouteUUID) (*osquery.ExtensionStatus, error)
type ExtensionManager ¶
type ExtensionManager struct {
CloseFunc CloseFunc
CloseFuncInvoked bool
PingFunc PingFunc
PingFuncInvoked bool
CallFunc CallFunc
CallFuncInvoked bool
ShutdownFunc ShutdownFunc
ShutdownFuncInvoked bool
ExtensionsFunc ExtensionsFunc
ExtensionsFuncInvoked bool
RegisterExtensionFunc RegisterExtensionFunc
RegisterExtensionFuncInvoked bool
DeregisterExtensionFunc DeregisterExtensionFunc
DeregisterExtensionFuncInvoked bool
OptionsFunc OptionsFunc
OptionsFuncInvoked bool
QueryFunc QueryFunc
QueryFuncInvoked bool
GetQueryColumnsFunc GetQueryColumnsFunc
GetQueryColumnsFuncInvoked bool
StreamEventsFunc StreamEventsFunc
StreamEventsFuncInvoked bool
GetNodeKeyFunc GetNodeKeyFunc
GetNodeKeyFuncInvoked bool
}
func (*ExtensionManager) Call ¶
func (m *ExtensionManager) Call(ctx context.Context, registry string, item string, req osquery.ExtensionPluginRequest) (*osquery.ExtensionResponse, error)
func (*ExtensionManager) Close ¶
func (m *ExtensionManager) Close()
func (*ExtensionManager) DeregisterExtension ¶
func (m *ExtensionManager) DeregisterExtension(ctx context.Context, uuid osquery.ExtensionRouteUUID) (*osquery.ExtensionStatus, error)
func (*ExtensionManager) Extensions ¶
func (m *ExtensionManager) Extensions(ctx context.Context) (osquery.InternalExtensionList, error)
func (*ExtensionManager) GetNodeKey ¶ added in v0.6.0
func (m *ExtensionManager) GetNodeKey(ctx context.Context) (string, error)
func (*ExtensionManager) GetQueryColumns ¶
func (m *ExtensionManager) GetQueryColumns(ctx context.Context, sql string) (*osquery.ExtensionResponse, error)
func (*ExtensionManager) Options ¶
func (m *ExtensionManager) Options(ctx context.Context) (osquery.InternalOptionList, error)
func (*ExtensionManager) Ping ¶
func (m *ExtensionManager) Ping(ctx context.Context) (*osquery.ExtensionStatus, error)
func (*ExtensionManager) Query ¶
func (m *ExtensionManager) Query(ctx context.Context, sql string) (*osquery.ExtensionResponse, error)
func (*ExtensionManager) RegisterExtension ¶
func (m *ExtensionManager) RegisterExtension(ctx context.Context, info *osquery.InternalExtensionInfo, registry osquery.ExtensionRegistry) (*osquery.ExtensionStatus, error)
func (*ExtensionManager) StreamEvents ¶
func (m *ExtensionManager) StreamEvents(ctx context.Context, name string, events osquery.ExtensionPluginResponse) (*osquery.ExtensionStatus, error)
type ExtensionsFunc ¶
type ExtensionsFunc func(ctx context.Context) (osquery.InternalExtensionList, error)
type GetQueryColumnsFunc ¶
type OptionsFunc ¶
type OptionsFunc func(ctx context.Context) (osquery.InternalOptionList, error)
type RegisterExtensionFunc ¶
type RegisterExtensionFunc func(ctx context.Context, info *osquery.InternalExtensionInfo, registry osquery.ExtensionRegistry) (*osquery.ExtensionStatus, error)
type ShutdownFunc ¶
type StreamEventsFunc ¶
type StreamEventsFunc func(ctx context.Context, name string, events osquery.ExtensionPluginResponse) (*osquery.ExtensionStatus, error)
Click to show internal directories.
Click to hide internal directories.