-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds mithrilctl initial implementation #24
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Alexandre Alvino <[email protected]>
Signed-off-by: Alexandre Alvino <[email protected]>
Signed-off-by: Alexandre Alvino <[email protected]>
failureFormat := " \033[31mx\x1b[0m %s\n" | ||
|
||
if err != nil { | ||
fmt.Fprintf(spinner.Writer, failureFormat, "Deploying SPIRE 🗝️") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we get an error, why does it print "Deploying SPIRE"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job, I recommend reorganizing the imports in the order: std, third-party and local dependencies separately.
spiref, _ := cmd.Flags().GetBool("spire") | ||
istiof, _ := cmd.Flags().GetBool("istio") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
spireFlag and istioFlag?
Description of change
Adds initial implementation of
mithrilctl
.mithrilctl
features:Jira task
Depends on PR#25
Signed-off-by: Alexandre Alvino [email protected]