mirror of
https://github.com/rancher/types.git
synced 2025-09-18 16:10:58 +00:00
go generate
This commit is contained in:
committed by
Alena Prokharchyk
parent
0d82e7b6b6
commit
fa1ec44125
@@ -4421,6 +4421,13 @@ func (in *KubeproxyService) DeepCopy() *KubeproxyService {
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *KubernetesServicesOptions) DeepCopyInto(out *KubernetesServicesOptions) {
|
||||
*out = *in
|
||||
if in.Etcd != nil {
|
||||
in, out := &in.Etcd, &out.Etcd
|
||||
*out = make(map[string]string, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
if in.KubeAPI != nil {
|
||||
in, out := &in.KubeAPI, &out.KubeAPI
|
||||
*out = make(map[string]string, len(*in))
|
||||
|
@@ -2,6 +2,7 @@ package client
|
||||
|
||||
const (
|
||||
KubernetesServicesOptionsType = "kubernetesServicesOptions"
|
||||
KubernetesServicesOptionsFieldEtcd = "etcd"
|
||||
KubernetesServicesOptionsFieldKubeAPI = "kubeapi"
|
||||
KubernetesServicesOptionsFieldKubeController = "kubeController"
|
||||
KubernetesServicesOptionsFieldKubelet = "kubelet"
|
||||
@@ -10,6 +11,7 @@ const (
|
||||
)
|
||||
|
||||
type KubernetesServicesOptions struct {
|
||||
Etcd map[string]string `json:"etcd,omitempty" yaml:"etcd,omitempty"`
|
||||
KubeAPI map[string]string `json:"kubeapi,omitempty" yaml:"kubeapi,omitempty"`
|
||||
KubeController map[string]string `json:"kubeController,omitempty" yaml:"kubeController,omitempty"`
|
||||
Kubelet map[string]string `json:"kubelet,omitempty" yaml:"kubelet,omitempty"`
|
||||
|
Reference in New Issue
Block a user