APIGroup

case class APIGroup(name: String, preferredVersion: Optional[GroupVersionForDiscovery], serverAddressByClientCIDRs: Optional[Vector[ServerAddressByClientCIDR]], versions: Vector[GroupVersionForDiscovery])

APIGroup contains the name, the supported versions, and the preferred version of a group.

Value Params
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.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

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.

Gets preferredVersion.

Gets preferredVersion.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

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.

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.

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.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product