com.coralogix.zio.k8s.model.admissionregistration.v1
ServiceReference
Companion object ServiceReference
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).
- Alphabetic
- By Inheritance
- ServiceReference
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getName: IO[K8sFailure, String]
name
is the name of the service.name
is the name of the service. RequiredThis effect always succeeds, it is safe to use the field name directly.
-
def
getNamespace: IO[K8sFailure, String]
namespace
is the namespace of the service.namespace
is the namespace of the service. RequiredThis 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.
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.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
- val namespace: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val path: Optional[String]
- val port: Optional[Int]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated