Documentation
¶
Index ¶
- func NewExecServer(queryUC ports.MicroVMQueryUseCases) ports.MicroVMExecGRPCService
- func NewSSHProxyServer(queryUC ports.MicroVMQueryUseCases) ports.MicroVMSSHProxyGRPCService
- func NewServer(commandUC ports.MicroVMCommandUseCases, queryUC ports.MicroVMQueryUseCases, ...) ports.MicroVMGRPCService
- type InfoConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExecServer ¶ added in v0.13.0
func NewExecServer(queryUC ports.MicroVMQueryUseCases) ports.MicroVMExecGRPCService
NewExecServer creates a new gRPC server for the MicroVMExec service.
func NewSSHProxyServer ¶ added in v0.13.0
func NewSSHProxyServer(queryUC ports.MicroVMQueryUseCases) ports.MicroVMSSHProxyGRPCService
NewSSHProxyServer creates a new gRPC server for the MicroVMSSHProxy service.
func NewServer ¶
func NewServer( commandUC ports.MicroVMCommandUseCases, queryUC ports.MicroVMQueryUseCases, info InfoConfig, ) ports.MicroVMGRPCService
NewServer creates a new server instance.
Types ¶
type InfoConfig ¶ added in v0.14.0
type InfoConfig struct {
StartTime time.Time
ExecEnabled bool
SSHProxyEnabled bool
// GRPCAPIEndpoint is the listen address shared by the exec and ssh-proxy
// services, when enabled.
GRPCAPIEndpoint string
}
InfoConfig carries the runtime facts ServerInfo needs beyond what's already available as internal/version package vars: when the server started, and whether/where the guest-agent exec and ssh-proxy services are registered.
Click to show internal directories.
Click to hide internal directories.