Versions in this module Expand all Collapse all v0 v0.0.3 Jul 16, 2026 v0.0.2 Jul 15, 2026 Changes in this version + const OwnershipForgeDrifted + const OwnershipForgeSpace + const OwnershipScaffold + const OwnershipScaffoldOnce + const OwnershipUnknown + const OwnershipUser + var ErrProjectConfigNotFound = cmdutil.ErrProjectConfigNotFound + func EnvExists(projectDir, env string) (bool, error) + func Execute() error + func ListEnvs(projectDir string) ([]string, error) + func ListEnvsFromKCLDir(kclDir string) ([]string, error) + func MergeDescriptorFragments(descriptorOut string) error + func Name() string + func NewRootCmd() *cobra.Command + func RenderProjectMemory(projectRoot string) ([]byte, error) + func RenderSkillForAudience(body []byte, audience SkillAudience) []byte + func SetVersion(v, date, commit string) + func WriteBuildState(projectDir, env string, state BuildState) error + func WriteEnvReleases(projectDir string, er EnvReleases) error + func WriteRelease(projectDir string, r Release) error + func WriteSkills(outDir string, style SkillWriteStyle, audience SkillAudience) (int, error) + func WriteSkillsWithOptions(outDir string, style SkillWriteStyle, audience SkillAudience, ...) (int, error) + type BuildConfigEntity struct + Docker *DockerBuild + Go *GoBuild + Shell *ShellBuild + Type string + type BuildOnlyDeploy struct + BuildVariants []BuildVariant + type BuildState struct + Commit string + Digest string + Dirty bool + GitTag string + Image string + Platforms []string + Pushed bool + PushedAt string + Registry string + Tag string + func ReadBuildState(projectDir, env string) (*BuildState, error) + type BuildVariant struct + BuildTags []string + EnvAtBuild map[string]string + GOARCH string + GOOS string + Ldflags []string + Name string + OutputName string + type ClusterEntity struct + APIPort int + Agents int + Config string + Context string + HostPorts bool + Ingress bool + Name string + Network string + RegistryInherit bool + Servers int + type CodemodFn func(projectDir string) (CodemodReport, error) + type CodemodReport struct + Auto []string + Manual []ManualItem + VerifyCommands []string + type ComposeDeploy struct + ComposeFile string + EnvFile string + Service string + type CronJobEntity struct + Command []string + EnvVars []KCLEnvVar + Image string + Name string + Platform string + Schedule string + type DNSRecordEntity struct + Host string + Reason string + Target string + Type string + type DeployConfigEntity struct + BuildOnly *BuildOnlyDeploy + Cluster *K8sCluster + Compose *ComposeDeploy + External *ExternalDeploy + Host *HostDeploy + Type string + type DockerBuild struct + BuildArgs map[string]string + BuildContexts map[string]string + Dockerfile string + OutputName string + Platform string + Registry string + Target string + type EnvBinding struct + PromotedAt string + Release string + Resolved map[string]string + type EnvReleases struct + Bindings map[string]EnvBinding + func ReadEnvReleases(projectDir string) (*EnvReleases, error) + type ExplainEntry struct + Kind string + Notes []string + OutputPath string + Skipped bool + Sources []string + type ExternalDeploy struct + DeployCmd string + Env map[string]string + EnvFile string + HealthCmd string + RollbackCmd string + type ExternalSecretEntity struct + Keys []string + Name string + Namespace string + Reason string + ValueGroup string + type FirebaseBundleDir struct + Dest string + Src string + type FirebaseHostingDeploy struct + BasePath string + Bundle []FirebaseBundleDir + Project string + PublicDir string + Rewrites []map[string]any + Site string + Target string + type ForgeDescriptor struct + Configs []codegen.ConfigMessage + Services []codegen.ServiceDef + type FrictionEntry struct + Area string + Context []string + ForgeVersion string + ID string + RecordedAt time.Time + Schema int + Severity string + Source string + Text string + type FrontendDeployEntity struct + Firebase *FirebaseHostingDeploy + Type string + func (d *FrontendDeployEntity) UnmarshalJSON(data []byte) error + type FrontendEntity struct + Deploy *FrontendDeployEntity + DevRunner string + EnvFile string + EnvVars []KCLEnvVar + Name string + Path string + Port int + Type string + type GRPCRouteEntity struct + Gateway string + Host string + Listener string + Name string + Path string + Port int + RawPolicy string + Service string + type GatewayAddressEntity struct + Type string + Value string + type GatewayEntity struct + Addresses []GatewayAddressEntity + GatewayClassName string + Host string + Listeners []GatewayListenerEntity + Name string + RawPolicy string + TLS *GatewayTLSEntity + type GatewayListenerEntity struct + Name string + PathPrefix string + Port int + Protocol string + type GatewayTLSEntity struct + CertIssuer string + Certmap string + Mode string + SecretName string + type GenStep struct + Gate func(*pipelineContext) bool + GateReason string + Name string + Run func(*pipelineContext) error + Tag string + type GoBuild struct + Cmd string + Env map[string]string + Flags []string + GOARCH string + GOOS string + Ldflags []string + OutputName string + Tags []string + type HTTPRouteEntity struct + Gateway string + Host string + Listener string + Name string + Path string + Port int + RawPolicy string + Service string + type HandlerPath struct + Method string + Path string + Service string + type HelmChartEntity struct + CRDs string + Chart string + Manifests []any + Name string + Namespace string + OCI string + Repo string + Values map[string]any + Version string + type HostDeploy struct + AirConfig string + DelvePort int + EnvVars []KCLEnvVar + Runner string + SecretsFile string + WorkingDir string + type IngressURL struct + Gateway string + Kind string + Listener string + Port int + Route string + Service string + URL string + Warning string + type K8sCluster struct + Cluster string + Domain string + EnvVars []KCLEnvVar + Namespace string + Platform string + Ports []int + Registry string + Replicas int + type KCLEntities struct + Clusters []ClusterEntity + CronJobs []CronJobEntity + Frontends []FrontendEntity + GRPCRoutes []GRPCRouteEntity + Gateways []GatewayEntity + HTTPRoutes []HTTPRouteEntity + HelmCharts []HelmChartEntity + KubeconfigSecrets []KubeconfigSecretEntity + ManifestImageTags map[string]string + ManifestNamespace string + ManifestServiceNames []string + Operators []OperatorEntity + RequiredDNS []DNSRecordEntity + RequiredSecrets []ExternalSecretEntity + SecretProvider *SecretProviderEntity + Services []ServiceEntity + func RenderKCL(ctx context.Context, projectDir, env string) (*KCLEntities, error) + func (e *KCLEntities) BuildOnlyServiceNames() []string + func (e *KCLEntities) ClusterServiceNames() []string + func (e *KCLEntities) FindService(name string) *ServiceEntity + func (e *KCLEntities) HostServiceNames() []string + type KCLEnvVar struct + ConfigMapKey string + ConfigMapRef string + Name string + SecretKey string + SecretRef string + Value string + type KubeconfigSecretEntity struct + ContextName string + InCluster string + Key string + Name string + Namespace string + Reachability string + TargetCluster string + type ManualItem struct + File string + Line int + Reason string + type MapNode struct + Children []*MapNode + Flags []string + IsDir bool + Name string + Ownership string + Path string + type OperatorEntity struct + CRDs []string + ClusterRBAC *RBACSpec + EnvVars []KCLEnvVar + Image string + LeaderElection bool + Name string + Platform string + Replicas int + type RBACSpec struct + type Release struct + Artifacts map[string]ReleaseArtifact + CreatedAt string + Git ReleaseGit + Version string + func ReadRelease(projectDir, version string) (*Release, error) + type ReleaseArtifact struct + Digests map[string]string + Mode string + Platforms []string + func (a ReleaseArtifact) SharedDigest() (string, bool) + type ReleaseGit struct + Commit string + Dirty bool + Tag string + type RenderedSecretEntity struct + Keys map[string]RenderedSecretKeyEntity + Name string + type RenderedSecretKeyEntity struct + From string + Key string + Value string + type SecretProviderEntity struct + Path string + Secrets []RenderedSecretEntity + Type string + type ServiceEntity struct + Build BuildConfigEntity + Command []string + Deploy DeployConfigEntity + EnvVars []KCLEnvVar + Image string + ImageTag string + Name string + func (s ServiceEntity) EffectiveBuild() BuildConfigEntity + func (s ServiceEntity) EffectiveBuildCmd() string + func (s ServiceEntity) EffectiveBuildCwd() string + func (s ServiceEntity) EffectiveBuildEnv() map[string]string + type ShellBuild struct + Cmd string + Cwd string + Env map[string]string + OutputName string + type SkillAudience string + const SkillAudienceAll + const SkillAudienceForge + const SkillAudienceGeneral + type SkillEmit string + const SkillEmitBoth + const SkillEmitForge + const SkillEmitGeneral + type SkillListOptions struct + IncludeMigrations bool + type SkillMetaPublic struct + AppliesFrom string + AppliesTo string + Description string + Emit SkillEmit + Name string + Path string + ProjectForgeVersion string + Relevance SkillRelevance + Scope SkillScope + SkillForgeVersion string + VersionSkew bool + func ListSkillsAt(projectRoot string) ([]SkillMetaPublic, error) + func ListSkillsAtWithOptions(projectRoot string, opts SkillListOptions) ([]SkillMetaPublic, error) + type SkillRelevance string + const SkillRelevanceMigration + type SkillScope string + const SkillScopeForge + const SkillScopeProject + const SkillScopeUser + func ResolveSkillContentAt(projectRoot, skillPath string) ([]byte, SkillScope, error) + type SkillWriteStyle string + const SkillWriteStyleClaude + const SkillWriteStyleForge + const SkillWriteStyleMD