Documentation
¶
Overview ¶
Package catalog holds Levelrail's own curated set of one-click service templates (ADR 015). Every Template's name, slogan, and Compose body here is written fresh for this platform: none of it is copied or lightly-rewritten from any other project's own dataset. Image tags are real, versioned tags for each well-known open-source project; where a specific tag's exact string couldn't be verified against a live registry in this environment, that entry says so in its own comment.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Templates = concat(
starterKitsTemplates,
automationTemplates,
monitoringTemplates,
storageTemplates,
analyticsTemplates,
infrastructureTemplates,
securityTemplates,
productivity1Templates,
productivity2Templates,
productivity3Templates,
applicationsTemplates,
devtools1Templates,
devtools2Templates,
dashboardTemplates,
financeTemplates,
media1Templates,
media2Templates,
communicationTemplates,
databasesTemplates,
iotTemplates,
aiml1Templates,
aiml2Templates,
selfhosted1Templates,
selfhosted2Templates,
selfhosted3Templates,
selfhosted4Templates,
aiTemplates,
devtoolsBatchTemplates,
productivityBatchTemplates,
automationBatchTemplates,
catalogBatch2Templates,
catalogBatch3Templates,
catalogBatch4Templates,
catalogBatch5Templates,
contribTemplates,
)
Templates is the full catalog, served by GET /api/v1/service-templates and GET /api/v1/service-templates/{id}. contribTemplates (contrib.go) are contributor-submitted YAML entries, merged in last so they're indistinguishable from the hand-written Go ones to every consumer.
Functions ¶
This section is empty.
Types ¶
type Template ¶
type Template struct {
ID string
Name string
Slogan string
Category string
DocumentationURL string
Compose string
// RecommendedMemoryBytes is a static, pre-deploy RAM advisory (zero
// means none). Informational only, not checked against any node's
// real available memory.
RecommendedMemoryBytes int64
// RequiresGPU marks entries that reserve an NVIDIA GPU through
// deploy.resources.reservations.devices in their Compose body.
RequiresGPU bool
}
Template is one deployable entry in the catalog. Compose is a full compose.yaml body, valid against internal/compose's supported subset (see catalog_test.go, which parses and validates every one).
func TemplateByID ¶ added in v0.2.0
TemplateByID returns the Templates entry with this ID, or false if none matches.
Source Files
¶
- catalog.go
- contrib.go
- templates_ai.go
- templates_aiml1.go
- templates_aiml2.go
- templates_analytics.go
- templates_applications.go
- templates_automation.go
- templates_automation_batch.go
- templates_catalog_batch2.go
- templates_catalog_batch3.go
- templates_catalog_batch4.go
- templates_catalog_batch5.go
- templates_communication.go
- templates_dashboard.go
- templates_databases.go
- templates_devtools1.go
- templates_devtools2.go
- templates_devtools_batch.go
- templates_finance.go
- templates_infrastructure.go
- templates_iot.go
- templates_media1.go
- templates_media2.go
- templates_monitoring.go
- templates_productivity1.go
- templates_productivity2.go
- templates_productivity3.go
- templates_productivity_batch.go
- templates_security.go
- templates_selfhosted1.go
- templates_selfhosted2.go
- templates_selfhosted3.go
- templates_selfhosted4.go
- templates_starterkits.go
- templates_storage.go