Interface PortConfig


public interface PortConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    The port number.
    The host port.
    The nodePort to which this port should be mapped to.
    The application path (refers to web application path).
    io.dekorate.kubernetes.annotation.Protocol
    The protocol.
    boolean
    tls()
    If enabled, the port will be configured to use the schema HTTPS.
  • Method Details

    • containerPort

      OptionalInt containerPort()
      The port number. Refers to the container port.
    • hostPort

      OptionalInt hostPort()
      The host port.
    • path

      @WithDefault("/") Optional<String> path()
      The application path (refers to web application path).
    • protocol

      @WithDefault("TCP") io.dekorate.kubernetes.annotation.Protocol protocol()
      The protocol.
    • nodePort

      OptionalInt nodePort()
      The nodePort to which this port should be mapped to. This only takes affect when the serviceType is set to node-port.
    • tls

      @WithDefault("false") boolean tls()
      If enabled, the port will be configured to use the schema HTTPS.