Documentation ¶
Index ¶
- func BuildBulkRunPublisher(client backend.Client, maxNumberOfBundledRunMsgs int) message.ChefRunPipe
- func BuildChefRun(client backend.Client, numberOfPublishers int) message.ChefRunPipe
- func BuildConfigMgmtPublisher(client cfgmgmt.CfgMgmtServiceClient, numPublishers int) message.ChefActionPipe
- func BuildEventPublisher(eventFeedServiceClient event_feed.EventFeedServiceClient, numPublishers int) message.ChefActionPipe
- func BuildMsgDistributor(childPipeBuilder message.ChefRunPipe, numProcessors, childPipeInboxSize int) message.ChefRunPipe
- func BuildNodeManagerPublisher(nodeManagerClient manager.NodeManagerServiceClient, numPublishers int) message.ChefRunPipe
- func ChefRun(in <-chan message.ChefRun, client backend.Client, out chan<- message.ChefRun, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildBulkRunPublisher ¶
func BuildBulkRunPublisher(client backend.Client, maxNumberOfBundledRunMsgs int) message.ChefRunPipe
func BuildChefRun ¶
func BuildChefRun(client backend.Client, numberOfPublishers int) message.ChefRunPipe
BuildChefRun Builds the publishers
func BuildConfigMgmtPublisher ¶
func BuildConfigMgmtPublisher(client cfgmgmt.CfgMgmtServiceClient, numPublishers int) message.ChefActionPipe
func BuildEventPublisher ¶
func BuildEventPublisher( eventFeedServiceClient event_feed.EventFeedServiceClient, numPublishers int) message.ChefActionPipe
func BuildMsgDistributor ¶
func BuildMsgDistributor(childPipeBuilder message.ChefRunPipe, numProcessors, childPipeInboxSize int) message.ChefRunPipe
BuildMsgDistributor a message distributor that sends all messages to the first child pipe until it is full then start sending messages to the next child pipe in the line. When all the pipes are full the thread waits and then checks to pipes again until it can place the message in a child pipe.
func BuildNodeManagerPublisher ¶
func BuildNodeManagerPublisher(nodeManagerClient manager.NodeManagerServiceClient, numPublishers int) message.ChefRunPipe
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.