grpc

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: MPL-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExecServer added in v0.13.0

NewExecServer creates a new gRPC server for the MicroVMExec service.

func NewSSHProxyServer added in v0.13.0

NewSSHProxyServer creates a new gRPC server for the MicroVMSSHProxy service.

func NewServer

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.

Jump to

Keyboard shortcuts

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