MCPcopy Create free account
hub / github.com/digitalocean/go-libvirt / DomainGraphicsReload

Method DomainGraphicsReload

remote_protocol.gen.go:17280–17301  ·  view source on GitHub ↗

DomainGraphicsReload is the go wrapper for REMOTE_PROC_DOMAIN_GRAPHICS_RELOAD.

(Dom Domain, Type uint32, Flags uint32)

Source from the content-addressed store, hash-verified

17278
17279// DomainGraphicsReload is the go wrapper for REMOTE_PROC_DOMAIN_GRAPHICS_RELOAD.
17280func (l *Libvirt) DomainGraphicsReload(Dom Domain, Type uint32, Flags uint32) (err error) {
17281 var buf []byte
17282
17283 args := DomainGraphicsReloadArgs {
17284 Dom: Dom,
17285 Type: Type,
17286 Flags: Flags,
17287 }
17288
17289 buf, err = encode(&args)
17290 if err != nil {
17291 return
17292 }
17293
17294
17295 _, err = l.requestStream(448, constants.Program, buf, nil, nil)
17296 if err != nil {
17297 return
17298 }
17299
17300 return
17301}
17302
17303// DomainGetAutostartOnce is the go wrapper for REMOTE_PROC_DOMAIN_GET_AUTOSTART_ONCE.
17304func (l *Libvirt) DomainGetAutostartOnce(Dom Domain) (rAutostart int32, err error) {

Callers

nothing calls this directly

Calls 2

requestStreamMethod · 0.95
encodeFunction · 0.85

Tested by

no test coverage detected