mirror of
https://github.com/rancher/types.git
synced 2025-09-18 16:10:58 +00:00
@@ -291,6 +291,8 @@ type Process struct {
|
||||
Privileged bool `json:"privileged,omitempty"`
|
||||
// Process healthcheck
|
||||
HealthCheck HealthCheck `json:"healthCheck,omitempty"`
|
||||
// Process docker container Labels
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
}
|
||||
|
||||
type HealthCheck struct {
|
||||
|
@@ -5185,6 +5185,13 @@ func (in *Process) DeepCopyInto(out *Process) {
|
||||
copy(*out, *in)
|
||||
}
|
||||
out.HealthCheck = in.HealthCheck
|
||||
if in.Labels != nil {
|
||||
in, out := &in.Labels, &out.Labels
|
||||
*out = make(map[string]string, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user