1
0
mirror of https://github.com/rancher/types.git synced 2025-08-28 00:30:31 +00:00

generated changes

This commit is contained in:
Alena Prokharchyk 2018-01-29 16:51:12 -08:00 committed by Darren Shepherd
parent c15c1cf920
commit d6b26cedb9
9 changed files with 90 additions and 0 deletions

View File

@ -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

View File

@ -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"`

View File

@ -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"`
}

View File

@ -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"`

View File

@ -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"`
}

View File

@ -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"`

View File

@ -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"`

View File

@ -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"`
}

View File

@ -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"`