|
1 | 1 | package v1beta2 |
2 | 2 |
|
| 3 | +import "github.com/replicatedhq/troubleshoot/pkg/multitype" |
| 4 | + |
3 | 5 | type CPUAnalyze struct { |
4 | 6 | AnalyzeMeta `json:",inline" yaml:",inline"` |
5 | 7 | Outcomes []*Outcome `json:"outcomes" yaml:"outcomes"` |
@@ -85,17 +87,19 @@ type HostAnalyze struct { |
85 | 87 |
|
86 | 88 | TCPPortStatus *TCPPortStatusAnalyze `json:"tcpPortStatus,omitempty" yaml:"tcpPortStatus,omitempty"` |
87 | 89 |
|
88 | | - HTTP *HTTPAnalyze `json:"http" yaml:"http"` |
| 90 | + HTTP *HTTPAnalyze `json:"http,omitempty" yaml:"http,omitempty"` |
| 91 | + |
| 92 | + Time *TimeAnalyze `json:"time,omitempty" yaml:"time,omitempty"` |
89 | 93 |
|
90 | | - Time *TimeAnalyze `json:"time" yaml:"time"` |
| 94 | + BlockDevices *BlockDevicesAnalyze `json:"blockDevices,omitempty" yaml:"blockDevices,omitempty"` |
91 | 95 |
|
92 | | - BlockDevices *BlockDevicesAnalyze `json:"blockDevices" yaml:"blockDevices"` |
| 96 | + TCPConnect *TCPConnectAnalyze `json:"tcpConnect,omitempty" yaml:"tcpConnect,omitempty"` |
93 | 97 |
|
94 | | - TCPConnect *TCPConnectAnalyze `json:"tcpConnect" yaml:"tcpConnect"` |
| 98 | + IPV4Interfaces *IPV4InterfacesAnalyze `json:"ipv4Interfaces,omitempty" yaml:"ipv4Interfaces,omitempty"` |
95 | 99 |
|
96 | | - IPV4Interfaces *IPV4InterfacesAnalyze `json:"ipv4Interfaces" yaml:"ipv4Interfaces"` |
| 100 | + FilesystemPerformance *FilesystemPerformanceAnalyze `json:"filesystemPerformance,omitempty" yaml:"filesystemPerformance,omitempty"` |
97 | 101 |
|
98 | | - FilesystemPerformance *FilesystemPerformanceAnalyze `json:"filesystemPerformance" yaml:"filesystemPerformance"` |
| 102 | + Certificate *CertificateAnalyze `json:"certificate,omitempty" yaml:"certificate,omitempty"` |
99 | 103 |
|
100 | | - Certificate *CertificateAnalyze `json:"certificate" yaml:"certificate"` |
| 104 | + Exclude multitype.BoolOrString `json:"exclude,omitempty" yaml:"exclude,omitempty"` |
101 | 105 | } |
0 commit comments