Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PropagateChefAction ¶
func PropagateChefAction(out chan<- ChefAction, msg *ChefAction)
func PropagateChefRun ¶
Types ¶
type ChefAction ¶
type ChefAction struct {
ID uuid.UUID
QueueTime time.Time
Action *chef.Action
InternalChefAction backend.InternalChefAction
BulkableRequests []elastic.BulkableRequest
Ctx context.Context
// contains filtered or unexported fields
}
func NewChefAction ¶
func (ChefAction) ClockProcessingTime ¶
func (chefAction ChefAction) ClockProcessingTime() int64
ClockProcessingTime will return the time that has passed (in milliseconds) since the message got started until 'Now()'
Useful to check the time that messages take to go through the pipeline
func (ChefAction) FinishProcessing ¶
func (chefAction ChefAction) FinishProcessing(err error)
type ChefActionPipe ¶
type ChefActionPipe func(<-chan ChefAction) <-chan ChefAction
type ChefRun ¶
type ChefRun struct {
ID uuid.UUID
QueueTime time.Time
Run chef.Run
Node backend.Node
NodeRun backend.Run
NodeAttribute backend.NodeAttribute
NodeRunDateInfo backend.NodeRunDateInfo
BulkableRequests []elastic.BulkableRequest
Platform string
Ctx context.Context
// contains filtered or unexported fields
}
func (*ChefRun) ClockProcessingTime ¶
ClockProcessingTime will return the time that has passed (in milliseconds) since the message got started until 'Now()'
Useful to check the time that messages take to go through the pipeline
func (*ChefRun) FinishProcessing ¶
type ChefRunPipe ¶
Click to show internal directories.
Click to hide internal directories.