Documentation ¶
Overview ¶
Package logpersister provides a piped component that enqueues all log blocks from running stages and then periodically sends to the control plane.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPersister ¶
NewPersister creates a new persister instance for saving the stage logs into server's storage. This controls how many concurent api calls should be executed and when to flush the logs.
Types ¶
type Persister ¶
type Persister interface { Run(ctx context.Context) error StageLogPersister(deploymentID, stageID string) StageLogPersister }
type StageLogPersister ¶
Click to show internal directories.
Click to hide internal directories.