mirror of
https://github.com/rancher/types.git
synced 2025-07-31 04:49:37 +00:00
Generated changes
This commit is contained in:
parent
4d68767f29
commit
bebdb13122
@ -2051,6 +2051,20 @@ func (in *MachineStatus) DeepCopyInto(out *MachineStatus) {
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
}
|
||||
if in.NodeAnnotations != nil {
|
||||
in, out := &in.NodeAnnotations, &out.NodeAnnotations
|
||||
*out = make(map[string]string, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
if in.NodeLabels != nil {
|
||||
in, out := &in.NodeLabels, &out.NodeLabels
|
||||
*out = make(map[string]string, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -23,6 +23,8 @@ const (
|
||||
MachineFieldMachineTemplateId = "machineTemplateId"
|
||||
MachineFieldName = "name"
|
||||
MachineFieldNamespaceId = "namespaceId"
|
||||
MachineFieldNodeAnnotations = "nodeAnnotations"
|
||||
MachineFieldNodeLabels = "nodeLabels"
|
||||
MachineFieldNodeName = "nodeName"
|
||||
MachineFieldOwnerReferences = "ownerReferences"
|
||||
MachineFieldPodCidr = "podCidr"
|
||||
@ -61,6 +63,8 @@ type Machine struct {
|
||||
MachineTemplateId string `json:"machineTemplateId,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
NamespaceId string `json:"namespaceId,omitempty"`
|
||||
NodeAnnotations map[string]string `json:"nodeAnnotations,omitempty"`
|
||||
NodeLabels map[string]string `json:"nodeLabels,omitempty"`
|
||||
NodeName string `json:"nodeName,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
|
||||
PodCidr string `json:"podCidr,omitempty"`
|
||||
|
@ -9,6 +9,8 @@ const (
|
||||
MachineStatusFieldIPAddress = "ipAddress"
|
||||
MachineStatusFieldInfo = "info"
|
||||
MachineStatusFieldLimits = "limits"
|
||||
MachineStatusFieldNodeAnnotations = "nodeAnnotations"
|
||||
MachineStatusFieldNodeLabels = "nodeLabels"
|
||||
MachineStatusFieldNodeName = "nodeName"
|
||||
MachineStatusFieldRequested = "requested"
|
||||
MachineStatusFieldSSHUser = "sshUser"
|
||||
@ -24,6 +26,8 @@ type MachineStatus struct {
|
||||
IPAddress string `json:"ipAddress,omitempty"`
|
||||
Info *NodeInfo `json:"info,omitempty"`
|
||||
Limits map[string]string `json:"limits,omitempty"`
|
||||
NodeAnnotations map[string]string `json:"nodeAnnotations,omitempty"`
|
||||
NodeLabels map[string]string `json:"nodeLabels,omitempty"`
|
||||
NodeName string `json:"nodeName,omitempty"`
|
||||
Requested map[string]string `json:"requested,omitempty"`
|
||||
SSHUser string `json:"sshUser,omitempty"`
|
||||
|
Loading…
Reference in New Issue
Block a user