Documentation ¶
Index ¶
Constants ¶
View Source
const (
ResourceType voyager.ResourceType = "GlobalEdge"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Route ¶
type Route struct { Match RouteMatch `json:"match,omitempty"` Route RouteAction `json:"route,omitempty"` Redirect string `json:"redirect,omitempty"` }
type RouteAction ¶
type RouteMatch ¶
type Spec ¶
type Spec struct { UpstreamAddresses []UpstreamAddress `json:"upstreamAddresses"` UpstreamPort int32 `json:"upstreamPort,omitempty"` UpstreamSuffix string `json:"upstreamSuffix,omitempty"` UpstreamOnly string `json:"upstreamOnly,omitempty"` Domains []string `json:"domains,omitempty"` Healthcheck string `json:"healthcheck,omitempty"` Rewrite string `json:"rewrite,omitempty"` Routes []Route `json:"routes,omitempty"` }
type UpstreamAddress ¶
type WiringPlugin ¶
type WiringPlugin struct { }
func New ¶
func New() *WiringPlugin
func (*WiringPlugin) WireUp ¶
func (p *WiringPlugin) WireUp(resource *orchestration.StateResource, context *wiringplugin.WiringContext) wiringplugin.WiringResult
Click to show internal directories.
Click to hide internal directories.