Documentation
¶
Overview ¶
Package panel is Skiff's login-gated control panel where teams deploy git projects onto the box, served behind the router at dash.<domain>.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SelfUpdate ¶
func SelfUpdate(opts SelfUpdateOpts) error
Types ¶
type AlertConfig ¶
type AuditEntry ¶
type Bucket ¶
type Bucket struct {
ID string `json:"id"`
Name string `json:"name"`
Endpoint string `json:"endpoint"`
Region string `json:"region"`
AccessKey string `json:"accessKey"`
SecretKey string `json:"secretKey"`
State string `json:"state"`
Attached []string `json:"attached"`
Created int64 `json:"created"`
}
Bucket is a managed object store plus the computed fields the dashboard needs.
type Database ¶
type Database struct {
ID string `json:"id"`
Name string `json:"name"`
Engine string `json:"engine"`
Host string `json:"host"`
Port int `json:"port"`
Created int64 `json:"created"`
State string `json:"state"`
URL string `json:"url"`
Attached []string `json:"attached"`
Public bool `json:"public"`
PublicURL string `json:"publicUrl,omitempty"`
}
type MailDomain ¶ added in v0.2.0
type MailForward ¶ added in v0.2.0
type OffsiteTarget ¶ added in v0.2.0
type SelfUpdateOpts ¶
type Source ¶
type Source struct {
App string `json:"app"`
Team string `json:"team"`
Repo string `json:"repo"`
Branch string `json:"branch"`
RootDir string `json:"rootDir"`
Port string `json:"port"`
CloneURL string `json:"cloneUrl"`
Auto bool `json:"auto"`
Parent string `json:"parent,omitempty"`
PreviewAuto bool `json:"previewAuto,omitempty"`
Replicas int `json:"replicas,omitempty"`
Release string `json:"release,omitempty"`
Autoscale bool `json:"autoscale,omitempty"`
ScaleMin int `json:"scaleMin,omitempty"`
ScaleMax int `json:"scaleMax,omitempty"`
ScaleCPU int `json:"scaleCpu,omitempty"`
Origin string `json:"origin,omitempty"` // "" = deployed by the panel from git, "cli" = by `skiff deploy`
SleepAfter int `json:"sleepAfter,omitempty"` // minutes without visitors before the app is stopped; 0 = never
}
Source Files
¶
- accounts.go
- alerts.go
- analytics.go
- api_v1.go
- applogs.go
- audit.go
- autoscale.go
- backups.go
- cert.go
- cliapps.go
- clilogin.go
- commitstatus.go
- cost.go
- cpbackups.go
- databases.go
- dbadopt.go
- dbrecover.go
- deploys.go
- domains.go
- embed.go
- envstage.go
- exec.go
- gc.go
- github_handlers.go
- insights.go
- jobs.go
- logging.go
- mail.go
- networks.go
- offsite.go
- panel.go
- prcomments.go
- previewgate.go
- previews.go
- projects.go
- ratelimit.go
- resources.go
- selfupdate.go
- server.go
- settings.go
- sleep.go
- storage.go
- store.go
- tokens.go
- uptime.go
- workers.go