Service

skuber.Service
See theService companion object
case class Service(kind: String, apiVersion: String, metadata: ObjectMeta, spec: Option[Spec], status: Option[Status]) extends ObjectResource

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class TypeMeta
class Object
trait Matchable
class Any
Show all

Members list

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 withType(_type: Value): Service

Inherited methods

def name: String

Attributes

Inherited from:
ObjectResource
def ns: String

Attributes

Inherited from:
ObjectResource
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def resourceVersion: String

Attributes

Inherited from:
ObjectResource

Concrete fields

lazy val copySpec: Spec