api: return endpoints target object references
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
This commit is contained in:
@@ -767,6 +767,9 @@ type Endpoint struct {
|
||||
|
||||
// Required: The destination port to access.
|
||||
Port int `json:"port"`
|
||||
|
||||
// Optional: The kubernetes object related to the entry point.
|
||||
TargetRef *ObjectReference `json:"targetRef,omitempty"`
|
||||
}
|
||||
|
||||
// EndpointsList is a list of endpoints.
|
||||
|
Reference in New Issue
Block a user