Versions in this module Expand all Collapse all v1 v1.0.29 Sep 12, 2026 Changes in this version + type Client struct + BaseURL string + Clerk *authutil.ClerkClient + HTTPClient *http.Client + OrgID string + Store *authutil.SessionStore + func NewClient(baseURL, organizationID string, store *authutil.SessionStore, ...) *Client + func (c *Client) CreateProject(ctx context.Context, request CreateProjectRequest) (*CreatedProject, error) + func (c *Client) EnableSite(ctx context.Context, siteID int) error + func (c *Client) ListProjects(ctx context.Context) ([]Project, error) + func (c *Client) ListWorkflowTemplates(ctx context.Context) ([]WorkflowTemplate, error) + func (c *Client) SyncProject(ctx context.Context, projectID int) (*SyncResult, error) + type CreateProjectRequest struct + DefaultBuildPlanID int + DeployApprovalMode string + EnvironmentVariables []any + Git GitSettings + Name string + SiteID int + type CreatedProject struct + ID int + Name string + ProjectName string + SiteID *int + type GitSettings struct + Branch string + Directory string + Type string + URL string + type Project struct + ID int + Name string + SiteID *int + type SyncResult struct + EvaluatedProjects int + SkippedProjects int + SynchronizedProjects int + type WorkflowTemplate struct + Deprecated bool + FrameworkKey string + ID int + Key string + Latest bool + Name string + Version string