diff --git a/apis/management.cattle.io/v3/zz_generated_deepcopy.go b/apis/management.cattle.io/v3/zz_generated_deepcopy.go index 811644a9..28520833 100644 --- a/apis/management.cattle.io/v3/zz_generated_deepcopy.go +++ b/apis/management.cattle.io/v3/zz_generated_deepcopy.go @@ -252,6 +252,10 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { in.(*CustomConfig).DeepCopyInto(out.(*CustomConfig)) return nil }, InType: reflect.TypeOf(&CustomConfig{})}, + conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { + in.(*DockerInfo).DeepCopyInto(out.(*DockerInfo)) + return nil + }, InType: reflect.TypeOf(&DockerInfo{})}, conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { in.(*DynamicSchema).DeepCopyInto(out.(*DynamicSchema)) return nil @@ -2433,6 +2437,27 @@ func (in *CustomConfig) DeepCopy() *CustomConfig { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DockerInfo) DeepCopyInto(out *DockerInfo) { + *out = *in + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make([]string, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerInfo. +func (in *DockerInfo) DeepCopy() *DockerInfo { + if in == nil { + return nil + } + out := new(DockerInfo) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DynamicSchema) DeepCopyInto(out *DynamicSchema) { *out = *in @@ -4099,6 +4124,15 @@ func (in *NodeStatus) DeepCopyInto(out *NodeStatus) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.DockerInfo != nil { + in, out := &in.DockerInfo, &out.DockerInfo + if *in == nil { + *out = nil + } else { + *out = new(DockerInfo) + (*in).DeepCopyInto(*out) + } + } return } diff --git a/client/management/v3/zz_generated_docker_info.go b/client/management/v3/zz_generated_docker_info.go new file mode 100644 index 00000000..cd56b3df --- /dev/null +++ b/client/management/v3/zz_generated_docker_info.go @@ -0,0 +1,42 @@ +package client + +const ( + DockerInfoType = "dockerInfo" + DockerInfoFieldArchitecture = "architecture" + DockerInfoFieldCgroupDriver = "cgroupDriver" + DockerInfoFieldDebug = "debug" + DockerInfoFieldDockerRootDir = "dockerRootDir" + DockerInfoFieldDriver = "driver" + DockerInfoFieldExperimentalBuild = "experimentalBuild" + DockerInfoFieldHTTPProxy = "httpProxy" + DockerInfoFieldHTTPSProxy = "httpsProxy" + DockerInfoFieldIndexServerAddress = "indexServerAddress" + DockerInfoFieldKernelVersion = "kernelVersion" + DockerInfoFieldLabels = "labels" + DockerInfoFieldLoggingDriver = "loggingDriver" + DockerInfoFieldName = "name" + DockerInfoFieldNoProxy = "noProxy" + DockerInfoFieldOSType = "osType" + DockerInfoFieldOperatingSystem = "operatingSystem" + DockerInfoFieldServerVersion = "serverVersion" +) + +type DockerInfo struct { + Architecture string `json:"architecture,omitempty" yaml:"architecture,omitempty"` + CgroupDriver string `json:"cgroupDriver,omitempty" yaml:"cgroupDriver,omitempty"` + Debug bool `json:"debug,omitempty" yaml:"debug,omitempty"` + DockerRootDir string `json:"dockerRootDir,omitempty" yaml:"dockerRootDir,omitempty"` + Driver string `json:"driver,omitempty" yaml:"driver,omitempty"` + ExperimentalBuild bool `json:"experimentalBuild,omitempty" yaml:"experimentalBuild,omitempty"` + HTTPProxy string `json:"httpProxy,omitempty" yaml:"httpProxy,omitempty"` + HTTPSProxy string `json:"httpsProxy,omitempty" yaml:"httpsProxy,omitempty"` + IndexServerAddress string `json:"indexServerAddress,omitempty" yaml:"indexServerAddress,omitempty"` + KernelVersion string `json:"kernelVersion,omitempty" yaml:"kernelVersion,omitempty"` + Labels []string `json:"labels,omitempty" yaml:"labels,omitempty"` + LoggingDriver string `json:"loggingDriver,omitempty" yaml:"loggingDriver,omitempty"` + Name string `json:"name,omitempty" yaml:"name,omitempty"` + NoProxy string `json:"noProxy,omitempty" yaml:"noProxy,omitempty"` + OSType string `json:"osType,omitempty" yaml:"osType,omitempty"` + OperatingSystem string `json:"operatingSystem,omitempty" yaml:"operatingSystem,omitempty"` + ServerVersion string `json:"serverVersion,omitempty" yaml:"serverVersion,omitempty"` +} diff --git a/client/management/v3/zz_generated_node.go b/client/management/v3/zz_generated_node.go index 06f576fe..1d1f8930 100644 --- a/client/management/v3/zz_generated_node.go +++ b/client/management/v3/zz_generated_node.go @@ -16,6 +16,7 @@ const ( NodeFieldCreatorID = "creatorId" NodeFieldCustomConfig = "customConfig" NodeFieldDescription = "description" + NodeFieldDockerInfo = "dockerInfo" NodeFieldEtcd = "etcd" NodeFieldExternalIPAddress = "externalIpAddress" NodeFieldHostname = "hostname" @@ -61,6 +62,7 @@ type Node struct { CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"` CustomConfig *CustomConfig `json:"customConfig,omitempty" yaml:"customConfig,omitempty"` Description string `json:"description,omitempty" yaml:"description,omitempty"` + DockerInfo *DockerInfo `json:"dockerInfo,omitempty" yaml:"dockerInfo,omitempty"` Etcd bool `json:"etcd,omitempty" yaml:"etcd,omitempty"` ExternalIPAddress string `json:"externalIpAddress,omitempty" yaml:"externalIpAddress,omitempty"` Hostname string `json:"hostname,omitempty" yaml:"hostname,omitempty"` diff --git a/client/management/v3/zz_generated_node_status.go b/client/management/v3/zz_generated_node_status.go index 044864ba..3fbc7da0 100644 --- a/client/management/v3/zz_generated_node_status.go +++ b/client/management/v3/zz_generated_node_status.go @@ -5,6 +5,7 @@ const ( NodeStatusFieldAllocatable = "allocatable" NodeStatusFieldCapacity = "capacity" NodeStatusFieldConditions = "conditions" + NodeStatusFieldDockerInfo = "dockerInfo" NodeStatusFieldExternalIPAddress = "externalIpAddress" NodeStatusFieldHostname = "hostname" NodeStatusFieldIPAddress = "ipAddress" @@ -24,6 +25,7 @@ type NodeStatus struct { Allocatable map[string]string `json:"allocatable,omitempty" yaml:"allocatable,omitempty"` Capacity map[string]string `json:"capacity,omitempty" yaml:"capacity,omitempty"` Conditions []NodeCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"` + DockerInfo *DockerInfo `json:"dockerInfo,omitempty" yaml:"dockerInfo,omitempty"` ExternalIPAddress string `json:"externalIpAddress,omitempty" yaml:"externalIpAddress,omitempty"` Hostname string `json:"hostname,omitempty" yaml:"hostname,omitempty"` IPAddress string `json:"ipAddress,omitempty" yaml:"ipAddress,omitempty"`