mirror of
https://github.com/rancher/types.git
synced 2025-08-13 10:15:19 +00:00
go generate
This commit is contained in:
parent
99776d388c
commit
19854aa77e
@ -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"`
|
||||
|
Loading…
Reference in New Issue
Block a user