Documentation
¶
Overview ¶
Package sandbox serves sandbox inventory, lifecycle and exec selection.
Sandbox entities are execution records and contain resolved container environment values. This package is the boundary that turns those raw records into a deliberately small, safe inventory response.
Index ¶
- type PoolServer
- type Server
- func (s *Server) Delete(ctx context.Context, state *compute_v1alpha.SandboxesDelete) error
- func (s *Server) List(ctx context.Context, state *compute_v1alpha.SandboxesList) error
- func (s *Server) SelectForApp(ctx context.Context, state *compute_v1alpha.SandboxesSelectForApp) error
- func (s *Server) Stop(ctx context.Context, state *compute_v1alpha.SandboxesStop) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PoolServer ¶ added in v0.18.0
type PoolServer struct {
// contains filtered or unexported fields
}
PoolServer exposes pool inventory and scaling without exposing execution specs.
func NewPoolServer ¶ added in v0.18.0
func NewPoolServer(ec *entityserver.Client) *PoolServer
func (*PoolServer) List ¶ added in v0.18.0
func (s *PoolServer) List(ctx context.Context, state *compute_v1alpha.SandboxPoolsList) error
func (*PoolServer) SetDesired ¶ added in v0.18.0
func (s *PoolServer) SetDesired(ctx context.Context, state *compute_v1alpha.SandboxPoolsSetDesired) error
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) Delete ¶ added in v0.18.0
func (s *Server) Delete(ctx context.Context, state *compute_v1alpha.SandboxesDelete) error
func (*Server) List ¶
func (s *Server) List(ctx context.Context, state *compute_v1alpha.SandboxesList) error
func (*Server) SelectForApp ¶ added in v0.18.0
func (s *Server) SelectForApp(ctx context.Context, state *compute_v1alpha.SandboxesSelectForApp) error
func (*Server) Stop ¶ added in v0.18.0
func (s *Server) Stop(ctx context.Context, state *compute_v1alpha.SandboxesStop) error
Click to show internal directories.
Click to hide internal directories.