File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
internal/cli/feedback/result Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -790,3 +790,24 @@ func NewSearchedLibrary(l *rpc.SearchedLibrary) *SearchedLibrary {
790
790
AvailableVersions : l .GetAvailableVersions (),
791
791
}
792
792
}
793
+
794
+ type MonitorPortSettingDescriptor struct {
795
+ SettingId string `json:"setting_id,omitempty"`
796
+ Label string `json:"label,omitempty"`
797
+ Type string `json:"type,omitempty"`
798
+ EnumValues []string `json:"enum_values,omitempty"`
799
+ Value string `json:"value,omitempty"`
800
+ }
801
+
802
+ func NewMonitorPortSettingDescriptor (m * rpc.MonitorPortSettingDescriptor ) * MonitorPortSettingDescriptor {
803
+ if m == nil {
804
+ return nil
805
+ }
806
+ return & MonitorPortSettingDescriptor {
807
+ SettingId : m .GetSettingId (),
808
+ Label : m .GetLabel (),
809
+ Type : m .GetType (),
810
+ EnumValues : m .GetEnumValues (),
811
+ Value : m .GetValue (),
812
+ }
813
+ }
You can’t perform that action at this time.
0 commit comments