ClusterInfo
in package
FinalYes
Public compatibility and capability manifest returned by cluster discovery.
Table of Contents
Properties
- $capabilities : array<string|int, mixed>
- $controlPlane : array<string|int, mixed>
- $defaultNamespace : string|null
- $limits : array<string|int, mixed>
- $namespace : array<string|int, mixed>
- $raw : array<string|int, mixed>
- $serverId : string|null
- $version : string|null
Methods
- __construct() : mixed
- fromArray() : self
- map() : array<string, mixed>
Properties
$capabilities read-only
public
array<string|int, mixed>
$capabilities
$controlPlane read-only
public
array<string|int, mixed>
$controlPlane
$defaultNamespace read-only
public
string|null
$defaultNamespace
$limits read-only
public
array<string|int, mixed>
$limits
$namespace read-only
public
array<string|int, mixed>
$namespace
$raw read-only
public
array<string|int, mixed>
$raw
$serverId read-only
public
string|null
$serverId
$version read-only
public
string|null
$version
Methods
__construct()
public
__construct(string|null $serverId, string|null $version, string|null $defaultNamespace, array<string, mixed> $namespace, array<string, mixed> $capabilities, array<string, mixed> $limits, array<string, mixed> $controlPlane, array<string, mixed> $raw) : mixed
Parameters
- $serverId : string|null
- $version : string|null
- $defaultNamespace : string|null
- $namespace : array<string, mixed>
- $capabilities : array<string, mixed>
- $limits : array<string, mixed>
- $controlPlane : array<string, mixed>
- $raw : array<string, mixed>
fromArray()
public
static fromArray(array<string, mixed> $value) : self
Parameters
- $value : array<string, mixed>
Return values
selfmap()
private
static map(mixed $value) : array<string, mixed>
Parameters
- $value : mixed