-
Notifications
You must be signed in to change notification settings - Fork 65
/
types.go
54 lines (46 loc) · 1.21 KB
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package operatorsdk
type OperatorSdkScorecardOptions struct {
OutputFormat string
Selector []string
ResultFile string
Kubeconfig []byte
Namespace string
ServiceAccount string
Verbose bool
WaitTime string
}
type OperatorSdkScorecardReport struct {
Stdout string
Stderr string
Items []OperatorSdkScorecardItem `json:"items"`
}
type OperatorSdkScorecardItem struct {
Status OperatorSdkScorecardStatus `json:"status"`
}
type OperatorSdkScorecardStatus struct {
Results []OperatorSdkScorecardResult `json:"results"`
}
type OperatorSdkScorecardResult struct {
Name string `json:"name"`
Log string `json:"log"`
State string `json:"state"`
}
type OperatorSdkBundleValidateOptions struct {
LogLevel string
ContainerEngine string
Selector []string
OptionalValues map[string]string
OutputFormat string
Verbose bool
WaitTime string
}
type OperatorSdkBundleValidateReport struct {
Stdout string
Stderr string
Passed bool `json:"passed"`
Outputs []OperatorSdkBundleValidateOutput `json:"outputs"`
}
type OperatorSdkBundleValidateOutput struct {
Type string `json:"type"`
Message string `json:"message"`
}