ServiceReference

data class ServiceReference(val name: String? = null, val namespace: String? = null, val port: Int? = null)

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

Constructors

Link copied to clipboard
constructor(name: String? = null, namespace: String? = null, port: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val name: String? = null

Name is the name of the service

Link copied to clipboard
val namespace: String? = null

Namespace is the namespace of the service

Link copied to clipboard
val port: Int? = null

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).