components

package
v0.19.921 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureComponent

func EnsureComponent(ctx context.Context, db *gorm.DB, helpers *componenthelpers.Helpers, comp *config.Component, appID string) error

EnsureComponent creates a component if it doesn't exist, using the shared helpers for full initialization (queue creation, dependencies, install components).

func SyncComponent

func SyncComponent(ctx context.Context, db *gorm.DB, comp *config.Component, appID, appConfigID string, state *sync.State) error

SyncComponent updates a component and creates its configuration based on type.

func SyncDockerBuildComponent

func SyncDockerBuildComponent(ctx context.Context, db *gorm.DB, comp *config.Component, componentID, appID, appConfigID string) (string, string, error)

SyncDockerBuildComponent creates or updates a Docker build component configuration. Duplicates logic from services/ctl-api/internal/app/components/service/create_docker_build_component_config.go

func SyncHelmComponent

func SyncHelmComponent(ctx context.Context, db *gorm.DB, comp *config.Component, componentID, appID, appConfigID string) (string, string, error)

SyncHelmComponent creates or updates a Helm component configuration. Duplicates logic from services/ctl-api/internal/app/components/service/create_helm_component_config.go

func SyncKubernetesManifestComponent added in v0.19.866

func SyncKubernetesManifestComponent(ctx context.Context, db *gorm.DB, comp *config.Component, componentID, appID, appConfigID string) (string, string, error)

SyncKubernetesManifestComponent creates or updates a Kubernetes manifest component configuration.

func SyncTerraformModuleComponent

func SyncTerraformModuleComponent(ctx context.Context, db *gorm.DB, comp *config.Component, componentID, appID, appConfigID string) (string, string, error)

SyncTerraformModuleComponent creates or updates a Terraform module component configuration. Duplicates logic from services/ctl-api/internal/app/components/service/create_terraform_module_component_config.go

Types

This section is empty.

Jump to

Keyboard shortcuts

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