MCPcopy Create free account

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

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

↓ 1 callersMethodStoragePoolLookupByName
StoragePoolLookupByName is the go wrapper for REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_NAME.
remote_protocol.gen.go:6862
↓ 1 callersMethodStorageVolCreateXML
StorageVolCreateXML is the go wrapper for REMOTE_PROC_STORAGE_VOL_CREATE_XML.
remote_protocol.gen.go:7166
↓ 1 callersMethodStorageVolDelete
StorageVolDelete is the go wrapper for REMOTE_PROC_STORAGE_VOL_DELETE.
remote_protocol.gen.go:7201
↓ 1 callersMethodStorageVolDownload
StorageVolDownload is the go wrapper for REMOTE_PROC_STORAGE_VOL_DOWNLOAD.
remote_protocol.gen.go:10613
↓ 1 callersMethodStorageVolUpload
StorageVolUpload is the go wrapper for REMOTE_PROC_STORAGE_VOL_UPLOAD.
remote_protocol.gen.go:10588
↓ 1 callersMethodString
()
const_strings.gen.go:1311
↓ 1 callersMethodString
String will display lexer items for humans to debug. There are some calculations here due to the way goyacc arranges token values; see the generated f
internal/lvgen/lvlexer.go:71
↓ 1 callersMethodSubscribeQEMUEvents
SubscribeQEMUEvents streams domain events until the provided context is cancelled. If a problem is encountered setting up the event monitor connection
libvirt.go:392
↓ 1 callersFunctionTstEncode
TstEncode creates a new Encoder to the passed writer and returns the internal encode function on the Encoder.
internal/go-xdr/xdr2/internal_test.go:33
↓ 1 callersMethodUndefine
Undefine undefines the domain specified by dom, e.g., 'prod-lb-01'. The flags argument allows additional options to be specified such as cleaning up s
libvirt.go:605
↓ 1 callersFunctionUseKeyFile
UseKeyFile uses a custom key file
socket/dialers/gossh.go:100
↓ 1 callersFunctionUsePKIPath
UsePKIPath sets the search path for TLS certificate files.
socket/dialers/tls.go:56
↓ 1 callersFunctionUseSSHPassword
UseSSHPassword uses the given password for the ssh connection.
socket/dialers/gossh.go:61
↓ 1 callersFunctionUseSSHPort
UseSSHPort uses the given port for the ssh connection.
socket/dialers/gossh.go:70
↓ 1 callersFunctionUseSSHUsername
UseSSHUsername uses the given username for the ssh connection.
socket/dialers/gossh.go:52
↓ 1 callersFunctionUseTLSPort
UseTLSPort sets the port to dial for libirt on the target host server.
socket/dialers/tls.go:49
↓ 1 callersMethodVersion
Version returns the version of the libvirt daemon. Deprecated: use ConnectGetLibVersion instead.
libvirt.go:654
↓ 1 callersFunctionWithAcceptUnknownHostKey
WithAcceptUnknownHostKey ignores the validity of the host certificate.
socket/dialers/gossh.go:79
↓ 1 callersFunctionWithInsecureNoVerify
WithInsecureNoVerify ignores the validity of the server certificate.
socket/dialers/tls.go:42
↓ 1 callersFunctionWithRemoteSocket
WithRemoteSocket uses a custom remote socket
socket/dialers/gossh.go:114
↓ 1 callersFunctionWithRemoteTimeout
WithRemoteTimeout sets the dial timeout.
socket/dialers/remote.go:26
↓ 1 callersFunctionWithSSHAuthMethods
WithSSHAuthMethods uses the specified auth methods in priority order.
socket/dialers/gossh.go:107
↓ 1 callersFunctionWithSocket
WithSocket sets the path to the local libvirt socket.
socket/dialers/local.go:33
↓ 1 callersFunctionWithSystemSSHDefaults
WithSystemSSHDefaults uses default values for the system ssh client, rather than the defaults that libvirtclient uses with libssh.
socket/dialers/gossh.go:122
↓ 1 callersMethodXML
XML returns a domain's raw XML definition, akin to `virsh dumpxml <domain>`. See DomainXMLFlag* for optional flags. Deprecated: use DomainGetXMLDesc
libvirt.go:633
↓ 1 callersMethodacceptRun
acceptRun advances over a number of valid runes, stopping as soon as it hits one not on the list.
internal/lvgen/lvlexer.go:196
↓ 1 callersFunctionaddBidirectionalProcs
addBidirectionalProcs adds bidirectional variants of each RPC call mentioned in bidirectionalStreamProcs.
internal/lvgen/generate.go:584
↓ 1 callersMethodauthMethods
(s *SSH)
socket/dialers/gossh.go:248
↓ 1 callersMethodauthenticate
called at connection time, authenticating with all supported auth types
libvirt.go:229
↓ 1 callersMethodcaCerts
(optional bool)
socket/dialers/tls.go:125
↓ 1 callersMethodcallback
callback sends RPC responses to respective callers.
rpc.go:75
↓ 1 callersFunctionchangeFlagType
changeFlagType looks up the go type for a libvirt call's flags field. In C these flags are all uint32, and you have to consult the documentation to de
internal/lvgen/generate.go:559
↓ 1 callersFunctioncheckError
checkError is used to check whether an error is a libvirtError, and if it is, whether its error code matches the one passed in. It will return false i
rpc.go:58
↓ 1 callersFunctioncheckIdentifier
checkIdentifier determines whether an identifier is in our translation list. If so it returns the translated name. This is used to massage the type na
internal/lvgen/generate.go:874
↓ 1 callersMethodclientCert
()
socket/dialers/tls.go:98
↓ 1 callersMethodconfig
()
socket/dialers/tls.go:141
↓ 1 callersMethodconfig
()
socket/dialers/gossh.go:320
↓ 1 callersMethoddecodeInterface
decodeInterface examines the interface represented by the passed reflection value to detect whether it is an interface that can be decoded into and if
internal/go-xdr/xdr2/decode.go:635
↓ 1 callersMethoddecodeMap
RFC Section 4.15 - Discriminated Union RFC Section 4.16 - Void RFC Section 4.17 - Constant RFC Section 4.18 - Typedef RFC Section 4.19 - Optional data
internal/go-xdr/xdr2/decode.go:593
↓ 1 callersMethoddecodeStruct
decodeStruct treats the next bytes as a series of XDR encoded elements of the same type as the exported fields of the struct represented by the passed
internal/go-xdr/xdr2/decode.go:517
↓ 1 callersMethoddecodeTypedParamValue
decodeTypedParamValue decodes the Value part of a TypedParam.
rpc.go:436
↓ 1 callersFunctiondefaultSSHKeyFile
()
socket/dialers/gossh.go:128
↓ 1 callersFunctiondefaultSSHKnownHostsFile
()
socket/dialers/gossh.go:149
↓ 1 callersFunctiondialerForURI
(uri *url.URL)
connect_uri.go:48
↓ 1 callersMethodencodeInterface
encodeInterface examines the interface represented by the passed reflection value to detect whether it is an interface that can be encoded if it is, e
internal/go-xdr/xdr2/encode.go:534
↓ 1 callersMethodencodeMap
RFC Section 4.15 - Discriminated Union RFC Section 4.16 - Void RFC Section 4.17 - Constant RFC Section 4.18 - Typedef RFC Section 4.19 - Optional data
internal/go-xdr/xdr2/encode.go:502
↓ 1 callersMethodencodeStruct
encodeStruct writes an XDR encoded representation of each value in the exported fields of the struct represented by the passed reflection value to the
internal/go-xdr/xdr2/encode.go:441
↓ 1 callersFunctioneventFromProcedureID
(procID uint32)
rpc.go:116
↓ 1 callersFunctionfindFlagType
findFlagType attempts to find a real type for the flags passed to a given libvirt routine.
internal/lvgen/generate.go:525
↓ 1 callersFunctiongenGo
genGo is called when the parsing is done; it generates the golang output files using templates.
internal/lvgen/generate.go:279
↓ 1 callersFunctiongetQEMUError
getQEMUError checks the provided response for QEMU process errors. If an error is found, it is extracted an returned, otherwise nil.
libvirt.go:788
↓ 1 callersMethodhandle
(conn net.Conn)
libvirttest/libvirt.go:620
↓ 1 callersMethodhandleQEMU
(procedure uint32, conn net.Conn)
libvirttest/libvirt.go:699
↓ 1 callersMethodhandleRemote
(procedure uint32, conn net.Conn)
libvirttest/libvirt.go:644
↓ 1 callersMethodinitLibvirtComms
(uri ConnectURI)
libvirt.go:253
↓ 1 callersFunctionisTemporary
isTemporary returns true if the error returned from a read is transient. If the error type is an OpError, check whether the net connection error condi
socket/socket.go:253
↓ 1 callersMethodkeyword
keyword checks whether the current lexeme is a keyword or not. If so it returns the keyword's token id, otherwise it returns IDENTIFIER.
internal/lvgen/lvlexer.go:217
↓ 1 callersFunctionlisten
listen processes incoming data and routes responses to their respective callback handler.
socket/socket.go:213
↓ 1 callersMethodlistenAndRoute
listenAndRoute reads packets from the Socket and calls the provided Router function to route them
socket/socket.go:202
↓ 1 callersFunctionmapFlagTypes
mapFlagTypes builds a map of the C types which appear to correspond to the various flags fields in libvirt calls. Determining whether a type actually
internal/lvgen/generate.go:451
↓ 1 callersFunctionnewGenerator
()
internal/lvgen/generate.go:66
↓ 1 callersMethodoneRuneToken
oneRuneToken determines whether a rune is a token. If so it returns the token id and true, otherwise it returns false.
internal/lvgen/lvlexer.go:231
↓ 1 callersFunctionparseMeta
parseMeta parses procedure metadata to simple string mapping
internal/lvgen/generate.go:706
↓ 1 callersMethodpeek
()
internal/lvgen/generate.go:215
↓ 1 callersMethodpop
()
internal/lvgen/generate.go:207
↓ 1 callersFunctionprocIdent
procIdent checks whether an identifier matches the pattern for a procedure enum.
internal/lvgen/lvlexer.go:204
↓ 1 callersFunctionprocLink
procLink associates a libvirt procedure with the types that are its arguments and return values, filling out those fields in the procedure struct. The
internal/lvgen/generate.go:420
↓ 1 callersFunctionprocNameTransform
procNameTransform returns a Go name for a remote procedure.
internal/lvgen/generate.go:310
↓ 1 callersFunctionprocProgramName
procProgramName returns the program associated with a remote procedure. Procedure names follow the pattern, "<PROGRAM>_PROC_<PROCEDURE>". This returns
internal/lvgen/generate.go:320
↓ 1 callersMethodprocess
process manages an Stream's lifecycle until canceled by the provided context. Incoming events are appended to a queue which is then relayed to the lis
internal/event/stream.go:113
↓ 1 callersFunctionprocessProto
(lvFile string)
internal/lvgen/gen/main.go:49
↓ 1 callersFunctionpublicize
(name string)
internal/lvgen/generate.go:350
↓ 1 callersMethodpush
(st *Structure)
internal/lvgen/generate.go:204
↓ 1 callersMethodstart
start starts the event processing loop, which will continue to run until terminated by the returned context.CancelFunc.
internal/event/stream.go:100
↓ 1 callersFunctiontypeTransform
(name string)
internal/lvgen/generate.go:343
↓ 1 callersMethodunsubscribeQEMUEvents
unsubscribeQEMUEvents stops the flow of events from QEMU through libvirt.
libvirt.go:430
↓ 1 callersMethodwaitAndDisconnect
()
libvirt.go:809
↓ 1 callersFunctionyyErrorMessage
(state, lookAhead int)
internal/lvgen/y.go:319
MethodAuthSaslInit
AuthSaslInit is the go wrapper for REMOTE_PROC_AUTH_SASL_INIT.
remote_protocol.gen.go:6372
MethodAuthSaslStart
AuthSaslStart is the go wrapper for REMOTE_PROC_AUTH_SASL_START.
remote_protocol.gen.go:6396
MethodAuthSaslStep
AuthSaslStep is the go wrapper for REMOTE_PROC_AUTH_SASL_STEP.
remote_protocol.gen.go:6441
FunctionBenchmarkMarshal
BenchmarkMarshal benchmarks the Marshal function by using a dummy ImageHeader structure.
internal/go-xdr/xdr2/bench_test.go:57
FunctionBenchmarkUnmarshal
BenchmarkUnmarshal benchmarks the Unmarshal function by using a dummy ImageHeader structure.
internal/go-xdr/xdr2/bench_test.go:29
MethodConnect
Connect uses the dialer provided on creation to establish underlying physical connection to the desired libvirt.
socket/socket.go:134
MethodConnectBaselineCPU
ConnectBaselineCPU is the go wrapper for REMOTE_PROC_CONNECT_BASELINE_CPU.
remote_protocol.gen.go:9269
MethodConnectBaselineHypervisorCPU
ConnectBaselineHypervisorCPU is the go wrapper for REMOTE_PROC_CONNECT_BASELINE_HYPERVISOR_CPU.
remote_protocol.gen.go:15660
MethodConnectClose
ConnectClose is the go wrapper for REMOTE_PROC_CONNECT_CLOSE.
remote_protocol.gen.go:4432
MethodConnectCompareCPU
ConnectCompareCPU is the go wrapper for REMOTE_PROC_CONNECT_COMPARE_CPU.
remote_protocol.gen.go:9152
MethodConnectCompareHypervisorCPU
ConnectCompareHypervisorCPU is the go wrapper for REMOTE_PROC_CONNECT_COMPARE_HYPERVISOR_CPU.
remote_protocol.gen.go:15622
MethodConnectDomainEventDeregister
ConnectDomainEventDeregister is the go wrapper for REMOTE_PROC_CONNECT_DOMAIN_EVENT_DEREGISTER.
remote_protocol.gen.go:7589
MethodConnectDomainEventDeregisterAny
ConnectDomainEventDeregisterAny is the go wrapper for REMOTE_PROC_CONNECT_DOMAIN_EVENT_DEREGISTER_ANY.
remote_protocol.gen.go:9482
MethodConnectDomainEventRegister
ConnectDomainEventRegister is the go wrapper for REMOTE_PROC_CONNECT_DOMAIN_EVENT_REGISTER.
remote_protocol.gen.go:7565
MethodConnectDomainEventRegisterAny
ConnectDomainEventRegisterAny is the go wrapper for REMOTE_PROC_CONNECT_DOMAIN_EVENT_REGISTER_ANY.
remote_protocol.gen.go:9460
MethodConnectDomainXMLFromNative
ConnectDomainXMLFromNative is the go wrapper for REMOTE_PROC_CONNECT_DOMAIN_XML_FROM_NATIVE.
remote_protocol.gen.go:8449
MethodConnectDomainXMLToNative
ConnectDomainXMLToNative is the go wrapper for REMOTE_PROC_CONNECT_DOMAIN_XML_TO_NATIVE.
remote_protocol.gen.go:8484
MethodConnectEventConnectionClosed
ConnectEventConnectionClosed is the go wrapper for REMOTE_PROC_CONNECT_EVENT_CONNECTION_CLOSED.
remote_protocol.gen.go:14903
MethodConnectFindStoragePoolSources
ConnectFindStoragePoolSources is the go wrapper for REMOTE_PROC_CONNECT_FIND_STORAGE_POOL_SOURCES.
remote_protocol.gen.go:6623
MethodConnectGetCPUModelNames
ConnectGetCPUModelNames is the go wrapper for REMOTE_PROC_CONNECT_GET_CPU_MODEL_NAMES.
remote_protocol.gen.go:13764
MethodConnectGetDomainCapabilities
ConnectGetDomainCapabilities is the go wrapper for REMOTE_PROC_CONNECT_GET_DOMAIN_CAPABILITIES.
remote_protocol.gen.go:14386
MethodConnectGetHostname
ConnectGetHostname is the go wrapper for REMOTE_PROC_CONNECT_GET_HOSTNAME.
remote_protocol.gen.go:6064
← previousnext →201–300 of 1,030, ranked by callers