server

package
v0.0.0-...-dfd50e4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	orchestrator.UnimplementedSandboxServiceServer
	orchestrator.UnimplementedChunkServiceServer
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, cfg ServiceConfig) (*Server, error)

func (*Server) Close

func (s *Server) Close() error

func (*Server) Create

func (*Server) Delete

func (*Server) GetBuildBlob

GetBuildBlob streams an entire blob file (snapfile, metadata, headers).

func (*Server) List

func (*Server) ListCachedBuilds

func (*Server) Pause

func (*Server) ReadAtBuildSeekable

ReadAtBuildSeekable streams a range from a seekable diff file (memfile, rootfs.ext4).

func (*Server) Update

type ServiceConfig

type ServiceConfig struct {
	Config           cfg.Config
	Tel              *telemetry.Client
	NetworkPool      *network.Pool
	DevicePool       *nbd.DevicePool
	TemplateCache    *template.Cache
	Info             *service.ServiceInfo
	Proxy            *proxy.SandboxProxy
	SandboxFactory   *sandbox.Factory
	Persistence      storage.StorageProvider
	FeatureFlags     *featureflags.Client
	SbxEventsService *events.EventsService
	PeerRegistry     peerclient.Registry
	Uploads          *sandbox.Uploads
}

Jump to

Keyboard shortcuts

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