View Source FLAME.Parent (flame v0.1.9)

Conveniences for looking up FLAME parent information.

Summary

Functions

Encodes a %FLAME.Parent{} struct into string.

Gets the %FLAME.Parent{} struct from the system environment.

Returns a new %FLAME.Parent{} struct.

Functions

Encodes a %FLAME.Parent{} struct into string.

Gets the %FLAME.Parent{} struct from the system environment.

Returns nil if no parent is set.

When booting a FLAME node, the FLAME.Backend is required to export the FLAME_PARENT environment variable for the provisioned instance. This value holds required information about the parent node and can be set using the FLAME.Parent.encode/3 function.

Returns a new %FLAME.Parent{} struct.

The pid is the parent node's FLAME.Runner process started by the FLAME.Pool.