(ctx context.Context, kinds ...config.PathKind)
| 319 | } |
| 320 | |
| 321 | func commandLayout(ctx context.Context, kinds ...config.PathKind) (config.Layout, error) { |
| 322 | if runtime, ok := app.FromContext(ctx); ok { |
| 323 | if err := configureRuntimeLayout(runtime, kinds...); err != nil { |
| 324 | return config.Layout{}, err |
| 325 | } |
| 326 | return runtime.Layout, nil |
| 327 | } |
| 328 | return config.Layout{}, errRuntimeRequired |
| 329 | } |
| 330 | |
| 331 | func commandServiceAccountStore(ctx context.Context) (*config.ServiceAccountStore, error) { |
| 332 | if runtime, ok := app.FromContext(ctx); ok { |