Documentation ¶
Index ¶
Constants ¶
View Source
const ExternalIPLabel = "fabric8.io/externalIP"
View Source
const (
PathModeUsePath = "path"
)
Variables ¶
View Source
var ( ExposeLabel = Label{Key: "expose", Value: "true"} ExposeAnnotation = Label{Key: "fabric8.io/expose", Value: "true"} InjectAnnotation = Label{Key: "fabric8.io/inject", Value: "true"} ExposeAnnotationKey = "fabric8.io/exposeUrl" ExposePortAnnotationKey = "fabric8.io/exposePort" ApiServicePathAnnotationKey = "api.service.kubernetes.io/path" )
Functions ¶
Types ¶
type ExposeStrategy ¶
func New ¶
func New(exposer, domain, urltemplate, nodeIP, routeHost, pathMode string, routeUsePath, http, tlsAcme bool, client *client.Client, restClientConfig *restclient.Config, encoder runtime.Encoder) (ExposeStrategy, error)
func NewAutoStrategy ¶
type IngressStrategy ¶
type IngressStrategy struct {
// contains filtered or unexported fields
}
func NewIngressStrategy ¶
type LoadBalancerStrategy ¶
type LoadBalancerStrategy struct {
// contains filtered or unexported fields
}
func NewLoadBalancerStrategy ¶
type NodePortStrategy ¶
type NodePortStrategy struct {
// contains filtered or unexported fields
}
func NewNodePortStrategy ¶
type RouteStrategy ¶
type RouteStrategy struct {
// contains filtered or unexported fields
}
func NewRouteStrategy ¶
Click to show internal directories.
Click to hide internal directories.