We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f159eef commit 04482ccCopy full SHA for 04482cc
bundle/config/resources.go
@@ -27,23 +27,6 @@ type Resources struct {
27
SecretScopes map[string]*resources.SecretScope `json:"secret_scopes,omitempty"`
28
}
29
30
-func (r *Resources) GetResourceConfig(section, name string) (any, bool) {
31
- // TODO: validate that the config is fully resolved
32
- switch section {
33
- case "jobs":
34
- cfg, ok := r.Jobs[name]
35
- return cfg, ok
36
- case "schemas":
37
- cfg, ok := r.Schemas[name]
38
39
- case "apps":
40
41
42
- default:
43
- return nil, false
44
- }
45
-}
46
-
47
type ConfigResource interface {
48
// Exists returns true if the resource exists in the workspace configured in
49
// the input workspace client.
0 commit comments