service

package
v0.6.43 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedeployFunc added in v0.6.41

type RedeployFunc func(name string) error

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 (s *Servicer) DeleteService(ctx context.Context, name string) error

func (*Servicer) GetService

func (s *Servicer) GetService(ctx context.Context, name string) (*store.Service, error)

func (*Servicer) IceService added in v0.6.22

func (s *Servicer) IceService(name string) error

func (*Servicer) ListServices

func (s *Servicer) ListServices(ctx context.Context, userID string, limit, offset int) ([]*store.Service, error)

func (*Servicer) SleepService added in v0.6.22

func (s *Servicer) SleepService(name string) error

func (*Servicer) WakeService added in v0.6.22

func (s *Servicer) WakeService(name string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL