1
0
mirror of https://github.com/rancher/types.git synced 2025-09-18 16:10:58 +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

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