Skip to content

Commit dd7496a

Browse files
committed
style: format all files
1 parent 80a6f8e commit dd7496a

File tree

1 file changed

+44
-44
lines changed

1 file changed

+44
-44
lines changed

sysdig/internal/client/v2/model_dashboard.go

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ type Layout struct {
1414
}
1515

1616
type QueryParams struct {
17-
Severities []any `json:"severities"`
18-
AlertStatuses []any `json:"alertStatuses"`
19-
Categories []any `json:"categories"`
20-
Filter string `json:"filter"`
21-
TeamScope bool `json:"teamScope"`
17+
Severities []any `json:"severities"`
18+
AlertStatuses []any `json:"alertStatuses"`
19+
Categories []any `json:"categories"`
20+
Filter string `json:"filter"`
21+
TeamScope bool `json:"teamScope"`
2222
}
2323

2424
type EventDisplaySettings struct {
@@ -31,29 +31,29 @@ type Bottom struct {
3131
}
3232

3333
type Left struct {
34-
Enabled bool `json:"enabled"`
35-
DisplayName any `json:"displayName"`
36-
Unit string `json:"unit"`
37-
DisplayFormat string `json:"displayFormat"`
38-
Decimals any `json:"decimals"`
39-
MinValue float64 `json:"minValue"`
40-
MaxValue any `json:"maxValue"`
41-
MinInputFormat string `json:"minInputFormat"`
42-
MaxInputFormat string `json:"maxInputFormat"`
43-
Scale string `json:"scale"`
34+
Enabled bool `json:"enabled"`
35+
DisplayName any `json:"displayName"`
36+
Unit string `json:"unit"`
37+
DisplayFormat string `json:"displayFormat"`
38+
Decimals any `json:"decimals"`
39+
MinValue float64 `json:"minValue"`
40+
MaxValue any `json:"maxValue"`
41+
MinInputFormat string `json:"minInputFormat"`
42+
MaxInputFormat string `json:"maxInputFormat"`
43+
Scale string `json:"scale"`
4444
}
4545

4646
type Right struct {
47-
Enabled bool `json:"enabled"`
48-
DisplayName any `json:"displayName"`
49-
Unit string `json:"unit"`
50-
DisplayFormat string `json:"displayFormat"`
51-
Decimals any `json:"decimals"`
52-
MinValue float64 `json:"minValue"`
53-
MaxValue any `json:"maxValue"`
54-
MinInputFormat string `json:"minInputFormat"`
55-
MaxInputFormat string `json:"maxInputFormat"`
56-
Scale string `json:"scale"`
47+
Enabled bool `json:"enabled"`
48+
DisplayName any `json:"displayName"`
49+
Unit string `json:"unit"`
50+
DisplayFormat string `json:"displayFormat"`
51+
Decimals any `json:"decimals"`
52+
MinValue float64 `json:"minValue"`
53+
MaxValue any `json:"maxValue"`
54+
MinInputFormat string `json:"minInputFormat"`
55+
MaxInputFormat string `json:"maxInputFormat"`
56+
Scale string `json:"scale"`
5757
}
5858

5959
type AxesConfiguration struct {
@@ -63,12 +63,12 @@ type AxesConfiguration struct {
6363
}
6464

6565
type LegendConfiguration struct {
66-
Enabled bool `json:"enabled"`
67-
Position string `json:"position"`
68-
Layout string `json:"layout"`
69-
ShowCurrent bool `json:"showCurrent"`
70-
Width any `json:"width"`
71-
Height any `json:"height"`
66+
Enabled bool `json:"enabled"`
67+
Position string `json:"position"`
68+
Layout string `json:"layout"`
69+
ShowCurrent bool `json:"showCurrent"`
70+
Width any `json:"width"`
71+
Height any `json:"height"`
7272
}
7373

7474
type DisplayInfo struct {
@@ -374,7 +374,7 @@ func (p *Panels) WithLayout(xPos, yPos, width, height int) (*Panels, error) {
374374

375375
type NumberThresholds struct {
376376
Base NumberThresholdBase `json:"base"`
377-
Values []any `json:"values"`
377+
Values []any `json:"values"`
378378
}
379379

380380
type NumberThresholdBase struct {
@@ -383,9 +383,9 @@ type NumberThresholdBase struct {
383383
}
384384

385385
type TeamSharingOptions struct {
386-
Type string `json:"type"`
387-
UserTeamsRole string `json:"userTeamsRole"`
388-
SelectedTeams []any `json:"selectedTeams"`
386+
Type string `json:"type"`
387+
UserTeamsRole string `json:"userTeamsRole"`
388+
SelectedTeams []any `json:"selectedTeams"`
389389
}
390390

391391
type SharingOptions struct {
@@ -399,24 +399,24 @@ type SharingMember struct {
399399
}
400400

401401
type ScopeExpressionList struct {
402-
Operand string `json:"operand"`
403-
Operator string `json:"operator"`
404-
DisplayName string `json:"displayName"`
405-
Value []string `json:"value"`
406-
Descriptor any `json:"descriptor"`
407-
IsVariable bool `json:"isVariable"`
402+
Operand string `json:"operand"`
403+
Operator string `json:"operator"`
404+
DisplayName string `json:"displayName"`
405+
Value []string `json:"value"`
406+
Descriptor any `json:"descriptor"`
407+
IsVariable bool `json:"isVariable"`
408408
}
409409

410410
type Dashboard struct {
411411
Version int `json:"version,omitempty"`
412-
CustomerID any `json:"customerId"`
412+
CustomerID any `json:"customerId"`
413413
TeamID int `json:"teamId"`
414414
Schema int `json:"schema"`
415415
AutoCreated bool `json:"autoCreated"`
416416
PublicToken string `json:"publicToken"`
417417
ScopeExpressionList []*ScopeExpressionList `json:"scopeExpressionList"`
418418
Layout []*Layout `json:"layout"`
419-
TeamScope any `json:"teamScope"`
419+
TeamScope any `json:"teamScope"`
420420
EventDisplaySettings EventDisplaySettings `json:"eventDisplaySettings"`
421421
ID int `json:"id,omitempty"`
422422
Name string `json:"name"`
@@ -429,7 +429,7 @@ type Dashboard struct {
429429
CreatedOn int64 `json:"createdOn"`
430430
ModifiedOn int64 `json:"modifiedOn"`
431431
Panels []*Panels `json:"panels"`
432-
TeamScopeExpressionList []any `json:"teamScopeExpressionList"`
432+
TeamScopeExpressionList []any `json:"teamScopeExpressionList"`
433433
CreatedOnDate string `json:"createdOnDate"`
434434
ModifiedOnDate string `json:"modifiedOnDate"`
435435
TeamSharingOptions TeamSharingOptions `json:"teamSharingOptions"`

0 commit comments

Comments
 (0)