1
0
mirror of https://github.com/rancher/types.git synced 2025-08-28 08:40:31 +00:00

go generate

This commit is contained in:
galal-hussein 2018-02-14 21:12:43 +02:00
parent e4f8e608d5
commit a1b9c4a930
2 changed files with 20 additions and 15 deletions

View File

@ -2055,6 +2055,11 @@ func (in *DynamicSchemaStatus) DeepCopy() *DynamicSchemaStatus {
func (in *ETCDService) DeepCopyInto(out *ETCDService) {
*out = *in
in.BaseService.DeepCopyInto(&out.BaseService)
if in.ExternalURLs != nil {
in, out := &in.ExternalURLs, &out.ExternalURLs
*out = make([]string, len(*in))
copy(*out, *in)
}
return
}

View File

@ -1,22 +1,22 @@
package client
const (
ETCDServiceType = "etcdService"
ETCDServiceFieldCACert = "caCert"
ETCDServiceFieldCert = "cert"
ETCDServiceFieldEtcdServers = "etcdServers"
ETCDServiceFieldExtraArgs = "extraArgs"
ETCDServiceFieldImage = "image"
ETCDServiceFieldKey = "key"
ETCDServiceFieldPath = "path"
ETCDServiceType = "etcdService"
ETCDServiceFieldCACert = "caCert"
ETCDServiceFieldCert = "cert"
ETCDServiceFieldExternalURLs = "externalUrls"
ETCDServiceFieldExtraArgs = "extraArgs"
ETCDServiceFieldImage = "image"
ETCDServiceFieldKey = "key"
ETCDServiceFieldPath = "path"
)
type ETCDService struct {
CACert string `json:"caCert,omitempty"`
Cert string `json:"cert,omitempty"`
EtcdServers string `json:"etcdServers,omitempty"`
ExtraArgs map[string]string `json:"extraArgs,omitempty"`
Image string `json:"image,omitempty"`
Key string `json:"key,omitempty"`
Path string `json:"path,omitempty"`
CACert string `json:"caCert,omitempty"`
Cert string `json:"cert,omitempty"`
ExternalURLs []string `json:"externalUrls,omitempty"`
ExtraArgs map[string]string `json:"extraArgs,omitempty"`
Image string `json:"image,omitempty"`
Key string `json:"key,omitempty"`
Path string `json:"path,omitempty"`
}