Versions in this module Expand all Collapse all v1 v1.11.1 Nov 12, 2026 v1.11.0 Nov 5, 2026 Changes in this version + const KindBuildArg + const KindRuntime + const RouteLabel + const StatusAlreadyExists + const StatusCreating + const StatusNeedsAction + func ActionBody(err error) ([]byte, bool) + func Create(c client.Client, payload map[string]any) ([]byte, error) + func CreatePayload(r CreateRequest) (map[string]any, error) + func DefaultAppName(repo, branch string) string + func IsActionBody(body []byte) bool + func NameTaken(c client.Client, name string) (bool, error) + func Plan(c client.Client, repo, branch string) ([]byte, error) + func PublicValues(appName string, projects ...Project) []string + func RedactError(err error, items []EnvItem, public ...string) error + func RedactString(s string, items []EnvItem, public ...string) string + func RedactValues(body []byte, items []EnvItem, public ...string) []byte + func SplitRepo(repo string) (owner, name string, err error) + func Update(c client.Client, id string, payload map[string]any) ([]byte, error) + func UpdatePayload(r UpdateRequest) (map[string]any, error) + func ValidAppName(name string) bool + type ActionResponse struct + NextStep *NextStep + Status string + type CreateRequest struct + AppName string + Env []EnvItem + HeadSHA string + Project Project + Visitors []string + type EnvItem struct + Hidden *bool + Kind string + Name string + Services []string + Value string + type EnvName struct + Kind string + Name string + Optional bool + Services []string + type NextStep struct + Kind string + Message string + URL string + type PlanResponse struct + AppName string + Branch string + ComposeFile string + Env []EnvName + ExistingApp json.RawMessage + HeadSHA string + NextStep *NextStep + Org string + Repo string + RouteCandidates []RouteCandidate + Routes []Route + Services []PlanService + Status string + VisitorsRequired bool + type PlanService struct + EnabledByDefault bool + Name string + Profiles []string + func (s *PlanService) UnmarshalJSON(b []byte) error + type Project struct + Branch string + ComposeFilename string + Repo string + Routes map[string]*string + SelectedProfiles []string + Services []string + type Route struct + Route string + Service string + type RouteCandidate string + func (c *RouteCandidate) UnmarshalJSON(b []byte) error + type UpdateRequest struct + Projects []Project + RemoveRepos []string