case class APIGroup(name: String, preferredVersion: Optional[GroupVersionForDiscovery] = Optional.Absent, serverAddressByClientCIDRs: Optional[Vector[ServerAddressByClientCIDR]] = Optional.Absent, versions: Vector[GroupVersionForDiscovery]) extends Product with Serializable
APIGroup contains the name, the supported versions, and the preferred version of a group.
- name
name is the name of the group.
- serverAddressByClientCIDRs
a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
- versions
versions are the versions supported in this group.
- Alphabetic
- By Inheritance
- APIGroup
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
APIGroup(name: String, preferredVersion: Optional[GroupVersionForDiscovery] = Optional.Absent, serverAddressByClientCIDRs: Optional[Vector[ServerAddressByClientCIDR]] = Optional.Absent, versions: Vector[GroupVersionForDiscovery])
- name
name is the name of the group.
- serverAddressByClientCIDRs
a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
- versions
versions are the versions supported in this group.
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 group.
name is the name of the group.
This effect always succeeds, it is safe to use the field name directly.
-
def
getPreferredVersion: IO[K8sFailure, GroupVersionForDiscovery]
Gets preferredVersion.
Gets preferredVersion.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getServerAddressByClientCIDRs: IO[K8sFailure, Vector[ServerAddressByClientCIDR]]
a map of client CIDR to server address that is serving this group.
a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getVersions: IO[K8sFailure, Vector[GroupVersionForDiscovery]]
versions are the versions supported in this group.
versions are the versions supported in this group.
This effect always succeeds, it is safe to use the field versions directly.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: 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 preferredVersion: Optional[GroupVersionForDiscovery]
- val serverAddressByClientCIDRs: Optional[Vector[ServerAddressByClientCIDR]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val versions: Vector[GroupVersionForDiscovery]
-
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( ... )