ServiceReference

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

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

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

name is the name of the service. Required

Link copied to clipboard

namespace is the namespace of the service. Required

Link copied to clipboard
val path: String? = null

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

Link copied to clipboard
val port: Int? = null

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.