/
struct_container.go
72 lines (70 loc) · 6.92 KB
/
struct_container.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
package ess
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
//http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
//
// Code generated by Alibaba Cloud SDK Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// Container is a nested struct in ess response
type Container struct {
ReadinessProbeHttpGetPath string `json:"ReadinessProbeHttpGetPath" xml:"ReadinessProbeHttpGetPath"`
ReadinessProbeSuccessThreshold int `json:"ReadinessProbeSuccessThreshold" xml:"ReadinessProbeSuccessThreshold"`
LivenessProbePeriodSeconds int `json:"LivenessProbePeriodSeconds" xml:"LivenessProbePeriodSeconds"`
LivenessProbeTcpSocketPort int `json:"LivenessProbeTcpSocketPort" xml:"LivenessProbeTcpSocketPort"`
LivenessProbeHttpGetScheme string `json:"LivenessProbeHttpGetScheme" xml:"LivenessProbeHttpGetScheme"`
WorkingDir string `json:"WorkingDir" xml:"WorkingDir"`
Tty bool `json:"Tty" xml:"Tty"`
LivenessProbeHttpGetPort int `json:"LivenessProbeHttpGetPort" xml:"LivenessProbeHttpGetPort"`
Gpu int `json:"Gpu" xml:"Gpu"`
ReadinessProbeInitialDelaySeconds int `json:"ReadinessProbeInitialDelaySeconds" xml:"ReadinessProbeInitialDelaySeconds"`
Stdin bool `json:"Stdin" xml:"Stdin"`
Memory float64 `json:"Memory" xml:"Memory"`
Name string `json:"Name" xml:"Name"`
SecurityContextReadOnlyRootFilesystem bool `json:"SecurityContextReadOnlyRootFilesystem" xml:"SecurityContextReadOnlyRootFilesystem"`
LivenessProbeHttpGetPath string `json:"LivenessProbeHttpGetPath" xml:"LivenessProbeHttpGetPath"`
Image string `json:"Image" xml:"Image"`
ReadinessProbeTcpSocketPort int `json:"ReadinessProbeTcpSocketPort" xml:"ReadinessProbeTcpSocketPort"`
ReadinessProbeHttpGetScheme string `json:"ReadinessProbeHttpGetScheme" xml:"ReadinessProbeHttpGetScheme"`
ReadinessProbeHttpGetPort int `json:"ReadinessProbeHttpGetPort" xml:"ReadinessProbeHttpGetPort"`
LivenessProbeSuccessThreshold int `json:"LivenessProbeSuccessThreshold" xml:"LivenessProbeSuccessThreshold"`
ReadinessProbeTimeoutSeconds int `json:"ReadinessProbeTimeoutSeconds" xml:"ReadinessProbeTimeoutSeconds"`
SecurityContextRunAsUser int64 `json:"SecurityContextRunAsUser" xml:"SecurityContextRunAsUser"`
LivenessProbeInitialDelaySeconds int `json:"LivenessProbeInitialDelaySeconds" xml:"LivenessProbeInitialDelaySeconds"`
ReadinessProbePeriodSeconds int `json:"ReadinessProbePeriodSeconds" xml:"ReadinessProbePeriodSeconds"`
ImagePullPolicy string `json:"ImagePullPolicy" xml:"ImagePullPolicy"`
StdinOnce bool `json:"StdinOnce" xml:"StdinOnce"`
Cpu float64 `json:"Cpu" xml:"Cpu"`
LivenessProbeTimeoutSeconds int `json:"LivenessProbeTimeoutSeconds" xml:"LivenessProbeTimeoutSeconds"`
ReadinessProbeFailureThreshold int `json:"ReadinessProbeFailureThreshold" xml:"ReadinessProbeFailureThreshold"`
LivenessProbeFailureThreshold int `json:"LivenessProbeFailureThreshold" xml:"LivenessProbeFailureThreshold"`
LifecyclePostStartHandlerHttpGetHost string `json:"LifecyclePostStartHandlerHttpGetHost" xml:"LifecyclePostStartHandlerHttpGetHost"`
LifecyclePostStartHandlerHttpGetPort int `json:"LifecyclePostStartHandlerHttpGetPort" xml:"LifecyclePostStartHandlerHttpGetPort"`
LifecyclePostStartHandlerHttpGetPath string `json:"LifecyclePostStartHandlerHttpGetPath" xml:"LifecyclePostStartHandlerHttpGetPath"`
LifecyclePostStartHandlerHttpGetScheme string `json:"LifecyclePostStartHandlerHttpGetScheme" xml:"LifecyclePostStartHandlerHttpGetScheme"`
LifecyclePostStartHandlerTcpSocketHost string `json:"LifecyclePostStartHandlerTcpSocketHost" xml:"LifecyclePostStartHandlerTcpSocketHost"`
LifecyclePostStartHandlerTcpSocketPort int `json:"LifecyclePostStartHandlerTcpSocketPort" xml:"LifecyclePostStartHandlerTcpSocketPort"`
LifecyclePreStopHandlerHttpGetHost string `json:"LifecyclePreStopHandlerHttpGetHost" xml:"LifecyclePreStopHandlerHttpGetHost"`
LifecyclePreStopHandlerHttpGetPort int `json:"LifecyclePreStopHandlerHttpGetPort" xml:"LifecyclePreStopHandlerHttpGetPort"`
LifecyclePreStopHandlerHttpGetPath string `json:"LifecyclePreStopHandlerHttpGetPath" xml:"LifecyclePreStopHandlerHttpGetPath"`
LifecyclePreStopHandlerHttpGetScheme string `json:"LifecyclePreStopHandlerHttpGetScheme" xml:"LifecyclePreStopHandlerHttpGetScheme"`
LifecyclePreStopHandlerTcpSocketHost string `json:"LifecyclePreStopHandlerTcpSocketHost" xml:"LifecyclePreStopHandlerTcpSocketHost"`
LifecyclePreStopHandlerTcpSocketPort int `json:"LifecyclePreStopHandlerTcpSocketPort" xml:"LifecyclePreStopHandlerTcpSocketPort"`
Commands []string `json:"Commands" xml:"Commands"`
LivenessProbeExecCommands []string `json:"LivenessProbeExecCommands" xml:"LivenessProbeExecCommands"`
Args []string `json:"Args" xml:"Args"`
ReadinessProbeExecCommands []string `json:"ReadinessProbeExecCommands" xml:"ReadinessProbeExecCommands"`
SecurityContextCapabilityAdds []string `json:"SecurityContextCapabilityAdds" xml:"SecurityContextCapabilityAdds"`
LifecyclePostStartHandlerExecs []string `json:"LifecyclePostStartHandlerExecs" xml:"LifecyclePostStartHandlerExecs"`
LifecyclePreStopHandlerExecs []string `json:"LifecyclePreStopHandlerExecs" xml:"LifecyclePreStopHandlerExecs"`
Ports []Port `json:"Ports" xml:"Ports"`
VolumeMounts []VolumeMount `json:"VolumeMounts" xml:"VolumeMounts"`
EnvironmentVars []EnvironmentVar `json:"EnvironmentVars" xml:"EnvironmentVars"`
}