MCPcopy Create free account
hub / github.com/openclaw/gogcli / configureRuntimeSecrets

Function configureRuntimeSecrets

internal/cmd/runtime.go:194–203  ·  view source on GitHub ↗
(runtime *app.Runtime)

Source from the content-addressed store, hash-verified

192}
193
194func configureRuntimeSecrets(runtime *app.Runtime) error {
195 if err := configureRuntimeLayout(runtime, config.PathKindConfig, config.PathKindData); err != nil {
196 return err
197 }
198 if runtime.Config == nil {
199 runtime.Config = config.NewConfigStore(runtime.Layout)
200 runtime.ConfigManaged = true
201 }
202 return nil
203}
204
205func configureRuntimeLayout(runtime *app.Runtime, kinds ...config.PathKind) error {
206 if err := hydrateRuntimeLayoutFromConfig(runtime); err != nil {

Callers 1

Calls 2

NewConfigStoreFunction · 0.92
configureRuntimeLayoutFunction · 0.85

Tested by

no test coverage detected