KontainerPort

open class KontainerPort(port: Int, protocol: KontainerPort.Protocol)

Represents a port number and protocol to be exposed by a Kontainer.

Author

Scott Rossillo

Constructors

Link copied to clipboard
fun KontainerPort(port: Int, protocol: KontainerPort.Protocol)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
enum Protocol : Enum<KontainerPort.Protocol>

Enumeration of supported network protocols than can be used to establish basic Kontainer availability. Kontainers may use other protocols built on top of these protocols; for example, HTTP, HTTPS, and GRPC.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int

Properties

Link copied to clipboard
val port: Int

The Kontainer port number.

Link copied to clipboard
val protocol: KontainerPort.Protocol

The Kontainer protocol.

Inheritors

Link copied to clipboard