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 {
17
17
18
18
cmds .MustFind ("cockpit" , "cockpit" , "activate" ).Override (cockpitCockpitActivateBuilder )
19
19
cmds .MustFind ("cockpit" , "cockpit" , "deactivate" ).Override (cockpitCockpitDeactivateBuilder )
20
+ cmds .MustFind ("cockpit" , "cockpit" , "get" ).Override (cockpitCockpitGetBuilder )
20
21
cmds .MustFind ("cockpit" , "token" , "get" ).Override (cockpitTokenGetBuilder )
21
22
22
23
return cmds
Original file line number Diff line number Diff line change @@ -121,6 +121,19 @@ func cockpitCockpitDeactivateBuilder(command *core.Command) *core.Command {
121
121
return command
122
122
}
123
123
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
+
124
137
func cockpitTokenGetBuilder (c * core.Command ) * core.Command {
125
138
c .View = & core.View {
126
139
Sections : []* core.ViewSection {
You can’t perform that action at this time.
0 commit comments