mirror of
https://github.com/rancher/types.git
synced 2025-09-08 16:39:00 +00:00
generated code
This commit is contained in:
committed by
Alena Prokharchyk
parent
e75a7b3254
commit
a10815ebfe
@@ -696,8 +696,8 @@ type DNSConfig struct {
|
||||
UpstreamNameservers []string `yaml:"upstreamnameservers" json:"upstreamnameservers,omitempty"`
|
||||
// ReverseCIDRs
|
||||
ReverseCIDRs []string `yaml:"reversecidrs" json:"reversecidrs,omitempty"`
|
||||
// Stubdomains
|
||||
StubDomains map[string][]string `yaml:"stubdomains" json:"stubdomains,omitempty"`
|
||||
// Stubdomains
|
||||
StubDomains map[string][]string `yaml:"stubdomains" json:"stubdomains,omitempty"`
|
||||
// NodeSelector key pair
|
||||
NodeSelector map[string]string `yaml:"node_selector" json:"nodeSelector,omitempty"`
|
||||
}
|
||||
|
@@ -2429,6 +2429,21 @@ func (in *DNSConfig) DeepCopyInto(out *DNSConfig) {
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
if in.StubDomains != nil {
|
||||
in, out := &in.StubDomains, &out.StubDomains
|
||||
*out = make(map[string][]string, len(*in))
|
||||
for key, val := range *in {
|
||||
var outVal []string
|
||||
if val == nil {
|
||||
(*out)[key] = nil
|
||||
} else {
|
||||
in, out := &val, &outVal
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
(*out)[key] = outVal
|
||||
}
|
||||
}
|
||||
if in.NodeSelector != nil {
|
||||
in, out := &in.NodeSelector, &out.NodeSelector
|
||||
*out = make(map[string]string, len(*in))
|
||||
|
Reference in New Issue
Block a user