ServiceReference

case class ServiceReference(name: String, namespace: String, path: Optional[String], port: Optional[Int])

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

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

Value Params
name

name is the name of the service. Required

namespace

namespace is the namespace of the service. Required

path

path is an optional URL path at which the webhook will be contacted.

port

port is an optional service port at which the webhook will be contacted. port should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def getName: IO[K8sFailure, String]

name is the name of the service. Required

name is the name of the service. Required

This effect always succeeds, it is safe to use the field name directly.

def getNamespace: IO[K8sFailure, String]

namespace is the namespace of the service. Required

namespace is the namespace of the service. Required

This effect always succeeds, it is safe to use the field namespace directly.

def getPath: IO[K8sFailure, String]

path is an optional URL path at which the webhook will be contacted.

path is an optional URL path at which the webhook will be contacted.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getPort: IO[K8sFailure, Int]

port is an optional service port at which the webhook will be contacted. port should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.

port is an optional service port at which the webhook will be contacted. port should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product