case class Ingress(kind: String = "Ingress", apiVersion: String = "networking.k8s.io/v1beta1", metadata: ObjectMeta = ObjectMeta(), spec: Option[Spec] = None, status: Option[Status] = None) extends ObjectResource with Product with Serializable
- Alphabetic
- By Inheritance
- Ingress
- Serializable
- Serializable
- Product
- Equals
- ObjectResource
- TypeMeta
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Ingress(kind: String = "Ingress", apiVersion: String = "networking.k8s.io/v1beta1", metadata: ObjectMeta = ObjectMeta(), spec: Option[Spec] = None, status: Option[Status] = None)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAnnotations(newAnnos: Map[String, String]): Ingress
-
def
addHttpRule(host: Option[String], pathsMap: Map[String, String]): Ingress
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"), Map("/order" -> "orderService:80", "inventory" -> "inventoryService:80")) .addHttpRule(None, Map("/ship" -> "orderService:80", "inventory" -> "inventoryService:80")).
-
def
addHttpRule(pathsMap: (String, String)*): Ingress
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("/order" -> "orderService:80", "inventory" -> "inventoryService:80") .addHttpRule("/ship" -> "orderService:80", "inventory" -> "inventoryService:80").
-
def
addHttpRule(host: String, pathsMap: (String, String)*): Ingress
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", "/order" -> "orderService:80", "inventory" -> "inventoryService:80") .addHttpRule("foo1.bar.com", "/ship" -> "orderService:80", "inventory" -> "inventoryService:80").
-
def
addHttpRule(pathsMap: Map[String, String]): Ingress
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(Map("/order" -> "orderService:80", "inventory" -> "inventoryService:80")). addHttpRule(Map("/ship" -> "orderService:80", "inventory" -> "inventoryService:80")).
-
def
addHttpRule(host: String, pathsMap: Map[String, String]): Ingress
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", Map("/order" -> "orderService:80", "inventory" -> "inventoryService:80")). addHttpRule("foo1.bar.com", Map("/ship" -> "orderService:80", "inventory" -> "inventoryService:80")).
- val apiVersion: String
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- lazy val copySpec: Spec
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val kind: String
-
val
metadata: ObjectMeta
- Definition Classes
- Ingress → ObjectResource
-
def
name: String
- Definition Classes
- ObjectResource
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
ns: String
- Definition Classes
- ObjectResource
-
def
resourceVersion: String
- Definition Classes
- ObjectResource → TypeMeta
- val spec: Option[Spec]
- val status: Option[Status]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
withDefaultBackendService(serviceName: String, servicePort: NameablePort): Ingress
set the default backend i.e.
set the default backend i.e. if no ingress rule matches the incoming traffic then it gets routed to the specified service
- serviceName
- service name
- servicePort
- service port
- returns
copy of this Ingress with default backend set
-
def
withDefaultBackendService(serviceNameAndPort: String): Ingress
set the default backend i.e.
set the default backend i.e. if no ingress rule matches the incoming traffic then it gets routed to the specified service
- serviceNameAndPort
- service name and port as 'serviceName:servicePort'
- returns
copy of this Ingress with default backend set