mirror of
https://github.com/rancher/types.git
synced 2025-09-01 13:18:20 +00:00
Add fields Hostname and Path to PublicEndpoint
Related issue https://github.com/rancher/rancher/issues/12174 Because we want to populate endpoint for ingress, we will need `Hostname` and `Path` in endpoint represent ingress rule.
This commit is contained in:
@@ -3,7 +3,9 @@ package client
|
||||
const (
|
||||
PublicEndpointType = "publicEndpoint"
|
||||
PublicEndpointFieldAddress = "address"
|
||||
PublicEndpointFieldHostname = "hostname"
|
||||
PublicEndpointFieldNodeId = "nodeId"
|
||||
PublicEndpointFieldPath = "path"
|
||||
PublicEndpointFieldPodId = "podId"
|
||||
PublicEndpointFieldPort = "port"
|
||||
PublicEndpointFieldProtocol = "protocol"
|
||||
@@ -12,7 +14,9 @@ const (
|
||||
|
||||
type PublicEndpoint struct {
|
||||
Address string `json:"address,omitempty" yaml:"address,omitempty"`
|
||||
Hostname string `json:"hostname,omitempty" yaml:"hostname,omitempty"`
|
||||
NodeId string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"`
|
||||
Path string `json:"path,omitempty" yaml:"path,omitempty"`
|
||||
PodId string `json:"podId,omitempty" yaml:"podId,omitempty"`
|
||||
Port int64 `json:"port,omitempty" yaml:"port,omitempty"`
|
||||
Protocol string `json:"protocol,omitempty" yaml:"protocol,omitempty"`
|
||||
|
Reference in New Issue
Block a user