We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d0773f0 + 14701b9 commit 7f88ac9Copy full SHA for 7f88ac9
1 file changed
thorlog/v3/hostinfo.go
@@ -168,3 +168,28 @@ func NewWindowsPlatformInfo() *PlatformInfoWindows {
168
},
169
}
170
171
+
172
+type PlatformInfoAIX struct {
173
+ jsonlog.ObjectHeader
174
175
+ // Hardware model
176
+ Model string `json:"model" textlog:"model"`
177
+ // OS version string, e.g. "7.3"
178
+ Version string `json:"version" textlog:"version"`
179
+ // Processor type, e.g. "POWER9"
180
+ Proc string `json:"proc" textlog:"proc"`
181
+}
182
183
+func (PlatformInfoAIX) platform() {}
184
185
+const typePlatformInfoAIX = "AIX platform information"
186
187
+func init() { AddLogObjectType(typePlatformInfoAIX, &PlatformInfoAIX{}) }
188
189
+func NewAIXPlatformInfo() *PlatformInfoAIX {
190
+ return &PlatformInfoAIX{
191
+ ObjectHeader: jsonlog.ObjectHeader{
192
+ Type: typePlatformInfoAIX,
193
+ },
194
+ }
195
0 commit comments