ServiceReference

io.k8s.api.admissionregistration.v1.ServiceReference
See theServiceReference companion object
final case class ServiceReference(name: String, namespace: String, path: Option[String], port: Option[Int])

ServiceReference holds a reference to Service.legacy.k8s.io

Attributes

Companion
object
Source
ServiceReference.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def mapName(f: String => String): ServiceReference

transforms name to result of function

transforms name to result of function

Attributes

Source
ServiceReference.scala
def mapNamespace(f: String => String): ServiceReference

transforms namespace to result of function

transforms namespace to result of function

Attributes

Source
ServiceReference.scala
def mapPath(f: String => String): ServiceReference

if path has a value, transforms to the result of function

if path has a value, transforms to the result of function

Attributes

Source
ServiceReference.scala
def mapPort(f: Int => Int): ServiceReference

if port has a value, transforms to the result of function

if port has a value, transforms to the result of function

Attributes

Source
ServiceReference.scala
def withName(value: String): ServiceReference

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source
ServiceReference.scala
def withNamespace(value: String): ServiceReference

Returns a new data with namespace set to new value

Returns a new data with namespace set to new value

Attributes

Source
ServiceReference.scala
def withPath(value: String): ServiceReference

Returns a new data with path set to new value

Returns a new data with path set to new value

Attributes

Source
ServiceReference.scala
def withPort(value: Int): ServiceReference

Returns a new data with port set to new value

Returns a new data with port set to new value

Attributes

Source
ServiceReference.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product