Documentation
¶
Overview ¶
Package service coordinates service management, lifecycle operations, and integration with other components of the daemon, such as deployment and proxy. Concrete service orchestration and storage wiring are implemented in the internal/service package.
Index ¶
- type RedeployFunc
- type Servicer
- func (s *Servicer) DeleteService(ctx context.Context, name string) error
- func (s *Servicer) GetService(ctx context.Context, name string) (*store.Service, error)
- func (s *Servicer) IceService(name string) error
- func (s *Servicer) ListServices(ctx context.Context, userID string, limit, offset int) ([]*store.Service, error)
- func (s *Servicer) SleepService(name string) error
- func (s *Servicer) WakeService(name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedeployFunc ¶ added in v0.6.41
RedeployFunc recreates a missing container from its last known blueprint. Injected at startup so the service layer stays decoupled from deploy internals.
type Servicer ¶
type Servicer struct {
// contains filtered or unexported fields
}
func Init ¶
func Init(cfg *shared.Config, logger *shared.Logger, store store.ServiceStore, proxyAPI proxy.HandleProxy, redeploy RedeployFunc) *Servicer
func (*Servicer) DeleteService ¶ added in v0.5.0
func (*Servicer) GetService ¶
func (*Servicer) IceService ¶ added in v0.6.22
func (*Servicer) ListServices ¶
func (*Servicer) SleepService ¶ added in v0.6.22
func (*Servicer) WakeService ¶ added in v0.6.22
Click to show internal directories.
Click to hide internal directories.