The latest release of cloudabi-utils has cloudabi-run rewritten from C into C++. It now also has integrated support for attaching processes to CloudABI's networking daemon, Flower. In the process, code specific to parsing YAML configuration files describing process configuration and resource dependencies has been placed into a separate library, called yaml2argdata. This has the advantage that this code can now be used by CloudABI's Kubernetes daemon as well. Add a package for it, so sysutils/cloudabi-utils can make use of it when we bump it. Reviewed by: mat Differential Revision: https://reviews.freebsd.org/D12164
15 lines
718 B
Text
15 lines
718 B
Text
Argdata is a binary serialisation format similar to FreeBSD's nvlists.
|
|
It differs from nvlists in that it uses data types that are more similar
|
|
to YAML.
|
|
|
|
Argdata is used by CloudABI as a replacement for string command line
|
|
arguments and environment variables. CloudABI processes can start new
|
|
processes by passing them a YAML-like tree of arguments, having file
|
|
descriptors of resources annotated to the tree.
|
|
|
|
This package provides a series of helper classes that are used by
|
|
utilities like cloudabi-run to parse and translate YAML to Argdata.
|
|
These classes are useful when building custom utilities for launching
|
|
CloudABI processes, such as CloudABI's Kubernetes daemon.
|
|
|
|
WWW: https://github.com/NuxiNL/yaml2argdata
|