Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Route ¶
type Route struct {
kapi.TypeMeta `json:",inline"`
kapi.ObjectMeta `json:"metadata,omitempty"`
// Required: Alias/DNS that points to the service
// Can be host or host:port
// host and port are combined to follow the net/url URL struct
Host string `json:"host"`
// Optional: Path that the router watches for, to route traffic for to the service
Path string `json:"path,omitempty"`
// the name of the service that this route points to
ServiceName string `json:"serviceName"`
}
Route encapsulates the inputs needed to connect a DNS/alias to a service proxy.
func (*Route) IsAnAPIObject ¶
func (*Route) IsAnAPIObject()
Click to show internal directories.
Click to hide internal directories.