<Self>(): {
(): FleetHealthTag<Self>
<HSelf>(options: {
readonly node: NodeKey<HSelf>
readonly description?: string
}): FleetHealthNodeTag<Self, HSelf>
}Declare a FleetHealth tag:
class MeshHealth extends FleetHealth.Tag<MeshHealth>()().pipe(
Hyperlink.nodes([DropletEast, DropletWest]),
) {}constructors
Source src/FleetHealth.ts:17124 lines
export const const Tag: <Self>() => {
(): FleetHealthTag<Self>
<HSelf>(options: {
readonly node: NodeKey<HSelf>
readonly description?: string
}): FleetHealthNodeTag<Self, HSelf>
}
Declare a FleetHealth tag:
class MeshHealth extends FleetHealth.Tag<MeshHealth>()().pipe(
Hyperlink.nodes([DropletEast, DropletWest]),
) {}
Tag = <function (type parameter) Self in <Self>(): {
(): FleetHealthTag<Self>;
<HSelf>(options: {
readonly node: NodeKey<HSelf>;
readonly description?: string;
}): FleetHealthNodeTag<Self, HSelf>;
}
Self>() => {
function function (local function) build(): FleetHealthTag<Self> (+1 overload)build(): type FleetHealthTag<Self> = HyperlinkTag<
Self,
{
local: any
byNode: any
status: any
}
>
A FleetHealth instance tag.
FleetHealthTag<function (type parameter) Self in <Self>(): {
(): FleetHealthTag<Self>;
<HSelf>(options: {
readonly node: NodeKey<HSelf>;
readonly description?: string;
}): FleetHealthNodeTag<Self, HSelf>;
}
Self>;
function function (local function) build<HSelf>(options: {
readonly node: NodeKey<HSelf>;
readonly description?: string;
}): FleetHealthNodeTag<Self, HSelf> (+1 overload)
build<function (type parameter) HSelf in build<HSelf>(options: {
readonly node: NodeKey<HSelf>;
readonly description?: string;
}): FleetHealthNodeTag<Self, HSelf>
HSelf>(options: {
readonly node: NodeKey<HSelf>
readonly description?: string
}
options: {
readonly node: NodeKey<HSelf>node: import NodeKeyNodeKey<function (type parameter) HSelf in build<HSelf>(options: {
readonly node: NodeKey<HSelf>;
readonly description?: string;
}): FleetHealthNodeTag<Self, HSelf>
HSelf>;
readonly description?: string | undefineddescription?: string;
}): type FleetHealthNodeTag<Self, HSelf> =
NodeBoundTag<
Self,
{
local: any
byNode: any
status: any
},
HSelf
>
A node-bound
FleetHealthTag
.
FleetHealthNodeTag<function (type parameter) Self in <Self>(): {
(): FleetHealthTag<Self>;
<HSelf>(options: {
readonly node: NodeKey<HSelf>;
readonly description?: string;
}): FleetHealthNodeTag<Self, HSelf>;
}
Self, function (type parameter) HSelf in build<HSelf>(options: {
readonly node: NodeKey<HSelf>;
readonly description?: string;
}): FleetHealthNodeTag<Self, HSelf>
HSelf>;
function function (local function) build(): FleetHealthTag<Self> (+1 overload)build(
options: FleetHealthConstructOptions<unknown>options?: interface FleetHealthConstructOptions<HSelf = never>Tag-construction options for
Tag
.
FleetHealthConstructOptions<unknown>,
): type FleetHealthTag<Self> = HyperlinkTag<
Self,
{
local: any
byNode: any
status: any
}
>
A FleetHealth instance tag.
FleetHealthTag<function (type parameter) Self in <Self>(): {
(): FleetHealthTag<Self>;
<HSelf>(options: {
readonly node: NodeKey<HSelf>;
readonly description?: string;
}): FleetHealthNodeTag<Self, HSelf>;
}
Self> {
const const node: anynode = options: FleetHealthConstructOptions<unknown>options?.FleetHealthConstructOptions<unknown>.node?: anynode;
const const key: stringkey = const keyFor: (
node: NodeKey<unknown> | undefined
) => string
keyFor(const node: anynode);
return const node: anynode === var undefinedundefined
? import resourceTagresourceTag<function (type parameter) Self in <Self>(): {
(): FleetHealthTag<Self>;
<HSelf>(options: {
readonly node: NodeKey<HSelf>;
readonly description?: string;
}): FleetHealthNodeTag<Self, HSelf>;
}
Self>()(const key: stringkey, const fleetHealthSpec: {
local: any
byNode: any
status: any
}
fleetHealthSpec, {
kind: stringkind,
description: string | undefineddescription: options: FleetHealthConstructOptions<unknown>options?.FleetHealthConstructOptions<unknown>.description?: string | undefineddescription,
})
: import resourceTagresourceTag<function (type parameter) Self in <Self>(): {
(): FleetHealthTag<Self>;
<HSelf>(options: {
readonly node: NodeKey<HSelf>;
readonly description?: string;
}): FleetHealthNodeTag<Self, HSelf>;
}
Self>()(const key: stringkey, const fleetHealthSpec: {
local: any
byNode: any
status: any
}
fleetHealthSpec, {
kind: stringkind,
description: string | undefineddescription: options: FleetHealthConstructOptions<unknown>options?.FleetHealthConstructOptions<unknown>.description?: string | undefineddescription,
node: anynode,
});
}
return function (local function) build(): FleetHealthTag<Self> (+1 overload)build;
};