Documentation ¶
Overview ¶
Package logcollector uses podman to deploy logstash and filebeat containers in order to collect logs centrally for debugging purposes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InfoFields ¶
InfoFields are the fields that are allowed in the info map under the prefix "logcollect.".
func NewStartTrigger ¶
func NewStartTrigger(ctx context.Context, wg *sync.WaitGroup, provider cloudprovider.Provider, metadata providerMetadata, logger *logger.Logger, ) func(*info.Map)
NewStartTrigger returns a trigger func can be registered with an infos instance. The trigger is called when infos changes to received state and starts a log collection pod with filebeat and logstash in case the flags are set.
This requires podman to be installed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.