Documentation ¶
Index ¶
- func ContainerStateToUnit(ctrData define.InspectContainerData) (api.UnitState, bool)
- func MilpaToK8sVolume(vol api.Volume) *v1.Volume
- func UnitNameToContainerName(unitName string) string
- func UnitPortsToPodmanPortMapping(unitPorts []api.ContainerPort) ([]specgen.PortMapping, error)
- func UnitToContainer(unit api.Unit, container *v1.Container) v1.Container
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerStateToUnit ¶
func ContainerStateToUnit(ctrData define.InspectContainerData) (api.UnitState, bool)
func UnitNameToContainerName ¶
func UnitPortsToPodmanPortMapping ¶
func UnitPortsToPodmanPortMapping(unitPorts []api.ContainerPort) ([]specgen.PortMapping, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.