Service

case class Service(kind: String, apiVersion: String, metadata: ObjectMeta, spec: Option[Spec], status: Option[Status]) extends ObjectResource
Companion:
object
trait Serializable
trait Product
trait Equals
class ObjectResource
class TypeMeta
class Object
trait Matchable
class Any

Value members

Concrete methods

def addExternalIP(ip: String): Service
def addLabel(lbl: (String, String)): Service
def addLabels(lbls: Map[String, String]): Service
def exposeOnNodePort(bind: (Int, Int), name: String): Service
def exposeOnPort(port: Port): Service
def mapsToEndpoint(ip: String, port: Int, protocol: Value): Endpoints
def mapsToEndpoints(subsets: List[Subset]): Endpoints
def setPort(port: Port): Service
def setPorts(ports: List[Port]): Service
def withClusterIP(ip: String): Service
def withExternalIP(ip: String): Service
def withExternalIPs(ips: List[String]): Service
def withExternalTrafficPolicy(externalTrafficPolicy: Value): Service
def withLoadBalancerIP(ip: String): Service
def withResourceVersion(version: String): Service
def withSelector(sel: Map[String, String]): Service
def withSelector(sel: (String, String)): Service
def withSessionAffinity(affinity: Value): Service
def withType(_type: Value): Service

Inherited methods

def name: String
Inherited from:
ObjectResource
def ns: String
Inherited from:
ObjectResource
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def resourceVersion: String
Inherited from:
ObjectResource

Concrete fields

lazy val copySpec: Spec