Documentation
¶
Index ¶
- type Server
- func (s *Server) Checkpoint(ctx context.Context, in *orchestrator.SandboxCheckpointRequest) (*orchestrator.SandboxCheckpointResponse, error)
- func (s *Server) Create(ctx context.Context, req *orchestrator.SandboxCreateRequest) (*orchestrator.SandboxCreateResponse, error)
- func (s *Server) Delete(ctxConn context.Context, in *orchestrator.SandboxDeleteRequest) (*emptypb.Empty, error)
- func (s *Server) List(ctx context.Context, _ *emptypb.Empty) (*orchestrator.SandboxListResponse, error)
- func (s *Server) ListCachedBuilds(ctx context.Context, _ *emptypb.Empty) (*orchestrator.SandboxListCachedBuildsResponse, error)
- func (s *Server) Pause(ctx context.Context, in *orchestrator.SandboxPauseRequest) (*emptypb.Empty, error)
- func (s *Server) Update(ctx context.Context, req *orchestrator.SandboxUpdateRequest) (*emptypb.Empty, error)
- type ServiceConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
orchestrator.UnimplementedSandboxServiceServer
// contains filtered or unexported fields
}
func (*Server) Checkpoint ¶
func (s *Server) Checkpoint(ctx context.Context, in *orchestrator.SandboxCheckpointRequest) (*orchestrator.SandboxCheckpointResponse, error)
func (*Server) Create ¶
func (s *Server) Create(ctx context.Context, req *orchestrator.SandboxCreateRequest) (*orchestrator.SandboxCreateResponse, error)
func (*Server) Delete ¶
func (s *Server) Delete(ctxConn context.Context, in *orchestrator.SandboxDeleteRequest) (*emptypb.Empty, error)
func (*Server) List ¶
func (s *Server) List(ctx context.Context, _ *emptypb.Empty) (*orchestrator.SandboxListResponse, error)
func (*Server) ListCachedBuilds ¶
func (s *Server) ListCachedBuilds(ctx context.Context, _ *emptypb.Empty) (*orchestrator.SandboxListCachedBuildsResponse, error)
func (*Server) Pause ¶
func (s *Server) Pause(ctx context.Context, in *orchestrator.SandboxPauseRequest) (*emptypb.Empty, error)
func (*Server) Update ¶
func (s *Server) Update(ctx context.Context, req *orchestrator.SandboxUpdateRequest) (*emptypb.Empty, error)
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
Sandboxes *sandbox.Map
Persistence storage.StorageProvider
FeatureFlags *featureflags.Client
SbxEventsService *events.EventsService
}
Click to show internal directories.
Click to hide internal directories.