diff options
| author | Paul Buetow <paul@buetow.org> | 2026-07-09 00:14:33 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-07-09 00:14:33 +0300 |
| commit | 756ae621bd97a8b776fefb15e5e7e2292f98ee45 (patch) | |
| tree | b454f958e6aef70bf7ca40dcbc106323cee2a42f /api/resource.go | |
| parent | 3f8b79f2b1384e3abc2b1bb2fe913688c7ec251c (diff) | |
dependencies
Diffstat (limited to 'api/resource.go')
| -rw-r--r-- | api/resource.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/api/resource.go b/api/resource.go index e254e1b..5c95211 100644 --- a/api/resource.go +++ b/api/resource.go @@ -10,6 +10,10 @@ import ( type Resource interface { ID() string String() string + // Dependencies returns the flattened resource IDs this value represents, + // so it can be passed to the DependsOn option. A single resource yields + // its own ID; a Multi yields the IDs of all its members. + Dependencies() []string } func Apply() error { |
