service

package
v0.4.6-beta.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2025 License: MIT Imports: 3 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 Servicer

type Servicer struct {
	// contains filtered or unexported fields
}

func Init

func Init(cfg *shared.Config, logger *shared.Logger, store store.ServiceStore) *Servicer

func (*Servicer) CreateService

func (s *Servicer) CreateService(ctx context.Context, svc *store.Service) (store.Service, error)

func (*Servicer) GetService

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

func (*Servicer) ListServices

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

func (*Servicer) UpdateService

func (s *Servicer) UpdateService(ctx context.Context, id string, svc store.Service) (*store.Service, error)

Jump to

Keyboard shortcuts

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