1
0
mirror of https://github.com/rancher/types.git synced 2025-07-16 06:25:50 +00:00

go generate

This commit is contained in:
galal-hussein 2018-05-09 01:12:29 +02:00
parent 4660377241
commit c1bb5ab877

View File

@ -2,23 +2,29 @@ package client
const (
ETCDServiceType = "etcdService"
ETCDServiceFieldBackup = "backup"
ETCDServiceFieldCACert = "caCert"
ETCDServiceFieldCert = "cert"
ETCDServiceFieldCreation = "creation"
ETCDServiceFieldExternalURLs = "externalUrls"
ETCDServiceFieldExtraArgs = "extraArgs"
ETCDServiceFieldExtraBinds = "extraBinds"
ETCDServiceFieldImage = "image"
ETCDServiceFieldKey = "key"
ETCDServiceFieldPath = "path"
ETCDServiceFieldRetention = "retention"
)
type ETCDService struct {
Backup bool `json:"backup,omitempty" yaml:"backup,omitempty"`
CACert string `json:"caCert,omitempty" yaml:"caCert,omitempty"`
Cert string `json:"cert,omitempty" yaml:"cert,omitempty"`
Creation string `json:"creation,omitempty" yaml:"creation,omitempty"`
ExternalURLs []string `json:"externalUrls,omitempty" yaml:"externalUrls,omitempty"`
ExtraArgs map[string]string `json:"extraArgs,omitempty" yaml:"extraArgs,omitempty"`
ExtraBinds []string `json:"extraBinds,omitempty" yaml:"extraBinds,omitempty"`
Image string `json:"image,omitempty" yaml:"image,omitempty"`
Key string `json:"key,omitempty" yaml:"key,omitempty"`
Path string `json:"path,omitempty" yaml:"path,omitempty"`
Retention string `json:"retention,omitempty" yaml:"retention,omitempty"`
}