Versions in this module Expand all Collapse all v1 v1.0.29 Sep 12, 2026 Changes in this version type Environment + PipelineProjectID int + Prepared *PreparedSetup + type PreparedSetup struct + Directory string + Framework string + PlanCores int + PlanKey string + PlanLabel string + PlanMemoryGB int + PriceAmount float64 + PriceCurrency string + Repository string + Runtime string + RuntimeVersion string + ServerID int v1.0.27 Sep 7, 2026 Changes in this version + func EnvironmentNames(config *ProjectConfig) []string + func LoadGitHubToken() (string, error) + func PollGitHubDeviceAuthorization(ctx context.Context, clientID string, authorization *GitHubDeviceAuthorization) (string, error) + func SaveGitHubToken(token string) error + func SaveProjectConfig(path string, config *ProjectConfig) error + type Classification struct + ServerProfile *ServerProfile + type Client struct + BaseURL string + Clerk *authutil.ClerkClient + GitHubToken string + HTTPClient *http.Client + OrgID string + Store *authutil.SessionStore + func NewClient(baseURL, organizationID string, store *authutil.SessionStore, ...) *Client + func (c *Client) AnalyzeRepository(ctx context.Context, request RepositoryAnalysisRequest) (*RepositoryAnalysis, error) + func (c *Client) Create(ctx context.Context, request CreateRequest) (*Progress, error) + func (c *Client) Progress(ctx context.Context, intentID string) (*Progress, error) + func (c *Client) Quote(ctx context.Context, request QuoteRequest) (*QuoteResponse, error) + func (c *Client) Retry(ctx context.Context, intentID string) (*Progress, error) + type CreateRequest struct + BillingPeriod string + IdempotencyKey string + IntentID string + IntentRevision string + NoCharge bool + OrganizationID string + QuoteID string + type Environment struct + Branch string + Domain string + IdempotencyKey string + IntentID string + IntentRevision string + ManagedDomain string + NoCharge bool + QuoteID string + ServerID int + SiteID int + Status string + type GitHubDeviceAuthorization struct + DeviceCode string + ExpiresIn int + Interval int + UserCode string + VerificationURI string + func StartGitHubDeviceAuthorization(ctx context.Context, clientID string) (*GitHubDeviceAuthorization, error) + type InstallationRequest struct + Type string + Version string + type Intent struct + Classification Classification + ID string + Revision string + type Progress struct + FailureMessage string + ID string + Revision string + ServerID int + SetupMessage string + SetupStage string + SetupStatus string + SiteID int + type ProjectConfig struct + Environments map[string]Environment + Repository ProjectRepository + Version int + func LoadProjectConfig(path string) (*ProjectConfig, error) + type ProjectRepository struct + Directory string + URL string + type ProvisioningPayload struct + Architecture string + DomainName string + Domains []string + Environment string + Framework string + Installations []InstallationRequest + MainDomainName string + Repository RepositoryRequest + ResourceKind string + Runtime string + RuntimeSelection *RuntimeRequest + ServerID int + ServerPlanKey string + type Quote struct + Amount float64 + BillingPeriod string + Currency string + ListAmount float64 + ProductName string + QuoteID string + type QuoteRequest struct + BillingPeriod string + IdempotencyKey string + NoCharge bool + OrganizationID string + Payload ProvisioningPayload + type QuoteResponse struct + Intent Intent + Quote Quote + type RepositoryAnalysis struct + Branch string + Confidence string + DefaultBranch string + Evidence []string + Framework string + GitHubAuthorizationRequired bool + GitHubClientID string + GitHubInstallURL string + GitHubLinked bool + Installations []string + Repository string + Runtime string + RuntimeVersion string + SuggestedDomain string + WorkflowKey string + type RepositoryAnalysisRequest struct + Branch string + Directory string + Owner string + Repository string + type RepositoryRequest struct + Branch string + ContinuousDeployment bool + Directory string + URL string + WorkflowKey string + type RuntimeRequest struct + Type string + Version string + type ServerProfile struct + Architecture string + Cores int + Key string + Label string + MemoryGB int