MCPcopy Create free account
hub / github.com/buildkite/agent-stack-k8s / Start

Method Start

api/agent_client.go:121–125  ·  view source on GitHub ↗

Starting internal goroutines for AgentClient.

(ctx context.Context)

Source from the content-addressed store, hash-verified

119
120// Starting internal goroutines for AgentClient.
121func (e *AgentClient) Start(ctx context.Context) error {
122 ctxWithCancel, cancel := context.WithCancel(ctx)
123 e.notificationBatcherCancelFn = cancel
124 return e.notificationBatcher.start(ctxWithCancel)
125}
126
127// Ends all internal goroutines and wait for them to finish pending works.
128func (e *AgentClient) Stop() {

Callers 1

RunFunction · 0.95

Calls 1

startMethod · 0.80

Tested by

no test coverage detected