Documentation
¶
Overview ¶
SPDX-License-Identifier: Apache-2.0 Copyright 2026 The Karakoram Authors
SPDX-License-Identifier: Apache-2.0 Copyright 2026 The Karakoram Authors
SPDX-License-Identifier: Apache-2.0 Copyright 2026 The Karakoram Authors
SPDX-License-Identifier: Apache-2.0 Copyright 2026 The Karakoram Authors
SPDX-License-Identifier: Apache-2.0 Copyright 2026 The Karakoram Authors
SPDX-License-Identifier: Apache-2.0 Copyright 2026 The Karakoram Authors
SPDX-License-Identifier: Apache-2.0 Copyright 2026 The Karakoram Authors
SPDX-License-Identifier: Apache-2.0 Copyright 2026 The Karakoram Authors
SPDX-License-Identifier: Apache-2.0 Copyright 2026 The Karakoram Authors
SPDX-License-Identifier: Apache-2.0 Copyright 2026 The Karakoram Authors
SPDX-License-Identifier: Apache-2.0 Copyright 2026 The Karakoram Authors
Index ¶
- func ReservedRole(name string) bool
- type AuthOptions
- type Credentials
- type Options
- type Provider
- func (p *Provider) ApplyDefaults(s *domain.ClusterSpec)
- func (p *Provider) CanClaimOperation(c *domain.Cluster) (bool, error)
- func (p *Provider) CancelOperation(ctx context.Context, rc *engine.Context, op *domain.Operation) (engine.OpResult, error)
- func (p *Provider) Cleanup(ctx context.Context, rc *engine.Context, opts domain.DeleteOptions) (done bool, err error)
- func (p *Provider) Credentials(ctx context.Context, rc *engine.Context) (Credentials, error)
- func (p *Provider) DeleteFunction(ctx context.Context, rc *engine.Context, name string) error
- func (p *Provider) Describe() domain.ProviderInfo
- func (p *Provider) GetFunction(ctx context.Context, rc *engine.Context, name string) (map[string]string, error)
- func (p *Provider) ListFunctions(ctx context.Context, rc *engine.Context) ([]string, error)
- func (p *Provider) MemberConfig(ctx context.Context, rc *engine.Context, name string) (agentapi.MemberConfig, error)
- func (p *Provider) MemberLogs(ctx context.Context, rc *engine.Context, name, process string, lines int) ([]domain.MemberLogLine, error)
- func (p *Provider) Metrics() []domain.MetricDescriptor
- func (*Provider) Name() string
- func (p *Provider) Placement(ctx context.Context, rc *engine.Context) (domain.Placement, error)
- func (p *Provider) PutFunction(ctx context.Context, rc *engine.Context, name string, files map[string]string) error
- func (p *Provider) RequiredCapabilities(s domain.ClusterSpec) []string
- func (p *Provider) RunOperation(ctx context.Context, rc *engine.Context, op *domain.Operation) (engine.OpResult, error)
- func (p *Provider) SetSMTPPassword(ctx context.Context, rc *engine.Context, password string) error
- func (p *Provider) Status(ctx context.Context, rc *engine.Context) (status domain.ClusterStatus, statusErr error)
- func (p *Provider) Sync(ctx context.Context, rc *engine.Context) (result engine.Result, err error)
- func (p *Provider) Validate(ctx context.Context, old, next *domain.Cluster) error
- type StorageOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReservedRole ¶
Types ¶
type AuthOptions ¶
type AuthOptions struct {
DisableSignup bool `json:"disableSignup"`
Autoconfirm bool `json:"autoconfirm"`
JWTExpiry int `json:"jwtExpiry"`
SMTP struct {
Host string `json:"host"`
Port int `json:"port"`
User string `json:"user"`
AdminEmail string `json:"adminEmail"`
SenderName string `json:"senderName"`
} `json:"smtp"`
}
type Credentials ¶
type Credentials struct {
APIURL string `json:"apiUrl"`
StudioURL string `json:"studioUrl"`
AnonKey string `json:"anonKey"`
ServiceRoleKey string `json:"serviceRoleKey"`
PublishableKey string `json:"publishableKey"`
SecretKey string `json:"secretKey"`
DashboardUsername string `json:"dashboardUsername"`
DashboardPassword string `json:"dashboardPassword"`
JWTSecret string `json:"jwtSecret"`
}
type Options ¶
type Options struct {
SynchronousMode string `json:"synchronousMode,omitempty"`
Parameters map[string]string `json:"parameters,omitempty"`
Proxy postgres.ProxyOptions `json:"proxy,omitempty"`
SiteURL string `json:"siteUrl,omitempty"`
AdditionalRedirectURLs []string `json:"additionalRedirectUrls,omitempty"`
Auth AuthOptions `json:"auth,omitempty"`
REST sbspec.REST `json:"rest,omitempty"`
Storage StorageOptions `json:"storage,omitempty"`
Gateway struct {
PublicHTTPS bool `json:"publicHttps"`
CORSOrigins []string `json:"corsOrigins,omitempty"`
} `json:"gateway,omitempty"`
Studio struct {
Organization string `json:"organization"`
Project string `json:"project"`
} `json:"studio,omitempty"`
Extensions []string `json:"extensions,omitempty"`
Functions struct {
VerifyJWT *bool `json:"verifyJwt"`
} `json:"functions,omitempty"`
}
func ParseOptions ¶
func ParseOptions(raw json.RawMessage) (Options, error)
type Provider ¶
func (*Provider) ApplyDefaults ¶
func (p *Provider) ApplyDefaults(s *domain.ClusterSpec)
func (*Provider) CanClaimOperation ¶ added in v0.4.0
func (*Provider) CancelOperation ¶ added in v0.4.0
func (*Provider) Credentials ¶
func (*Provider) DeleteFunction ¶
func (*Provider) Describe ¶
func (p *Provider) Describe() domain.ProviderInfo
func (*Provider) GetFunction ¶
func (*Provider) ListFunctions ¶
func (*Provider) MemberConfig ¶
func (*Provider) MemberLogs ¶
func (*Provider) Metrics ¶
func (p *Provider) Metrics() []domain.MetricDescriptor
func (*Provider) PutFunction ¶
func (*Provider) RequiredCapabilities ¶
func (p *Provider) RequiredCapabilities(s domain.ClusterSpec) []string
func (*Provider) RunOperation ¶
func (*Provider) SetSMTPPassword ¶
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package sbkeys generates Supabase credentials without persistence or logging.
|
Package sbkeys generates Supabase credentials without persistence or logging. |
|
SPDX-License-Identifier: Apache-2.0 Copyright 2026 The Karakoram Authors
|
SPDX-License-Identifier: Apache-2.0 Copyright 2026 The Karakoram Authors |