Versions in this module Expand all Collapse all v0 v0.1.0 Jun 25, 2026 Changes in this version + func Drivers() []string + func RegisterDriver(name string, f DriverFactory) + type Deployer interface + Deploy func(ctx context.Context, spec Spec) (*Result, error) + Destroy func(ctx context.Context, spec Spec) error + Provision func(ctx context.Context, spec Spec) (*Result, error) + Status func(ctx context.Context, spec Spec) (*Status, error) + func Build(name string, k *togo.Kernel) (Deployer, error) + type DriverFactory func(k *togo.Kernel) (Deployer, error) + type Result struct + Message string + Raw map[string]any + URL string + type Service struct + func FromKernel(k *togo.Kernel) (*Service, bool) + func (s *Service) Deploy(ctx context.Context, spec Spec) (*Result, error) + func (s *Service) Deployer() Deployer + func (s *Service) Destroy(ctx context.Context, spec Spec) error + func (s *Service) Driver() string + func (s *Service) Provision(ctx context.Context, spec Spec) (*Result, error) + func (s *Service) Status(ctx context.Context, spec Spec) (*Status, error) + type Spec struct + App string + Binary string + BuildCmd string + Dir string + Domain string + Env map[string]string + Host string + Image string + Options map[string]any + Region string + User string + type Status struct + Detail string + Healthy bool + Raw map[string]any