From 2c2b758d3508f2987039caed1471854e657a838f Mon Sep 17 00:00:00 2001 From: Daishan Peng Date: Fri, 19 Jan 2018 13:37:59 -0700 Subject: [PATCH] generate changes --- client/management/v3/zz_generated_machine.go | 2 + .../v3/zz_generated_machine_config.go | 36 ++++++++------- .../v3/zz_generated_machine_spec.go | 44 ++++++++++--------- 3 files changed, 44 insertions(+), 38 deletions(-) diff --git a/client/management/v3/zz_generated_machine.go b/client/management/v3/zz_generated_machine.go index 8334076a..2e6b5a64 100644 --- a/client/management/v3/zz_generated_machine.go +++ b/client/management/v3/zz_generated_machine.go @@ -38,6 +38,7 @@ const ( MachineFieldTransitioning = "transitioning" MachineFieldTransitioningMessage = "transitioningMessage" MachineFieldUnschedulable = "unschedulable" + MachineFieldUseInternalIPAddress = "useInternalIpAddress" MachineFieldUuid = "uuid" MachineFieldVolumesAttached = "volumesAttached" MachineFieldVolumesInUse = "volumesInUse" @@ -77,6 +78,7 @@ type Machine struct { Transitioning string `json:"transitioning,omitempty"` TransitioningMessage string `json:"transitioningMessage,omitempty"` Unschedulable *bool `json:"unschedulable,omitempty"` + UseInternalIPAddress *bool `json:"useInternalIpAddress,omitempty"` Uuid string `json:"uuid,omitempty"` VolumesAttached map[string]AttachedVolume `json:"volumesAttached,omitempty"` VolumesInUse []string `json:"volumesInUse,omitempty"` diff --git a/client/management/v3/zz_generated_machine_config.go b/client/management/v3/zz_generated_machine_config.go index 2b8f03b2..81f4fac7 100644 --- a/client/management/v3/zz_generated_machine_config.go +++ b/client/management/v3/zz_generated_machine_config.go @@ -1,24 +1,26 @@ package client const ( - MachineConfigType = "machineConfig" - MachineConfigFieldAnnotations = "annotations" - MachineConfigFieldDescription = "description" - MachineConfigFieldDisplayName = "displayName" - MachineConfigFieldLabels = "labels" - MachineConfigFieldMachineTemplateId = "machineTemplateId" - MachineConfigFieldNodeSpec = "nodeSpec" - MachineConfigFieldRequestedHostname = "requestedHostname" - MachineConfigFieldRole = "role" + MachineConfigType = "machineConfig" + MachineConfigFieldAnnotations = "annotations" + MachineConfigFieldDescription = "description" + MachineConfigFieldDisplayName = "displayName" + MachineConfigFieldLabels = "labels" + MachineConfigFieldMachineTemplateId = "machineTemplateId" + MachineConfigFieldNodeSpec = "nodeSpec" + MachineConfigFieldRequestedHostname = "requestedHostname" + MachineConfigFieldRole = "role" + MachineConfigFieldUseInternalIPAddress = "useInternalIpAddress" ) type MachineConfig struct { - Annotations map[string]string `json:"annotations,omitempty"` - Description string `json:"description,omitempty"` - DisplayName string `json:"displayName,omitempty"` - Labels map[string]string `json:"labels,omitempty"` - MachineTemplateId string `json:"machineTemplateId,omitempty"` - NodeSpec *NodeSpec `json:"nodeSpec,omitempty"` - RequestedHostname string `json:"requestedHostname,omitempty"` - Role []string `json:"role,omitempty"` + Annotations map[string]string `json:"annotations,omitempty"` + Description string `json:"description,omitempty"` + DisplayName string `json:"displayName,omitempty"` + Labels map[string]string `json:"labels,omitempty"` + MachineTemplateId string `json:"machineTemplateId,omitempty"` + NodeSpec *NodeSpec `json:"nodeSpec,omitempty"` + RequestedHostname string `json:"requestedHostname,omitempty"` + Role []string `json:"role,omitempty"` + UseInternalIPAddress *bool `json:"useInternalIpAddress,omitempty"` } diff --git a/client/management/v3/zz_generated_machine_spec.go b/client/management/v3/zz_generated_machine_spec.go index 63f66b17..c1ce1e03 100644 --- a/client/management/v3/zz_generated_machine_spec.go +++ b/client/management/v3/zz_generated_machine_spec.go @@ -1,28 +1,30 @@ package client const ( - MachineSpecType = "machineSpec" - MachineSpecFieldClusterId = "clusterId" - MachineSpecFieldDescription = "description" - MachineSpecFieldDisplayName = "displayName" - MachineSpecFieldMachineTemplateId = "machineTemplateId" - MachineSpecFieldPodCidr = "podCidr" - MachineSpecFieldProviderId = "providerId" - MachineSpecFieldRequestedHostname = "requestedHostname" - MachineSpecFieldRole = "role" - MachineSpecFieldTaints = "taints" - MachineSpecFieldUnschedulable = "unschedulable" + MachineSpecType = "machineSpec" + MachineSpecFieldClusterId = "clusterId" + MachineSpecFieldDescription = "description" + MachineSpecFieldDisplayName = "displayName" + MachineSpecFieldMachineTemplateId = "machineTemplateId" + MachineSpecFieldPodCidr = "podCidr" + MachineSpecFieldProviderId = "providerId" + MachineSpecFieldRequestedHostname = "requestedHostname" + MachineSpecFieldRole = "role" + MachineSpecFieldTaints = "taints" + MachineSpecFieldUnschedulable = "unschedulable" + MachineSpecFieldUseInternalIPAddress = "useInternalIpAddress" ) type MachineSpec struct { - ClusterId string `json:"clusterId,omitempty"` - Description string `json:"description,omitempty"` - DisplayName string `json:"displayName,omitempty"` - MachineTemplateId string `json:"machineTemplateId,omitempty"` - PodCidr string `json:"podCidr,omitempty"` - ProviderId string `json:"providerId,omitempty"` - RequestedHostname string `json:"requestedHostname,omitempty"` - Role []string `json:"role,omitempty"` - Taints []Taint `json:"taints,omitempty"` - Unschedulable *bool `json:"unschedulable,omitempty"` + ClusterId string `json:"clusterId,omitempty"` + Description string `json:"description,omitempty"` + DisplayName string `json:"displayName,omitempty"` + MachineTemplateId string `json:"machineTemplateId,omitempty"` + PodCidr string `json:"podCidr,omitempty"` + ProviderId string `json:"providerId,omitempty"` + RequestedHostname string `json:"requestedHostname,omitempty"` + Role []string `json:"role,omitempty"` + Taints []Taint `json:"taints,omitempty"` + Unschedulable *bool `json:"unschedulable,omitempty"` + UseInternalIPAddress *bool `json:"useInternalIpAddress,omitempty"` }