Documentation
¶
Index ¶
- Constants
- type MetricOpts
- type Root
- type ServeOpts
- type Server
- func (s *Server) Attach(stream daemongrpc.Daemon_AttachServer) error
- func (s *Server) CreateUnixSocket(ctx context.Context, _ *daemon.Empty) (*daemon.SocketResp, error)
- func (s *Server) Delete(ctx context.Context, req *daemon.DeleteReq) (*daemon.DeleteResp, error)
- func (s *Server) DeleteCheckpoint(ctx context.Context, req *daemon.DeleteCheckpointReq) (*daemon.DeleteCheckpointResp, error)
- func (s *Server) Dump(ctx context.Context, req *daemon.DumpReq) (*daemon.DumpResp, error)
- func (s *Server) DumpVM(ctx context.Context, req *daemon.DumpVMReq) (*daemon.DumpVMResp, error)
- func (s *Server) Get(ctx context.Context, req *daemon.GetReq) (*daemon.GetResp, error)
- func (s *Server) GetCheckpoint(ctx context.Context, req *daemon.GetCheckpointReq) (*daemon.GetCheckpointResp, error)
- func (s *Server) HealthCheck(ctx context.Context, req *daemon.HealthCheckReq) (*daemon.HealthCheckResp, error)
- func (s *Server) Kill(ctx context.Context, req *daemon.KillReq) (*daemon.KillResp, error)
- func (s *Server) Launch(ctx context.Context) (err error)
- func (s *Server) List(ctx context.Context, req *daemon.ListReq) (*daemon.ListResp, error)
- func (s *Server) ListCheckpoints(ctx context.Context, req *daemon.ListCheckpointsReq) (*daemon.ListCheckpointsResp, error)
- func (s *Server) Manage(ctx context.Context, req *daemon.RunReq) (*daemon.RunResp, error)
- func (s *Server) Query(ctx context.Context, req *daemon.QueryReq) (*daemon.QueryResp, error)
- func (s *Server) ReloadPlugins(ctx context.Context, req *daemon.Empty) (*daemon.Empty, error)
- func (s *Server) Restore(ctx context.Context, req *daemon.RestoreReq) (*daemon.RestoreResp, error)
- func (s *Server) RestoreVM(ctx context.Context, req *daemon.RestoreVMReq) (*daemon.RestoreVMResp, error)
- func (s *Server) Run(ctx context.Context, req *daemon.RunReq) (*daemon.RunResp, error)
- func (s *Server) Stop()
Constants ¶
View Source
const ATTACH_TIMEOUT = 1 * time.Minute
View Source
const CRIU_EXPERIMENTAL_CHECKS = false
View Source
const LOG_ATTACHABLE string = "[Attachable]"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricOpts ¶
type Root ¶ added in v0.9.243
type Root struct {
// contains filtered or unexported fields
}
Root avoids the use of the server and provides direct run/restores
func (*Root) Restore ¶ added in v0.9.243
func (s *Root) Restore(ctx context.Context, req *daemon.RestoreReq) (*daemon.RestoreResp, error)
Restore for CedanaRoot struct which avoid the use of jobs and provides runc compatible cli usage
type Server ¶
type Server struct {
daemongrpc.UnimplementedDaemonServer
// contains filtered or unexported fields
}
func (*Server) Attach ¶
func (s *Server) Attach(stream daemongrpc.Daemon_AttachServer) error
func (*Server) CreateUnixSocket ¶ added in v0.9.242
func (*Server) DeleteCheckpoint ¶
func (s *Server) DeleteCheckpoint(ctx context.Context, req *daemon.DeleteCheckpointReq) (*daemon.DeleteCheckpointResp, error)
func (*Server) GetCheckpoint ¶
func (s *Server) GetCheckpoint(ctx context.Context, req *daemon.GetCheckpointReq) (*daemon.GetCheckpointResp, error)
func (*Server) HealthCheck ¶
func (s *Server) HealthCheck(ctx context.Context, req *daemon.HealthCheckReq) (*daemon.HealthCheckResp, error)
func (*Server) ListCheckpoints ¶
func (s *Server) ListCheckpoints(ctx context.Context, req *daemon.ListCheckpointsReq) (*daemon.ListCheckpointsResp, error)
func (*Server) ReloadPlugins ¶
func (*Server) Restore ¶
func (s *Server) Restore(ctx context.Context, req *daemon.RestoreReq) (*daemon.RestoreResp, error)
func (*Server) RestoreVM ¶ added in v0.9.242
func (s *Server) RestoreVM(ctx context.Context, req *daemon.RestoreVMReq) (*daemon.RestoreVMResp, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.