MCPcopy Create free account

hub / github.com/digitalocean/go-libvirt / functions

Functions1,030 in github.com/digitalocean/go-libvirt

↓ 2 callersMethodKeyboardInteractive
KeyboardInteractive adds the keyboard-interactive auth method to the allowed list (currently unimplemented).
socket/dialers/gossh.go:239
↓ 2 callersFunctionMarshal
* Marshal writes the XDR encoding of v to writer w and returns the number of bytes written. It traverses v recursively and automatically indirects po
internal/go-xdr/xdr2/encode.go:75
↓ 2 callersMethodNetworkUpdate
NetworkUpdate is the go wrapper for REMOTE_PROC_NETWORK_UPDATE.
remote_protocol.gen.go:13125
↓ 2 callersFunctionNewAlreadyConnected
NewAlreadyConnected is a noop dialer to simply use a connection previously established. This means any re-dial attempts simply won't work.
socket/dialers/already_connected.go:17
↓ 2 callersFunctionNewDecoder
NewDecoder returns a Decoder that can be used to manually decode XDR data from a provided reader. Typically, Unmarshal should be used instead of manu
internal/go-xdr/xdr2/decode.go:880
↓ 2 callersFunctionNewDecoderLimited
NewDecoderLimited is identical to NewDecoder but it sets maxReadSize in order to cap reads.
internal/go-xdr/xdr2/decode.go:886
↓ 2 callersFunctionNewEncoder
NewEncoder returns an object that can be used to manually choose fields to XDR encode to the passed writer w. Typically, Marshal should be used inste
internal/go-xdr/xdr2/encode.go:667
↓ 2 callersFunctionNewRemote
NewRemote is a dialer for connecting to libvirt running on another server.
socket/dialers/remote.go:40
↓ 2 callersFunctionNewSSH
NewSSH returns an ssh dialer for connecting to libvirt running on another server.
socket/dialers/gossh.go:262
↓ 2 callersMethodPrivKey
PrivKey adds the Private Key auth method to the allowed list.
socket/dialers/gossh.go:161
↓ 2 callersMethodReset
Reset resets domain immediately without any guest OS shutdown Deprecated: use DomainReset instead.
libvirt.go:702
↓ 2 callersMethodRoute
Route sends incoming packets to their listeners.
rpc.go:88
↓ 2 callersMethodSecrets
Secrets returns all secrets managed by the libvirt daemon. Deprecated: use ConnectListAllSecrets instead.
libvirt.go:577
↓ 2 callersFunctionStartCase
StartCase is called when the parser finds a case statement within a union.
internal/lvgen/generate.go:777
↓ 2 callersFunctionUnmarshalLimited
UnmarshalLimited is identical to Unmarshal but it sets maxReadSize in order to cap reads.
internal/go-xdr/xdr2/decode.go:84
↓ 2 callersFunctionUseKnownHostsFile
UseKnownHostsFile uses a custom known_hosts file
socket/dialers/gossh.go:93
↓ 2 callersFunctionUsePort
UsePort sets the port to dial for libirt on the target host server.
socket/dialers/remote.go:33
↓ 2 callersFunctionWithInsecureIgnoreHostKey
WithInsecureIgnoreHostKey ignores the validity of the host certificate.
socket/dialers/gossh.go:86
↓ 2 callersMethodaccept
accept will advance to the next rune if it's contained in the string of valid runes passed in by the caller.
internal/lvgen/lvlexer.go:186
↓ 2 callersFunctionaddEnumVal
(name string, val int64, meta *ProcMeta)
internal/lvgen/generate.go:675
↓ 2 callersFunctionappendKnownHost
(knownHostsFile string, host string, key ssh.PublicKey)
socket/dialers/gossh.go:286
↓ 2 callersFunctioncheckModeOption
(uri *url.URL)
connect_uri.go:184
↓ 2 callersMethoddecodeArray
decodeArray treats the next bytes as a variable length series of XDR encoded elements of the same type as the array represented by the reflection valu
internal/go-xdr/xdr2/decode.go:462
↓ 2 callersMethoddecodeFixedArray
decodeFixedArray treats the next bytes as a series of XDR encoded elements of the same type as the array represented by the reflection value and decod
internal/go-xdr/xdr2/decode.go:423
↓ 2 callersMethodderegisterAll
deregisterAll closes all waiting callback channels. This is used to clean up if the connection to libvirt is lost. Callers waiting for responses will
rpc.go:248
↓ 2 callersMethodencodeArray
encodeArray writes an XDR encoded integer representing the number of elements in the passed slice represented by the reflection value followed by the
internal/go-xdr/xdr2/encode.go:417
↓ 2 callersFunctionextractHeader
extractHeader returns the decoded header from an incoming response.
socket/socket.go:276
↓ 2 callersFunctionfixAbbrevs
fixAbbrevs up-cases all instances of anything in the 'abbrevs' array. This would be a simple matter, but we don't want to upcase an abbreviation if it
internal/lvgen/generate.go:395
↓ 2 callersFunctionnoVerifyOption
(uri *url.URL)
connect_uri.go:172
↓ 2 callersMethodpeek
peek looks ahead at the next rune in the stream without consuming it.
internal/lvgen/lvlexer.go:178
↓ 2 callersFunctionpktlen
pktlen returns the length of an incoming RPC packet. Read errors will result in a returned response length of 0 and a non-nil error.
socket/socket.go:263
↓ 2 callersFunctionprocessCommonSSHOptions
(uri *url.URL, options []dialers.SSHOption)
connect_uri.go:197
↓ 2 callersMethodprocessIncomingStream
processIncomingStream is called once we've successfully sent a request to libvirt. It writes the responses back to the stream passed by the caller unt
rpc.go:321
↓ 2 callersMethodstream
stream decodes and relays domain events to their respective listener.
rpc.go:174
↓ 2 callersFunctiontestEvents
(count int)
internal/event/stream_test.go:17
↓ 2 callersMethodunsubscribeEvents
unsubscribeEvents stops the flow of the specified events from libvirt. There are two steps to this process: a call to libvirt to deregister our callba
libvirt.go:483
↓ 2 callersFunctionyyNewParser
()
internal/lvgen/y.go:295
↓ 2 callersFunctionyylex1
(lex yyLexer, lval *yySymType)
internal/lvgen/y.go:383
↓ 1 callersFunctionAddConst
AddConst adds a new constant to the parser's list.
internal/lvgen/generate.go:683
↓ 1 callersFunctionAddDeclaration
AddDeclaration is called by the parser when it find a declaration (int x). The declaration will be added to any open container (such as a struct, if t
internal/lvgen/generate.go:805
↓ 1 callersFunctionAddEnumAutoVal
AddEnumAutoVal adds an enum to the list, using the automatically-incremented value. This is called when the parser finds an enum definition without an
internal/lvgen/generate.go:670
↓ 1 callersFunctionAddEnumVal
AddEnumVal will add a new enum value to the list.
internal/lvgen/generate.go:614
↓ 1 callersFunctionAddFixedArray
AddFixedArray is called by the parser to add a fixed-length array to the current container (struct, union, etc). Fixed-length arrays are not length- p
internal/lvgen/generate.go:835
↓ 1 callersFunctionAddOptValue
AddOptValue is called by the parser to add an optional value. These are declared in the protocol definition file using a syntax that looks like a poin
internal/lvgen/generate.go:862
↓ 1 callersFunctionAddStruct
AddStruct is called when the parser has finished parsing a struct. It adds the now-complete struct definition to the generator's list.
internal/lvgen/generate.go:749
↓ 1 callersFunctionAddUnion
AddUnion is called by the parser when it has finished processing a union type. It adds the union to the generator's list and clears the CurrentUnion p
internal/lvgen/generate.go:770
↓ 1 callersMethodAuthList
AuthList is the go wrapper for REMOTE_PROC_AUTH_LIST.
remote_protocol.gen.go:6348
↓ 1 callersMethodAuthPolkit
AuthPolkit is the go wrapper for REMOTE_PROC_AUTH_POLKIT.
remote_protocol.gen.go:6485
↓ 1 callersMethodCapabilities
Capabilities returns an XML document describing the host's capabilties.
libvirt.go:223
↓ 1 callersMethodConnectDomainEventCallbackDeregisterAny
ConnectDomainEventCallbackDeregisterAny is the go wrapper for REMOTE_PROC_CONNECT_DOMAIN_EVENT_CALLBACK_DEREGISTER_ANY.
remote_protocol.gen.go:13907
↓ 1 callersMethodConnectGetAllDomainStats
ConnectGetAllDomainStats is the go wrapper for REMOTE_PROC_CONNECT_GET_ALL_DOMAIN_STATS.
remote_protocol.gen.go:14447
↓ 1 callersMethodConnectGetCapabilities
ConnectGetCapabilities is the go wrapper for REMOTE_PROC_CONNECT_GET_CAPABILITIES.
remote_protocol.gen.go:4585
↓ 1 callersMethodConnectGetLibVersion
ConnectGetLibVersion is the go wrapper for REMOTE_PROC_CONNECT_GET_LIB_VERSION.
remote_protocol.gen.go:9128
↓ 1 callersMethodConnectListAllSecrets
ConnectListAllSecrets is the go wrapper for REMOTE_PROC_CONNECT_LIST_ALL_SECRETS.
remote_protocol.gen.go:12997
↓ 1 callersMethodConnectListAllStoragePools
ConnectListAllStoragePools is the go wrapper for REMOTE_PROC_CONNECT_LIST_ALL_STORAGE_POOLS.
remote_protocol.gen.go:12762
↓ 1 callersMethodConnectSupportsFeature
ConnectSupportsFeature is the go wrapper for REMOTE_PROC_CONNECT_SUPPORTS_FEATURE.
remote_protocol.gen.go:6088
↓ 1 callersMethodDecodeEnum
DecodeEnum treats the next 4 bytes as an XDR encoded enumeration value and returns the result as an int32 after verifying that the value is in the pro
internal/go-xdr/xdr2/decode.go:171
↓ 1 callersMethodDecodeOpaque
DecodeOpaque treats the next bytes as variable length XDR encoded opaque data and returns the result as a byte slice along with the number of bytes ac
internal/go-xdr/xdr2/decode.go:357
↓ 1 callersMethodDefineXML
DefineXML defines a domain, but does not start it. Deprecated: use DomainDefineXMLFlags instead.
libvirt.go:646
↓ 1 callersMethodDestroy
Destroy destroys the domain specified by dom, e.g., 'prod-lb-01'. The flags argument allows additional options to be specified such as allowing a grac
libvirt.go:620
↓ 1 callersMethodDomainCreateWithFlags
DomainCreateWithFlags is the go wrapper for REMOTE_PROC_DOMAIN_CREATE_WITH_FLAGS.
remote_protocol.gen.go:10230
↓ 1 callersMethodDomainDefineXMLFlags
DomainDefineXMLFlags is the go wrapper for REMOTE_PROC_DOMAIN_DEFINE_XML_FLAGS.
remote_protocol.gen.go:14610
↓ 1 callersMethodDomainDestroyFlags
DomainDestroyFlags is the go wrapper for REMOTE_PROC_DOMAIN_DESTROY_FLAGS.
remote_protocol.gen.go:11391
↓ 1 callersMethodDomainGetBlockIOTune
DomainGetBlockIOTune is the go wrapper for REMOTE_PROC_DOMAIN_GET_BLOCK_IO_TUNE.
remote_protocol.gen.go:11926
↓ 1 callersMethodDomainGetState
DomainGetState is the go wrapper for REMOTE_PROC_DOMAIN_GET_STATE.
remote_protocol.gen.go:10696
↓ 1 callersMethodDomainGetXMLDesc
DomainGetXMLDesc is the go wrapper for REMOTE_PROC_DOMAIN_GET_XML_DESC.
remote_protocol.gen.go:4766
↓ 1 callersMethodDomainMemoryStats
DomainMemoryStats is the go wrapper for REMOTE_PROC_DOMAIN_MEMORY_STATS.
remote_protocol.gen.go:9186
↓ 1 callersMethodDomainMigratePerform3Params
DomainMigratePerform3Params is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_PERFORM3_PARAMS.
remote_protocol.gen.go:13555
↓ 1 callersMethodDomainMigrateSetMaxSpeed
DomainMigrateSetMaxSpeed is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_SET_MAX_SPEED.
remote_protocol.gen.go:10564
↓ 1 callersMethodDomainReboot
DomainReboot is the go wrapper for REMOTE_PROC_DOMAIN_REBOOT.
remote_protocol.gen.go:5205
↓ 1 callersMethodDomainReset
DomainReset is the go wrapper for REMOTE_PROC_DOMAIN_RESET.
remote_protocol.gen.go:11723
↓ 1 callersMethodDomainSetBlockIOTune
DomainSetBlockIOTune is the go wrapper for REMOTE_PROC_DOMAIN_SET_BLOCK_IO_TUNE.
remote_protocol.gen.go:11901
↓ 1 callersMethodDomainShutdownFlags
DomainShutdownFlags is the go wrapper for REMOTE_PROC_DOMAIN_SHUTDOWN_FLAGS.
remote_protocol.gen.go:12097
↓ 1 callersMethodDomainState
DomainState returns state of the domain managed by libvirt. Deprecated: use DomainGetState instead.
libvirt.go:378
↓ 1 callersMethodDomainUndefineFlags
DomainUndefineFlags is the go wrapper for REMOTE_PROC_DOMAIN_UNDEFINE_FLAGS.
remote_protocol.gen.go:11319
↓ 1 callersMethodEncode
Encode operates identically to the Marshal function with the exception of using the writer associated with the Encoder for the destination of the XDR-
internal/go-xdr/xdr2/encode.go:638
↓ 1 callersMethodEncodeEnum
EncodeEnum treats the passed 32-bit signed integer as an enumeration value and, if it is in the list of passed valid enumeration values, writes the XD
internal/go-xdr/xdr2/encode.go:150
↓ 1 callersMethodEncodeOpaque
EncodeOpaque treats the passed byte slice as opaque data of a variable size and writes the XDR encoded representation of it to the encapsulated writer
internal/go-xdr/xdr2/encode.go:323
↓ 1 callersFunctionGenerate
Generate will output go bindings for libvirt. The lvPath parameter should be the path to the root of the libvirt source directory to use for the gener
internal/lvgen/generate.go:237
↓ 1 callersMethodGetBlockIOTune
GetBlockIOTune returns a slice containing the current block I/O tunables for a disk. Deprecated: use DomainGetBlockIOTune instead.
libvirt.go:753
↓ 1 callersFunctionIsIO
IsIO returns a boolean indicating whether the error is known to report that the underlying reader or writer encountered an ErrIO.
internal/go-xdr/xdr2/error.go:127
↓ 1 callersMethodLex
(lval *yySymType)
internal/lvgen/y.go:276
↓ 1 callersFunctionNew
New initializes a new type for managing the Socket.
socket/socket.go:118
↓ 1 callersFunctionNewLexer
NewLexer will return a new lexer for the passed-in reader.
internal/lvgen/lvlexer.go:95
↓ 1 callersFunctionNewLocal
NewLocal is a default dialer to simply connect to a locally running libvirt's socket.
socket/dialers/local.go:41
↓ 1 callersFunctionNewTLS
NewTLS is a dialer for connecting to libvirt running on another server.
socket/dialers/tls.go:69
↓ 1 callersFunctionNewTypedParamValueInt
NewTypedParamValueInt creates a discriminated union value satisfying the TypedParamValue interface.
remote_protocol.gen.go:4367
↓ 1 callersFunctionNewTypedParamValueUllong
NewTypedParamValueUllong creates a discriminated union value satisfying the TypedParamValue interface.
remote_protocol.gen.go:4385
↓ 1 callersMethodQEMUConnectDomainMonitorEventDeregister
QEMUConnectDomainMonitorEventDeregister is the go wrapper for QEMU_PROC_CONNECT_DOMAIN_MONITOR_EVENT_DEREGISTER.
qemu_protocol.gen.go:271
↓ 1 callersMethodQEMUConnectDomainMonitorEventRegister
QEMUConnectDomainMonitorEventRegister is the go wrapper for QEMU_PROC_CONNECT_DOMAIN_MONITOR_EVENT_REGISTER.
qemu_protocol.gen.go:236
↓ 1 callersMethodReboot
Reboot reboots the domain. Note that the guest OS may ignore the request. If flags is set to zero, then the hypervisor will choose the method of shutd
libvirt.go:690
↓ 1 callersFunctionRemoteURI
RemoteURI returns the libvirtd URI corresponding to a given client URI. The client URI contains details of the connection method, but once connected t
connect_uri.go:37
↓ 1 callersMethodRoute
(*Header, []byte)
socket/socket.go:66
↓ 1 callersMethodRun
Run starts the lexer, and should be called in a goroutine.
internal/lvgen/lvlexer.go:109
↓ 1 callersMethodSendStream
SendStream sends a stream of packets to libvirt on the socket connection.
socket/socket.go:347
↓ 1 callersMethodSetBlockIOTune
SetBlockIOTune changes the per-device block I/O tunables within a guest. Parameters are the name of the VM, the name of the disk device to which the l
libvirt.go:734
↓ 1 callersFunctionStartEnum
--------------------------------------------------------------------------- Routines called by the parser's actions. ---------------------------------
internal/lvgen/generate.go:604
↓ 1 callersFunctionStartStruct
StartStruct is called from the parser when a struct definition is found, but before the member declarations are processed.
internal/lvgen/generate.go:742
↓ 1 callersFunctionStartTypedef
StartTypedef is called when the parser finds a typedef.
internal/lvgen/generate.go:756
↓ 1 callersFunctionStartUnion
StartUnion is called by the parser when it finds a union declaraion.
internal/lvgen/generate.go:761
← previousnext →101–200 of 1,030, ranked by callers