Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass ObjectResourceclass TypeMetaclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Fluent API method for building out ingress rules e.g.
Fluent API method for building out ingress rules e.g.
val ingress = Ingress("microservices").
addHttpRule("foo.bar.com",
ImplementationSpecific,
Map("/order" -> "orderService:80",
"inventory" -> "inventoryService:80")).
addHttpRule("foo1.bar.com",
Map("/ship" -> "orderService:80",
"inventory" -> "inventoryService:80")).
Attributes
Fluent API method for building out ingress rules without host e.g.
Fluent API method for building out ingress rules without host e.g.
val ingress = Ingress("microservices").
addHttpRule(ImplementationSpecific,
Map("/order" -> "orderService:80",
"inventory" -> "inventoryService:80")).
addHttpRule(ImplementationSpecific,
Map("/ship" -> "orderService:80",
"inventory" -> "inventoryService:80")).
Attributes
Fluent API method for building out ingress rules e.g.
Fluent API method for building out ingress rules e.g.
val ingress =
Ingress("microservices")
.addHttpRule("foo.bar.com",
ImplementationSpecific,
"/order" -> "orderService:80",
"inventory" -> "inventoryService:80")
.addHttpRule("foo1.bar.com",
ImplementationSpecific,
"/ship" -> "orderService:80",
"inventory" -> "inventoryService:80").
Attributes
Fluent API method for building out ingress rules without host e.g.
Fluent API method for building out ingress rules without host e.g.
val ingress =
Ingress("microservices")
.addHttpRule(ImplementationSpecific,
"/order" -> "orderService:80",
"inventory" -> "inventoryService:80")
.addHttpRule(ImplementationSpecific,
"/ship" -> "orderService:80",
"inventory" -> "inventoryService:80").
Attributes
Fluent API method for building out ingress rules e.g.
Fluent API method for building out ingress rules e.g.
val ingress =
Ingress("microservices")
.addHttpRule(Some("foo.bar.com"),
Exact,
Map("/order" -> "orderService:80",
"inventory" -> "inventoryService:80"))
.addHttpRule(None,
ImplementationSpecific,
Map("/ship" -> "orderService:80",
"inventory" -> "inventoryService:80")).
Attributes
set the default backend i.e. if no ingress rule matches the incoming traffic then it gets routed to the specified service
set the default backend i.e. if no ingress rule matches the incoming traffic then it gets routed to the specified service
Value parameters
- serviceNameAndPort
-
- service name and port as 'serviceName:servicePort'
Attributes
- Returns
-
copy of this Ingress with default backend set
set the default backend i.e. if no ingress rule matches the incoming traffic then it gets routed to the specified service
set the default backend i.e. if no ingress rule matches the incoming traffic then it gets routed to the specified service
Value parameters
- serviceName
-
- service name
- servicePort
-
- service port
Attributes
- Returns
-
copy of this Ingress with default backend set
Inherited methods
Attributes
- Inherited from:
- ObjectResource
Attributes
- Inherited from:
- ObjectResource
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- ObjectResource