Documentation
¶
Index ¶
Constants ¶
View Source
const ( HostAPIPort = 51121 HostConsolePort = 80 DefaultContainerAPIPort = 51121 DefaultConsolePort = 8008 VolumeDBName = "iofog-controller-db" VolumeLogName = "iofog-controller-log" ContainerDBPath = "/home/runner/.npm-global/lib/node_modules/controller/src/data/sqlite_files/" ContainerLogPath = "/var/log/iofog-controller" ContainerCertMountPath = "/etc/iofog/controller-cert/" )
Variables ¶
This section is empty.
Functions ¶
func BuildControllerEnv ¶
func BuildControllerEnv(doc *models.ControlPlaneManifest, controllerUUID string) (map[string]string, error)
BuildControllerEnv projects a validated ControlPlane manifest into Controller container env. Omitted spec blocks emit no variables; CONTROL_PLANE=Remote is always set.
func BuildMicroserviceFromControlPlane ¶
func BuildMicroserviceFromControlPlane(doc *models.ControlPlaneManifest, controllerUUID, image string) (*models.Microservice, error)
BuildMicroserviceFromControlPlane converts a validated ControlPlane manifest into a runtime microservice model for container launch.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.