File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
internal/namespaces/cockpit/v1beta1 Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ func GetCommands() *core.Commands {
1717
1818 cmds .MustFind ("cockpit" , "cockpit" , "activate" ).Override (cockpitCockpitActivateBuilder )
1919 cmds .MustFind ("cockpit" , "cockpit" , "deactivate" ).Override (cockpitCockpitDeactivateBuilder )
20+ cmds .MustFind ("cockpit" , "token" , "get" ).Override (cockpitTokenGetBuilder )
2021
2122 return cmds
2223}
Original file line number Diff line number Diff line change @@ -120,3 +120,16 @@ func cockpitCockpitDeactivateBuilder(command *core.Command) *core.Command {
120120 }
121121 return command
122122}
123+
124+ func cockpitTokenGetBuilder (c * core.Command ) * core.Command {
125+ c .View = & core.View {
126+ Sections : []* core.ViewSection {
127+ {
128+ Title : "Scopes" ,
129+ FieldName : "Scopes" ,
130+ },
131+ },
132+ }
133+
134+ return c
135+ }
You can’t perform that action at this time.
0 commit comments