@@ -13,12 +13,12 @@ import (
13
13
"get.porter.sh/porter/pkg/storage"
14
14
)
15
15
16
- // ExecuteRootBundleAndDependencies runs a specified action for a root bundle.
16
+ // ExecuteBundleAndDependencies runs a specified action for a root bundle.
17
17
// The bundle should be a root bundle, and if there are dependencies, they will also be executed as appropriate.
18
18
// Supported actions are: install, upgrade, invoke.
19
19
// The uninstall action works in reverse, so it's implemented separately.
20
20
// Dependencies are resolved and executed differently depending on whether the deps-v2 feature is enabled (workflow).
21
- func (p * Porter ) ExecuteRootBundleAndDependencies (ctx context.Context , installation storage.Installation , action BundleAction ) error {
21
+ func (p * Porter ) ExecuteBundleAndDependencies (ctx context.Context , installation storage.Installation , action BundleAction ) error {
22
22
opts := action .GetOptions ()
23
23
bundleRef := opts .bundleRef
24
24
@@ -94,10 +94,10 @@ func (p *Porter) ExecuteRootBundleAndDependencies(ctx context.Context, installat
94
94
}
95
95
}
96
96
97
- // ExecuteBundleFromWorkflow runs a single bundle that has already had its dependencies resolved by a workflow.
97
+ // ExecuteRootBundleOnly runs a single bundle that has already had its dependencies resolved by a workflow.
98
98
// The workflow is responsible identifying the bundles to run, their order, what to pass between them, etc.
99
99
// It is only intended to be used with the deps-v2 feature.
100
- func (p * Porter ) ExecuteBundleFromWorkflow (ctx context.Context , installation storage.Installation , action BundleAction ) error {
100
+ func (p * Porter ) ExecuteRootBundleOnly (ctx context.Context , installation storage.Installation , action BundleAction ) error {
101
101
opts := action .GetOptions ()
102
102
ctx , span := tracing .StartSpan (ctx ,
103
103
tracing .ObjectAttribute ("installation" , installation ),
0 commit comments