Documentation ¶
Index ¶
- type CheckHealthFunc
- type KolideService
- func (s *KolideService) CheckHealth(ctx context.Context) (int32, error)
- func (s *KolideService) PublishLogs(ctx context.Context, nodeKey string, logType logger.LogType, logs []string) (string, string, bool, error)
- func (s *KolideService) PublishResults(ctx context.Context, nodeKey string, results []distributed.Result) (string, string, bool, error)
- func (s *KolideService) RequestConfig(ctx context.Context, nodeKey string) (string, bool, error)
- func (s *KolideService) RequestEnrollment(ctx context.Context, enrollSecret string, hostIdentifier string, ...) (string, bool, error)
- func (s *KolideService) RequestQueries(ctx context.Context, nodeKey string) (*distributed.GetQueriesResult, bool, error)
- type PublishLogsFunc
- type PublishResultsFunc
- type RequestConfigFunc
- type RequestEnrollmentFunc
- type RequestQueriesFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KolideService ¶
type KolideService struct { RequestEnrollmentFunc RequestEnrollmentFunc RequestEnrollmentFuncInvoked bool RequestConfigFunc RequestConfigFunc RequestConfigFuncInvoked bool PublishLogsFunc PublishLogsFunc PublishLogsFuncInvoked bool RequestQueriesFunc RequestQueriesFunc RequestQueriesFuncInvoked bool PublishResultsFunc PublishResultsFunc PublishResultsFuncInvoked bool CheckHealthFunc CheckHealthFunc CheckHealthFuncInvoked bool }
func (*KolideService) CheckHealth ¶
func (s *KolideService) CheckHealth(ctx context.Context) (int32, error)
func (*KolideService) PublishLogs ¶
func (*KolideService) PublishResults ¶
func (s *KolideService) PublishResults(ctx context.Context, nodeKey string, results []distributed.Result) (string, string, bool, error)
func (*KolideService) RequestConfig ¶
func (*KolideService) RequestEnrollment ¶
func (s *KolideService) RequestEnrollment(ctx context.Context, enrollSecret string, hostIdentifier string, enrollDetails service.EnrollmentDetails) (string, bool, error)
func (*KolideService) RequestQueries ¶
func (s *KolideService) RequestQueries(ctx context.Context, nodeKey string) (*distributed.GetQueriesResult, bool, error)
type PublishLogsFunc ¶
type PublishResultsFunc ¶
type RequestConfigFunc ¶
type RequestEnrollmentFunc ¶
type RequestQueriesFunc ¶
type RequestQueriesFunc func(ctx context.Context, nodeKey string) (*distributed.GetQueriesResult, bool, error)
Click to show internal directories.
Click to hide internal directories.