FleetApi.UnitOption
Defines a FleetApi.UnitOption
struct, representing one segment of the information used to describe a unit.
The following fields are public:
name
- name of option (e.g. “BindsTo”, “After”, “ExecStart”).section
- name of section that contains the option (e.g. “Unit”, “Service”, “Socket”).value
- value of option (e.g. “/usr/bin/docker run busybox /bin/sleep 1000”).
Summary↑
from_map(option_map) |
Types ↑
t :: %FleetApi.UnitOption{name: term, section: term, value: term}
Functions
Specs:
- from_map(%{String.t => any}) :: FleetApi.UnitOption.t