case class ServiceReference(name: String, namespace: String, path: Optional[String] = Optional.Absent, port: Optional[Int] = Optional.Absent) extends Product with Serializable

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

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

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ServiceReference
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ServiceReference(name: String, namespace: String, path: Optional[String] = Optional.Absent, port: Optional[Int] = Optional.Absent)

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

Value Members

  1. def getName: IO[K8sFailure, String]

    name is the name of the service.

    name is the name of the service. Required

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

  2. def getNamespace: IO[K8sFailure, String]

    namespace is the namespace of the service.

    namespace is the namespace of the service. Required

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

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

  4. def getPort: IO[K8sFailure, Int]

    If specified, the port on the service that hosting webhook.

    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.

  5. val name: String
  6. val namespace: String
  7. val path: Optional[String]
  8. val port: Optional[Int]