-
Notifications
You must be signed in to change notification settings - Fork 66
feat(acl list): add flags to filter by resource #1299
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
Changes from 3 commits
f075e62
d3561db
4abc138
3afabd0
b3fcf0f
f2c902f
e292865
bdd57bf
e3313cf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -34,7 +34,12 @@ type options struct { | |||
| size int32 | ||||
| kafkaID string | ||||
| principal string | ||||
| output string | ||||
|
|
||||
| topic string | ||||
| group string | ||||
| cluster bool | ||||
|
|
||||
| output string | ||||
| } | ||||
|
|
||||
| // NewListACLCommand creates a new command to list Kafka ACL rules | ||||
|
|
@@ -116,6 +121,9 @@ func NewListACLCommand(f *factory.Factory) *cobra.Command { | |||
| flags.AddUser(&userID) | ||||
| flags.AddServiceAccount(&serviceAccount) | ||||
| flags.AddAllAccounts(&allAccounts) | ||||
| flags.AddCluster(&opts.cluster) | ||||
rkpattnaik780 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||
| flags.AddTopic(&opts.topic) | ||||
| flags.AddConsumerGroup(&opts.group) | ||||
|
||||
| func RegisterNameFlagCompletionFunc(cmd *cobra.Command, f *factory.Factory) error { |
They also probably should not be in a generic cmdutil package since they are kafka specific (I did that 😂)
Uh oh!
There was an error while loading. Please reload this page.