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" , "cockpit" , "get" ).Override (cockpitCockpitGetBuilder )
2021 cmds .MustFind ("cockpit" , "token" , "get" ).Override (cockpitTokenGetBuilder )
2122
2223 return cmds
Original file line number Diff line number Diff line change @@ -121,6 +121,19 @@ func cockpitCockpitDeactivateBuilder(command *core.Command) *core.Command {
121121 return command
122122}
123123
124+ func cockpitCockpitGetBuilder (c * core.Command ) * core.Command {
125+ c .View = & core.View {
126+ Sections : []* core.ViewSection {
127+ {
128+ Title : "Endpoints" ,
129+ FieldName : "Endpoints" ,
130+ },
131+ },
132+ }
133+
134+ return c
135+ }
136+
124137func cockpitTokenGetBuilder (c * core.Command ) * core.Command {
125138 c .View = & core.View {
126139 Sections : []* core.ViewSection {
You can’t perform that action at this time.
0 commit comments