1
0
mirror of https://github.com/rancher/types.git synced 2025-08-13 18:25:17 +00:00

go generate

This commit is contained in:
Sebastiaan van Steenis 2019-10-25 19:26:22 +02:00 committed by Alena Prokharchyk
parent d2c1b5711c
commit 9d37fcf2e9

View File

@ -1,24 +1,26 @@
package client
const (
KubeletServiceType = "kubeletService"
KubeletServiceFieldClusterDNSServer = "clusterDnsServer"
KubeletServiceFieldClusterDomain = "clusterDomain"
KubeletServiceFieldExtraArgs = "extraArgs"
KubeletServiceFieldExtraBinds = "extraBinds"
KubeletServiceFieldExtraEnv = "extraEnv"
KubeletServiceFieldFailSwapOn = "failSwapOn"
KubeletServiceFieldImage = "image"
KubeletServiceFieldInfraContainerImage = "infraContainerImage"
KubeletServiceType = "kubeletService"
KubeletServiceFieldClusterDNSServer = "clusterDnsServer"
KubeletServiceFieldClusterDomain = "clusterDomain"
KubeletServiceFieldExtraArgs = "extraArgs"
KubeletServiceFieldExtraBinds = "extraBinds"
KubeletServiceFieldExtraEnv = "extraEnv"
KubeletServiceFieldFailSwapOn = "failSwapOn"
KubeletServiceFieldGenerateServingCertificate = "generateServingCertificate"
KubeletServiceFieldImage = "image"
KubeletServiceFieldInfraContainerImage = "infraContainerImage"
)
type KubeletService struct {
ClusterDNSServer string `json:"clusterDnsServer,omitempty" yaml:"clusterDnsServer,omitempty"`
ClusterDomain string `json:"clusterDomain,omitempty" yaml:"clusterDomain,omitempty"`
ExtraArgs map[string]string `json:"extraArgs,omitempty" yaml:"extraArgs,omitempty"`
ExtraBinds []string `json:"extraBinds,omitempty" yaml:"extraBinds,omitempty"`
ExtraEnv []string `json:"extraEnv,omitempty" yaml:"extraEnv,omitempty"`
FailSwapOn bool `json:"failSwapOn,omitempty" yaml:"failSwapOn,omitempty"`
Image string `json:"image,omitempty" yaml:"image,omitempty"`
InfraContainerImage string `json:"infraContainerImage,omitempty" yaml:"infraContainerImage,omitempty"`
ClusterDNSServer string `json:"clusterDnsServer,omitempty" yaml:"clusterDnsServer,omitempty"`
ClusterDomain string `json:"clusterDomain,omitempty" yaml:"clusterDomain,omitempty"`
ExtraArgs map[string]string `json:"extraArgs,omitempty" yaml:"extraArgs,omitempty"`
ExtraBinds []string `json:"extraBinds,omitempty" yaml:"extraBinds,omitempty"`
ExtraEnv []string `json:"extraEnv,omitempty" yaml:"extraEnv,omitempty"`
FailSwapOn bool `json:"failSwapOn,omitempty" yaml:"failSwapOn,omitempty"`
GenerateServingCertificate bool `json:"generateServingCertificate,omitempty" yaml:"generateServingCertificate,omitempty"`
Image string `json:"image,omitempty" yaml:"image,omitempty"`
InfraContainerImage string `json:"infraContainerImage,omitempty" yaml:"infraContainerImage,omitempty"`
}