MCPcopy Create free account
hub / github.com/github/gh-aw / ctx

Method ctx

pkg/cli/engine_secrets.go:181–186  ·  view source on GitHub ↗

ctx returns the context from the config, defaulting to background if nil

()

Source from the content-addressed store, hash-verified

179
180// ctx returns the context from the config, defaulting to background if nil
181func (c EngineSecretConfig) ctx() context.Context {
182 if c.Ctx != nil {
183 return c.Ctx
184 }
185 return context.Background()
186}
187
188// checkAndEnsureEngineSecretsForEngine is the unified entry point for checking and collecting engine secrets.
189// It checks existing secrets in the repository and environment, and prompts for missing ones.

Callers 3

Calls 1

BackgroundMethod · 0.80

Tested by

no test coverage detected