Versions in this module Expand all Collapse all v0 v0.3.2 Aug 15, 2025 v0.3.1 Aug 15, 2025 Changes in this version + func AsLocal(source ComponentSource) (string, bool) + func UpdateWkgAuthForECR(configPath string, registryURI string, authToken string) error + type AccessMode string + const AccessCustom + const AccessOrg + const AccessPrivate + const AccessPublic + type Application struct + Access AccessMode + Auth AuthConfig + Components []Component + Description string + Name string + Variables map[string]string + Version string + func (a *Application) SetDefaults() + func (a *Application) Validate() error + type AuthConfig struct + JWTAudience string + JWTIssuer string + OrgID string + Provider AuthProvider + type AuthProvider string + const AuthProviderCustom + const AuthProviderWorkOS + type BuildConfig struct + Command string + Watch []string + Workdir string + type Component struct + Build *BuildConfig + ID string + Source ComponentSource + Variables map[string]string + func (c *Component) UnmarshalJSON(data []byte) error + func (c *Component) UnmarshalYAML(value *yaml.Node) error + func (c *Component) Validate() error + func (c Component) MarshalJSON() ([]byte, error) + func (c Component) MarshalYAML() (interface{}, error) + type ComponentSource interface + GetPath func() string + GetRegistry func() *RegistrySource + IsLocal func() bool + type ComponentStatus struct + Error string + ID string + Package string + Registry string + Status string + Version string + type CustomAuthConfig struct + Audience []string + Issuer string + type DeploymentOptions struct + AccessControl string + AllowedRoles []string + Environment string + Variables map[string]string + type DeploymentRequest struct + AccessControl *AccessMode + AllowedRoles []string + Application *Application + CustomAuth *CustomAuthConfig + Environment string + Variables map[string]string + func PrepareDeployment(app *Application, opts DeploymentOptions) (*DeploymentRequest, error) + func (d *DeploymentRequest) MarshalJSON() ([]byte, error) + func (d *DeploymentRequest) UnmarshalJSON(data []byte) error + type DeploymentResponse struct + AppID string + AppName string + DeploymentID string + Message string + Status string + type DeploymentStatus struct + Components []ComponentStatus + DeploymentID string + Error string + ProviderURL string + Status string + UpdatedAt string + type ECRAuth struct + Password string + Registry string + Username string + func ParseECRToken(registryURI string, authToken string) (*ECRAuth, error) + type LocalSource string + func (l LocalSource) GetPath() string + func (l LocalSource) GetRegistry() *RegistrySource + func (l LocalSource) IsLocal() bool + type RegistrySource struct + Package string + Registry string + Version string + func AsRegistry(source ComponentSource) (*RegistrySource, bool) + func (r *RegistrySource) GetPath() string + func (r *RegistrySource) GetRegistry() *RegistrySource + func (r *RegistrySource) IsLocal() bool + type SpinApplication struct + Description string + Name string + Version string + type SpinComponent struct + AllowedOutboundHosts []string + Build *BuildConfig + Source interface{} + Variables map[string]string + type SpinHTTPTrigger struct + Component string + Route interface{} + type SpinManifest struct + Application SpinApplication + Component map[string]SpinComponent + SpinManifestVersion int + Trigger SpinTrigger + Variables map[string]SpinVariable + func ProcessDeploymentRequest(req *DeploymentRequest) (*SpinManifest, error) + type SpinTrigger struct + HTTP []SpinHTTPTrigger + type SpinVariable struct + Default string + Required bool + Secret bool + type Synthesizer struct + func NewSynthesizer() *Synthesizer + func (s *Synthesizer) SynthesizeFromJSON(jsonData []byte) (*SpinManifest, error) + func (s *Synthesizer) SynthesizeFromYAML(yamlData []byte) (*SpinManifest, error) + func (s *Synthesizer) SynthesizeToSpin(app *Application) (*SpinManifest, error) + func (s *Synthesizer) SynthesizeToTOML(app *Application) (string, error) + type WkgAuthConfig struct + Password string + Username string + type WkgConfig struct + DefaultRegistry string + PackageRegistryOverrides map[string]string + Registry map[string]*WkgRegistryConfig + type WkgConfigManager struct + func NewWkgConfigManager(configPath string) *WkgConfigManager + func (m *WkgConfigManager) LoadConfig() (*WkgConfig, error) + func (m *WkgConfigManager) RemoveECRAuth(registryURI string) error + func (m *WkgConfigManager) SaveConfig(config *WkgConfig) error + func (m *WkgConfigManager) SetECRAuth(ecrAuth *ECRAuth) error + type WkgOCIConfig struct + Auth *WkgAuthConfig + type WkgRegistryConfig struct + OCI *WkgOCIConfig Other modules containing this package github.com/fastertools/ftl-cli/go/shared/ftl