-
Notifications
You must be signed in to change notification settings - Fork 335
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(kumactl) add install tracing context (#2343)
Signed-off-by: Bart Smykla <bartek@smykla.com>
- Loading branch information
1 parent
4aa8ec3
commit b0c72d1
Showing
4 changed files
with
24 additions
and
7 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
app/kumactl/cmd/install/context/install_tracing_context.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package context | ||
|
||
type TracingTemplateArgs struct { | ||
Namespace string | ||
} | ||
|
||
type InstallTracingContext struct { | ||
TemplateArgs TracingTemplateArgs | ||
} | ||
|
||
func DefaultInstallTracingContext() InstallTracingContext { | ||
return InstallTracingContext{ | ||
TemplateArgs: TracingTemplateArgs{ | ||
Namespace: "kuma-tracing", | ||
}, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters