Documentation
¶
Overview ¶
Package kmsvnc is a library for wrapping the kmsvnc binary from tast.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kmsvnc ¶
type Kmsvnc struct {
// contains filtered or unexported fields
}
Kmsvnc wraps a kmsvnc process used in tests.
func NewKmsvnc ¶
NewKmsvnc launches kmsvnc as a subprocess and returns a handle. Blocks until kmsvnc is ready to accept connections, so it's safe to connect to kmsvnc once this function returns.
func (*Kmsvnc) Connect ¶
func (k *Kmsvnc) Connect(ctx context.Context) (*RFBServerInit, error)
Connect connects to the kmsvnc server, completes the initial handshake as defined in RFC6143, and returns server parameters. https://tools.ietf.org/html/rfc6143#section-7
type RFBServerInit ¶
RFBServerInit represents a ServerInit message as specified in RFB protocol. Only fields needed for testing are included. https://tools.ietf.org/html/rfc6143#section-7.3.2