controlplane

package
v1.0.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2026 License: EPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HostAPIPort             = 51121
	HostViewerPort          = 80
	DefaultContainerAPIPort = 51121
	DefaultViewerPort       = 8008
	VolumeDBName            = "iofog-controller-db"
	VolumeLogName           = "iofog-controller-log"
	ContainerDBPath         = "/home/runner/.npm-global/lib/node_modules/@datasance/iofogcontroller/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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL