1
0
mirror of https://github.com/rancher/types.git synced 2025-09-24 19:39:13 +00:00

Add publicEndpoints field for ingress schema

This commit is contained in:
Yuxing
2018-03-28 17:34:02 -07:00
parent 0e7e7a5fd8
commit 3406d36e1f
2 changed files with 5 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ const (
IngressFieldNamespaceId = "namespaceId"
IngressFieldOwnerReferences = "ownerReferences"
IngressFieldProjectID = "projectId"
IngressFieldPublicEndpoints = "publicEndpoints"
IngressFieldRemoved = "removed"
IngressFieldRules = "rules"
IngressFieldState = "state"
@@ -38,6 +39,7 @@ type Ingress struct {
NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
PublicEndpoints []PublicEndpoint `json:"publicEndpoints,omitempty" yaml:"publicEndpoints,omitempty"`
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
Rules []IngressRule `json:"rules,omitempty" yaml:"rules,omitempty"`
State string `json:"state,omitempty" yaml:"state,omitempty"`