skuber
Service
Related Docs:
object Service
|
package skuber
case class
Service
(
kind:
String
=
"Service"
,
apiVersion:
String
=
v1
,
metadata:
ObjectMeta
,
spec:
Option
[
Spec
] =
None
,
status:
Option
[
Status
] =
None
)
extends
ObjectResource
with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
ObjectResource
,
TypeMeta
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
Service
Serializable
Serializable
Product
Equals
ObjectResource
TypeMeta
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
Service
(
kind:
String
=
"Service"
,
apiVersion:
String
=
v1
,
metadata:
ObjectMeta
,
spec:
Option
[
Spec
] =
None
,
status:
Option
[
Status
] =
None
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
addExternalIP
(
ip:
String
)
:
Service
def
addLabel
(
lbl: (
String
,
String
)
)
:
Service
def
addLabels
(
lbls:
Map
[
String
,
String
]
)
:
Service
val
apiVersion
:
String
Definition Classes
Service
→
TypeMeta
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
lazy val
copySpec
:
Spec
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
exposeOnNodePort
(
bind: (
Int
,
Int
)
,
name:
String
=
""
)
:
Service
def
exposeOnPort
(
port:
Port
)
:
Service
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
kind
:
String
Definition Classes
Service
→
TypeMeta
def
mapsToEndpoint
(
ip:
String
,
port:
Int
,
protocol:
Protocol.Value
=
Protocol.TCP
)
:
Endpoints
def
mapsToEndpoints
(
subsets:
List
[
Subset
]
)
:
Endpoints
def
mapsToEndpoints
(
subset:
Subset
)
:
Endpoints
val
metadata
:
ObjectMeta
Definition Classes
Service
→
ObjectResource
def
name
:
String
Definition Classes
ObjectResource
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
ns
:
String
Definition Classes
ObjectResource
def
resourceVersion
:
String
Definition Classes
ObjectResource
→
TypeMeta
def
setPort
(
port:
Port
)
:
Service
def
setPorts
(
ports:
List
[
Port
]
)
:
Service
val
spec
:
Option
[
Spec
]
val
status
:
Option
[
Status
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
withClusterIP
(
ip:
String
)
:
Service
def
withExternalIP
(
ip:
String
)
:
Service
def
withExternalIPs
(
ips:
List
[
String
]
)
:
Service
def
withLoadBalancerType
:
Service
def
withResourceVersion
(
version:
String
)
:
Service
def
withSelector
(
sel: (
String
,
String
)
)
:
Service
def
withSelector
(
sel:
Map
[
String
,
String
]
)
:
Service
def
withSessionAffinity
(
affinity:
Service.Affinity.Value
)
:
Service
def
withType
(
_type:
Service.Type.Value
)
:
Service
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
ObjectResource
Inherited from
TypeMeta
Inherited from
AnyRef
Inherited from
Any
Ungrouped