processor

package
v0.0.0-...-30e1f3d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StartedAt = time.Now()

StartedAt time will be a constant to know at what time the service was started

Functions

func BuildActionProjectTagger

func BuildActionProjectTagger(authzClient authz.ProjectsServiceClient) message.ChefActionPipe

BuildActionProjectTagger - Build a project tagger for Chef Actions

func BuildChefActionPerform

func BuildChefActionPerform(client backend.Client) message.ChefActionPipe

func BuildRunMsgToBulkRequestTransformer

func BuildRunMsgToBulkRequestTransformer(client backend.Client) message.ChefRunPipe

func BuildRunProjectTagger

func BuildRunProjectTagger(authzClient authz.ProjectsServiceClient) message.ChefRunPipe

BuildRunProjectTagger - Build a project tagger for CCRs

func BuildTransmogrify

func BuildTransmogrify(numProcessors int) message.ChefRunPipe

BuildTransmogrify Builds the Transmogrify Processor(s)

func ChefActionTransmogrify

func ChefActionTransmogrify(in <-chan message.ChefAction) <-chan message.ChefAction

ChefActionTransmogrify translates an action protobuf into an InternalChefAction struct

func ChefRunCorrections

func ChefRunCorrections(in <-chan message.ChefRun) <-chan message.ChefRun

ChefRunCorrections - This processor makes updates and corrections to the raw data from the chef run message.

func ChefRunTransmogrify

func ChefRunTransmogrify(in <-chan message.ChefRun, out chan<- message.ChefRun, number int)

func CountActions

func CountActions(counter *int64) message.ChefActionPipe

CountActions

func CountRuns

func CountRuns(counter *int64) message.ChefRunPipe

CountRuns

func MessageValidator

func MessageValidator(in <-chan message.ChefRun) <-chan message.ChefRun

MessageValidator - Validate the message before it moves further in the pipeline.

func ProcessNodeDelete

func ProcessNodeDelete(ctx context.Context, action *chef.Action, client backend.Client) (int, error)

ProcessNodeDelete

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL