Versions in this module Expand all Collapse all v0 v0.47.4 Sep 26, 2026 v0.47.3 Sep 26, 2026 v0.47.2 Sep 26, 2026 v0.47.1 Sep 26, 2026 v0.47.0 Sep 26, 2026 v0.46.9 Sep 26, 2026 v0.46.8 Sep 26, 2026 Changes in this version + const AppManagementFallback + const AppManagementHandoff + const AppManagementManaged + const AppManagementUnmanaged + const AppOwnershipCustomer + const AppOwnershipStackKit + const SetupPolicyAutomatic + const SetupPolicyManual + const SetupPolicyOnDemand + func GenerateKomodoStackResource(manifest AppManifest) ([]byte, error) + func IsDegraded(err error) bool + func IsStackKitOwnedApp(app AppManifest) bool + func RequiresBootstrapEvidence(platform string) bool + func ValidateBootstrapEvidence(platform string, evidence BootstrapEvidence) error + type Adapter interface + ApplyCompose func(ctx context.Context, manifest AppManifest) (DeploymentRef, error) + type AppManifest struct + Auth string + ComposePath string + ComposeYAML string + Env map[string]string + HealthPath string + Host string + Image string + Kind string + ManagedBy string + Name string + Ownership string + Platform string + Port int + RouteURL string + Secrets map[string]string + ServiceKey string + SetupDrops []SetupDropManifest + SetupPolicy string + URL string + func (m *AppManifest) UnmarshalJSON(data []byte) error + type BootstrapCapability string + const BootstrapCapabilityAPIAccess + const BootstrapCapabilityBackups + const BootstrapCapabilityHealthchecks + const BootstrapCapabilityProxyRouting + const BootstrapCapabilitySecrets + const BootstrapCapabilityServiceHandoff + const BootstrapCapabilityTeamManagement + type BootstrapCapabilityEvidence struct + Capability BootstrapCapability + Evidence []string + Status string + type BootstrapCapabilityProvider interface + BootstrapCapabilities func() []BootstrapCapability + BootstrapProviderName func() string + type BootstrapEvidence struct + Capabilities []BootstrapCapabilityEvidence + Mode string + Provider string + type BootstrapManifest struct + DemoData DemoDataManifest + Mode string + SetupPolicies SetupPoliciesManifest + type BundleManifest struct + Apps []AppManifest + Bootstrap BootstrapManifest + Fallback FallbackManifest + Platform string + SystemApps []SystemAppManifest + Version string + func LoadBundleManifest(path string) (BundleManifest, error) + func StandaloneFallbackBundle(bundle BundleManifest, failures []ComponentFailure) BundleManifest + type BundleResult struct + Failures []ComponentFailure + Refs []DeploymentRef + func ApplyBundleResilient(ctx context.Context, adapter Adapter, bundle BundleManifest) (BundleResult, error) + func (r BundleResult) Degraded() bool + type ComponentFailure struct + AppName string + IdentityCommitted bool + Message string + Platform string + Retryable bool + Stage string + type CoolifyAdapter struct + func NewCoolifyAdapter(cfg HTTPConfig) *CoolifyAdapter + func (a *CoolifyAdapter) ApplyCompose(ctx context.Context, manifest AppManifest) (DeploymentRef, error) + func (a *CoolifyAdapter) BootstrapCapabilities() []BootstrapCapability + func (a *CoolifyAdapter) BootstrapProviderName() string + func (a *CoolifyAdapter) Delete(ctx context.Context, ref DeploymentRef) error + func (a *CoolifyAdapter) Deploy(ctx context.Context, ref DeploymentRef) (string, error) + func (a *CoolifyAdapter) ObserveDeployment(ctx context.Context, ref DeploymentRef) (DeploymentRef, error) + func (a *CoolifyAdapter) ObserveDeployments(ctx context.Context, refs []DeploymentRef) ([]DeploymentRef, error) + func (a *CoolifyAdapter) Status(ctx context.Context, ref DeploymentRef) error + func (a *CoolifyAdapter) UpsertCompose(ctx context.Context, manifest AppManifest) (DeploymentRef, error) + func (a *CoolifyAdapter) WaitReady(ctx context.Context) error + type DefaultSSHRunner struct + func (DefaultSSHRunner) Run(ctx context.Context, target SSHBootstrap, script string) ([]byte, error) + type DegradedError struct + Failures []ComponentFailure + func (e *DegradedError) Error() string + type DemoDataManifest struct + Enabled bool + type DeploymentBatchObserver interface + ObserveDeployments func(ctx context.Context, refs []DeploymentRef) ([]DeploymentRef, error) + type DeploymentObserver interface + ObserveDeployment func(ctx context.Context, ref DeploymentRef) (DeploymentRef, error) + type DeploymentRef struct + AppName string + ComposePath string + ComposeYAML string + DeploymentID string + ExternalID string + LastDeployed time.Time + ObservedAt time.Time + ObservedStatus string + Platform string + ServiceNames []string + func ApplyBundle(ctx context.Context, adapter Adapter, bundle BundleManifest) ([]DeploymentRef, error) + type DokployAdapter struct + func NewDokployAdapter(cfg HTTPConfig) *DokployAdapter + func (a *DokployAdapter) ApplyCompose(ctx context.Context, manifest AppManifest) (DeploymentRef, error) + func (a *DokployAdapter) BootstrapCapabilities() []BootstrapCapability + func (a *DokployAdapter) BootstrapProviderName() string + func (a *DokployAdapter) Delete(ctx context.Context, ref DeploymentRef, deleteVolumes bool) error + func (a *DokployAdapter) Deploy(ctx context.Context, ref DeploymentRef) error + func (a *DokployAdapter) Status(ctx context.Context, ref DeploymentRef) error + func (a *DokployAdapter) UpsertCompose(ctx context.Context, manifest AppManifest) (DeploymentRef, error) + type FallbackManifest struct + Enabled bool + Mode string + type HTTPConfig struct + APIKey string + BaseURL string + Client *http.Client + DestinationUUID string + DisableDockerRuntimeObserve bool + DockerEnv []string + EnvironmentID string + EnvironmentUUID string + LegacyDockerComposeAPI bool + ProjectUUID string + Secret string + ServerID string + Token string + WaitForReadiness bool + func LoadOwnerKomodoConfig(workspace string) (HTTPConfig, error) + type KomodoAdapter struct + func NewKomodoAdapter(cfg HTTPConfig) *KomodoAdapter + func (a *KomodoAdapter) ApplyCompose(ctx context.Context, manifest AppManifest) (DeploymentRef, error) + func (a *KomodoAdapter) BootstrapCapabilities() []BootstrapCapability + func (a *KomodoAdapter) BootstrapProviderName() string + func (a *KomodoAdapter) ControlStack(ctx context.Context, ref DeploymentRef, action string, services []string) (KomodoStackControlResult, error) + func (a *KomodoAdapter) Deploy(ctx context.Context, ref DeploymentRef) (string, error) + func (a *KomodoAdapter) ObserveDeployment(ctx context.Context, ref DeploymentRef) (DeploymentRef, error) + func (a *KomodoAdapter) ReadStackLogs(ctx context.Context, ref DeploymentRef, services []string, tail int) ([]byte, error) + func (a *KomodoAdapter) Status(ctx context.Context, ref DeploymentRef) error + func (a *KomodoAdapter) UpsertStack(ctx context.Context, manifest AppManifest) (DeploymentRef, error) + type KomodoStackControlResult struct + ObservedState string + UpdateID string + type LocalComposeAdapter struct + func NewLocalComposeAdapter(workDir string, opts ...LocalComposeOption) *LocalComposeAdapter + func (a *LocalComposeAdapter) ApplyCompose(ctx context.Context, manifest AppManifest) (DeploymentRef, error) + func (a *LocalComposeAdapter) ObserveDeployment(ctx context.Context, ref DeploymentRef) (DeploymentRef, error) + type LocalComposeOption func(*LocalComposeAdapter) + func WithLocalComposeEnv(env []string) LocalComposeOption + func WithLocalComposeRunner(runner localComposeRunner) LocalComposeOption + type NodeBootstrap struct + KomodoCoreAddress string + KomodoOnboardingKey string + SSH *SSHBootstrap + type NodePlatformTarget struct + DestinationUUID string + EnvironmentID string + EnvironmentUUID string + ProjectUUID string + ServerID string + type NodePrepareResult struct + DestinationUUID string + Detail string + EnvironmentID string + EnvironmentUUID string + NodeName string + Platform string + PrivateKeyUUID string + ProjectUUID string + Role string + ServerID string + Services []string + Status string + func PrepareSupplementalNodeTargets(ctx context.Context, platform string, nodes []SupplementalNodeTarget, ...) ([]NodePrepareResult, error) + type ReadinessChecker interface + WaitReady func(ctx context.Context) error + type SSHBootstrap struct + ClientPrivateKey string + Host string + KeyPEM string + KeyPath string + Port int + PrivateKey string + ProxyJump string + User string + type SSHRunner interface + Run func(ctx context.Context, target SSHBootstrap, script string) ([]byte, error) + type SetupDropManifest struct + Command []string + Description string + Env map[string]string + Name string + RollbackNotes []string + Runner string + Secrets map[string]string + Version string + type SetupPoliciesManifest struct + ApplicationDefault string + Platform string + type SupplementalNodeTarget struct + Bootstrap *NodeBootstrap + Host string + IP string + Name string + Platform NodePlatformTarget + Role string + Services []string + type SystemAppManifest struct + Role string + func (m *SystemAppManifest) UnmarshalJSON(data []byte) error