Packages

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

Linear Supertypes
Serializable, Product, Equals, ObjectResource, TypeMeta, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Ingress
  2. Serializable
  3. Product
  4. Equals
  5. ObjectResource
  6. TypeMeta
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Ingress(kind: String = "Ingress", apiVersion: String = "networking.k8s.io/v1beta1", metadata: ObjectMeta = ObjectMeta(), spec: Option[Spec] = None, status: Option[Status] = None)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAnnotations(newAnnos: Map[String, String]): Ingress
  5. 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")).
  6. 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").
  7. 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").
  8. 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")).
  9. 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")).
  10. val apiVersion: String
    Definition Classes
    IngressTypeMeta
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. lazy val copySpec: Spec
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val kind: String
    Definition Classes
    IngressTypeMeta
  19. val metadata: ObjectMeta
    Definition Classes
    IngressObjectResource
  20. def name: String
    Definition Classes
    ObjectResource
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def ns: String
    Definition Classes
    ObjectResource
  25. def productElementNames: Iterator[String]
    Definition Classes
    Product
  26. def resourceVersion: String
    Definition Classes
    ObjectResourceTypeMeta
  27. val spec: Option[Spec]
  28. val status: Option[Status]
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. 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

  34. 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

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ObjectResource

Inherited from TypeMeta

Inherited from AnyRef

Inherited from Any

Ungrouped