From d6b26cedb92786323fb79adf4af529d927366fd7 Mon Sep 17 00:00:00 2001 From: Alena Prokharchyk Date: Mon, 29 Jan 2018 16:51:12 -0800 Subject: [PATCH] generated changes --- .../v3/zz_generated_deepcopy.go | 20 +++++++++++++++++++ client/cluster/v3/zz_generated_node.go | 2 ++ .../v3/zz_generated_public_endpoint.go | 20 +++++++++++++++++++ client/management/v3/zz_generated_node.go | 2 ++ .../v3/zz_generated_public_endpoint.go | 20 +++++++++++++++++++ client/project/v3/zz_generated_dns_record.go | 2 ++ client/project/v3/zz_generated_pod.go | 2 ++ .../v3/zz_generated_public_endpoint.go | 20 +++++++++++++++++++ client/project/v3/zz_generated_service.go | 2 ++ 9 files changed, 90 insertions(+) create mode 100644 client/cluster/v3/zz_generated_public_endpoint.go create mode 100644 client/management/v3/zz_generated_public_endpoint.go create mode 100644 client/project/v3/zz_generated_public_endpoint.go diff --git a/apis/project.cattle.io/v3/zz_generated_deepcopy.go b/apis/project.cattle.io/v3/zz_generated_deepcopy.go index 866c1455..4847a150 100644 --- a/apis/project.cattle.io/v3/zz_generated_deepcopy.go +++ b/apis/project.cattle.io/v3/zz_generated_deepcopy.go @@ -109,6 +109,10 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { in.(*NamespacedServiceAccountTokenList).DeepCopyInto(out.(*NamespacedServiceAccountTokenList)) return nil }, InType: reflect.TypeOf(&NamespacedServiceAccountTokenList{})}, + conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { + in.(*PublicEndpoint).DeepCopyInto(out.(*PublicEndpoint)) + return nil + }, InType: reflect.TypeOf(&PublicEndpoint{})}, conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { in.(*RegistryCredential).DeepCopyInto(out.(*RegistryCredential)) return nil @@ -825,6 +829,22 @@ func (in *NamespacedServiceAccountTokenList) DeepCopyObject() runtime.Object { } } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PublicEndpoint) DeepCopyInto(out *PublicEndpoint) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicEndpoint. +func (in *PublicEndpoint) DeepCopy() *PublicEndpoint { + if in == nil { + return nil + } + out := new(PublicEndpoint) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RegistryCredential) DeepCopyInto(out *RegistryCredential) { *out = *in diff --git a/client/cluster/v3/zz_generated_node.go b/client/cluster/v3/zz_generated_node.go index 6019781f..48be79f5 100644 --- a/client/cluster/v3/zz_generated_node.go +++ b/client/cluster/v3/zz_generated_node.go @@ -21,6 +21,7 @@ const ( NodeFieldOwnerReferences = "ownerReferences" NodeFieldPodCidr = "podCidr" NodeFieldProviderId = "providerId" + NodeFieldPublicEndpoints = "publicEndpoints" NodeFieldRemoved = "removed" NodeFieldState = "state" NodeFieldTaints = "taints" @@ -49,6 +50,7 @@ type Node struct { OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"` PodCidr string `json:"podCidr,omitempty"` ProviderId string `json:"providerId,omitempty"` + PublicEndpoints []PublicEndpoint `json:"publicEndpoints,omitempty"` Removed string `json:"removed,omitempty"` State string `json:"state,omitempty"` Taints []Taint `json:"taints,omitempty"` diff --git a/client/cluster/v3/zz_generated_public_endpoint.go b/client/cluster/v3/zz_generated_public_endpoint.go new file mode 100644 index 00000000..039cc722 --- /dev/null +++ b/client/cluster/v3/zz_generated_public_endpoint.go @@ -0,0 +1,20 @@ +package client + +const ( + PublicEndpointType = "publicEndpoint" + PublicEndpointFieldAddress = "address" + PublicEndpointFieldNode = "node" + PublicEndpointFieldPod = "pod" + PublicEndpointFieldPort = "port" + PublicEndpointFieldProtocol = "protocol" + PublicEndpointFieldService = "service" +) + +type PublicEndpoint struct { + Address string `json:"address,omitempty"` + Node string `json:"node,omitempty"` + Pod string `json:"pod,omitempty"` + Port *int64 `json:"port,omitempty"` + Protocol string `json:"protocol,omitempty"` + Service string `json:"service,omitempty"` +} diff --git a/client/management/v3/zz_generated_node.go b/client/management/v3/zz_generated_node.go index 6019781f..48be79f5 100644 --- a/client/management/v3/zz_generated_node.go +++ b/client/management/v3/zz_generated_node.go @@ -21,6 +21,7 @@ const ( NodeFieldOwnerReferences = "ownerReferences" NodeFieldPodCidr = "podCidr" NodeFieldProviderId = "providerId" + NodeFieldPublicEndpoints = "publicEndpoints" NodeFieldRemoved = "removed" NodeFieldState = "state" NodeFieldTaints = "taints" @@ -49,6 +50,7 @@ type Node struct { OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"` PodCidr string `json:"podCidr,omitempty"` ProviderId string `json:"providerId,omitempty"` + PublicEndpoints []PublicEndpoint `json:"publicEndpoints,omitempty"` Removed string `json:"removed,omitempty"` State string `json:"state,omitempty"` Taints []Taint `json:"taints,omitempty"` diff --git a/client/management/v3/zz_generated_public_endpoint.go b/client/management/v3/zz_generated_public_endpoint.go new file mode 100644 index 00000000..039cc722 --- /dev/null +++ b/client/management/v3/zz_generated_public_endpoint.go @@ -0,0 +1,20 @@ +package client + +const ( + PublicEndpointType = "publicEndpoint" + PublicEndpointFieldAddress = "address" + PublicEndpointFieldNode = "node" + PublicEndpointFieldPod = "pod" + PublicEndpointFieldPort = "port" + PublicEndpointFieldProtocol = "protocol" + PublicEndpointFieldService = "service" +) + +type PublicEndpoint struct { + Address string `json:"address,omitempty"` + Node string `json:"node,omitempty"` + Pod string `json:"pod,omitempty"` + Port *int64 `json:"port,omitempty"` + Protocol string `json:"protocol,omitempty"` + Service string `json:"service,omitempty"` +} diff --git a/client/project/v3/zz_generated_dns_record.go b/client/project/v3/zz_generated_dns_record.go index 499e901d..def3dc9e 100644 --- a/client/project/v3/zz_generated_dns_record.go +++ b/client/project/v3/zz_generated_dns_record.go @@ -18,6 +18,7 @@ const ( DNSRecordFieldNamespaceId = "namespaceId" DNSRecordFieldOwnerReferences = "ownerReferences" DNSRecordFieldProjectID = "projectId" + DNSRecordFieldPublicEndpoints = "publicEndpoints" DNSRecordFieldRemoved = "removed" DNSRecordFieldSelector = "selector" DNSRecordFieldState = "state" @@ -43,6 +44,7 @@ type DNSRecord struct { NamespaceId string `json:"namespaceId,omitempty"` OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"` ProjectID string `json:"projectId,omitempty"` + PublicEndpoints []PublicEndpoint `json:"publicEndpoints,omitempty"` Removed string `json:"removed,omitempty"` Selector map[string]string `json:"selector,omitempty"` State string `json:"state,omitempty"` diff --git a/client/project/v3/zz_generated_pod.go b/client/project/v3/zz_generated_pod.go index be1a528f..01bf6336 100644 --- a/client/project/v3/zz_generated_pod.go +++ b/client/project/v3/zz_generated_pod.go @@ -29,6 +29,7 @@ const ( PodFieldPriority = "priority" PodFieldPriorityClassName = "priorityClassName" PodFieldProjectID = "projectId" + PodFieldPublicEndpoints = "publicEndpoints" PodFieldPullPolicy = "pullPolicy" PodFieldPullSecrets = "pullSecrets" PodFieldRemoved = "removed" @@ -74,6 +75,7 @@ type Pod struct { Priority *int64 `json:"priority,omitempty"` PriorityClassName string `json:"priorityClassName,omitempty"` ProjectID string `json:"projectId,omitempty"` + PublicEndpoints []PublicEndpoint `json:"publicEndpoints,omitempty"` PullPolicy string `json:"pullPolicy,omitempty"` PullSecrets []LocalObjectReference `json:"pullSecrets,omitempty"` Removed string `json:"removed,omitempty"` diff --git a/client/project/v3/zz_generated_public_endpoint.go b/client/project/v3/zz_generated_public_endpoint.go new file mode 100644 index 00000000..039cc722 --- /dev/null +++ b/client/project/v3/zz_generated_public_endpoint.go @@ -0,0 +1,20 @@ +package client + +const ( + PublicEndpointType = "publicEndpoint" + PublicEndpointFieldAddress = "address" + PublicEndpointFieldNode = "node" + PublicEndpointFieldPod = "pod" + PublicEndpointFieldPort = "port" + PublicEndpointFieldProtocol = "protocol" + PublicEndpointFieldService = "service" +) + +type PublicEndpoint struct { + Address string `json:"address,omitempty"` + Node string `json:"node,omitempty"` + Pod string `json:"pod,omitempty"` + Port *int64 `json:"port,omitempty"` + Protocol string `json:"protocol,omitempty"` + Service string `json:"service,omitempty"` +} diff --git a/client/project/v3/zz_generated_service.go b/client/project/v3/zz_generated_service.go index 1e7cac5a..ef81fe83 100644 --- a/client/project/v3/zz_generated_service.go +++ b/client/project/v3/zz_generated_service.go @@ -25,6 +25,7 @@ const ( ServiceFieldOwnerReferences = "ownerReferences" ServiceFieldPorts = "ports" ServiceFieldProjectID = "projectId" + ServiceFieldPublicEndpoints = "publicEndpoints" ServiceFieldPublishNotReadyAddresses = "publishNotReadyAddresses" ServiceFieldRemoved = "removed" ServiceFieldSelector = "selector" @@ -60,6 +61,7 @@ type Service struct { OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"` Ports []ServicePort `json:"ports,omitempty"` ProjectID string `json:"projectId,omitempty"` + PublicEndpoints []PublicEndpoint `json:"publicEndpoints,omitempty"` PublishNotReadyAddresses *bool `json:"publishNotReadyAddresses,omitempty"` Removed string `json:"removed,omitempty"` Selector map[string]string `json:"selector,omitempty"`