ServiceReference

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

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 which will be sent in any request to this service.

port

If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. port should be a valid port number (1-65535, inclusive).

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 which will be sent in any request to this service.

path is an optional URL path which will be sent in any request to this service.

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

def getPort: IO[K8sFailure, Int]

If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. port should be a valid port number (1-65535, inclusive).

If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. port should be a valid port number (1-65535, inclusive).

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