Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlyPostgresPlan ¶
type FlyPostgresPlan struct { AppName string `json:"app_name"` VmSize string `json:"vm_size"` VmRam int `json:"vm_ram"` Nodes int `json:"nodes"` DiskSizeGB int `json:"disk_size_gb"` AutoStop bool `json:"auto_stop"` }
func (*FlyPostgresPlan) Guest ¶
func (p *FlyPostgresPlan) Guest() *api.MachineGuest
type LaunchPlan ¶
type LaunchPlan struct { AppName string `json:"name"` OrgSlug string `json:"org"` RegionCode string `json:"region"` HighAvailability bool `json:"ha"` CPUKind string `json:"vm_cpukind,omitempty"` CPUs int `json:"vm_cpus,omitempty"` MemoryMB int `json:"vm_memory,omitempty"` VmSize string `json:"vm_size,omitempty"` HttpServicePort int `json:"http_service_port,omitempty"` Postgres PostgresPlan `json:"postgres"` Redis RedisPlan `json:"redis"` ScannerFamily string `json:"scanner_family"` FlyctlVersion version.Version `json:"flyctl_version"` }
func (*LaunchPlan) Guest ¶
func (p *LaunchPlan) Guest() *api.MachineGuest
func (*LaunchPlan) SetGuestFields ¶
func (p *LaunchPlan) SetGuestFields(guest *api.MachineGuest)
type PostgresPlan ¶
type PostgresPlan struct {
FlyPostgres *FlyPostgresPlan `json:"fly_postgres"`
}
func DefaultPostgres ¶
func DefaultPostgres(plan *LaunchPlan) PostgresPlan
func (*PostgresPlan) Provider ¶
func (p *PostgresPlan) Provider() any
type RedisPlan ¶
type RedisPlan struct {
UpstashRedis *UpstashRedisPlan `json:"upstash_redis"`
}
func DefaultRedis ¶
func DefaultRedis(plan *LaunchPlan) RedisPlan
type UpstashRedisPlan ¶
Click to show internal directories.
Click to hide internal directories.