Top 0.5% dependent packages on proxy.golang.org
Top 0.4% dependent repos on proxy.golang.org
Top 3.0% forks on proxy.golang.org
Top 1.1% docker downloads on proxy.golang.org
proxy.golang.org : github.com/libvirt/libvirt-go
Package libvirt provides a Go binding to the libvirt C library Through conditional compilation it supports libvirt versions 1.2.0 onwards. This is done automatically, with no requirement to use magic Go build tags. If an API was not available in the particular version of libvirt this package was built against, an error will be returned with a code of ERR_NO_SUPPORT. This is the same code seen if using a new libvirt library to talk to an old libvirtd lacking the API, or if a hypervisor does not support a given feature, so an application can easily handle all scenarios together. The Go binding is a fairly direct mapping of the underling C API which seeks to maximise the use of the Go type system to allow strong compiler type checking. The following rules describe how APIs/constants are mapped from C to Go For structs, the 'vir' prefix and 'Ptr' suffix are removed from the name. e.g. virConnectPtr in C becomes 'Connect' in Go. For structs which are reference counted at the C level, it is neccessary to explicitly release the reference at the Go level. e.g. if a Go method returns a '* Domain' struct, it is neccessary to call 'Free' on this when no longer required. The use of 'defer' is recommended for this purpose If multiple goroutines are using the same libvirt object struct, it may not be possible to determine which goroutine should call 'Free'. In such scenarios each new goroutine should call 'Ref' to obtain a private reference on the underlying C struct. All goroutines can call 'Free' unconditionally with the final one causing the release of the C object. For methods, the 'vir' prefix and object name prefix are remove from the name. The C functions become methods with an object receiver. e.g. 'virDomainScreenshot' in C becomes 'Screenshot' with a 'Domain *' receiver. For methods which accept a 'unsigned int flags' parameter in the C level, the corresponding Go parameter will be a named type corresponding to the C enum that defines the valid flags. For example, the ListAllDomains method takes a 'flags ConnectListAllDomainsFlags' parameter. If there are not currently any flags defined for a method in the C API, then the Go method parameter will be declared as a "flags uint32". Callers should always pass the literal integer value 0 for such parameters, without forcing any specific type. This will allow compatibility with future updates to the libvirt-go binding which may replace the 'uint32' type with a enum type at a later date. For enums, the VIR_ prefix is removed from the name. The enums get a dedicated type defined in Go. e.g. the VIR_NODE_SUSPEND_TARGET_MEM enum constant in C, becomes NODE_SUSPEND_TARGET_MEM with a type of NodeSuspendTarget. Methods accepting or returning virTypedParameter arrays in C will map the parameters into a Go struct. The struct will contain two fields for each possible parameter. One boolean field with a suffix of 'Set' indicates whether the parameter has a value set, and the other custom typed field provides the parameter value. This makes it possible to distinguish a parameter with a default value of '0' from a parameter which is 0 because it isn't supported by the hypervisor. If the C API defines additional typed parameters, then the corresponding Go struct will be extended to have further fields. e.g. the GetMemoryStats method in Go (which is backed by virNodeGetMemoryStats in C) will return a NodeMemoryStats struct containing the typed parameter values. Every method that can fail will include an 'error' object as the last return value. This will be an instance of the Error struct if an error occurred. To check for specific libvirt error codes, it is neccessary to cast the error. To connect to libvirt
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/libvirt/libvirt-go
License: MIT
Latest release: almost 4 years ago
First release: over 2 years ago
Namespace: github.com/libvirt
Dependent packages: 97
Dependent repositories: 338
Stars: 328 on GitHub
Forks: 71 on GitHub
Docker dependents: 8
Docker downloads: 1,943
See more repository details: repos.ecosyste.ms
Last synced: about 19 hours ago
gitlab.com/mergetb/tech/raven v1.1.2
Ry's Apparatus for Virtual Encodable Networks.12 versions - Latest release: about 1 year ago - 1 dependent package - 4 dependent repositories - 5 stars on GitLab.com
gitlab.com/rygoo/raven v1.1.2
Ry's Apparatus for Virtual Encodable Networks.12 versions - Latest release: about 1 year ago - 5 stars on GitLab.com
github.com/purpleidea/mgmt v0.0.0-20240125014917-7777107d83ff 💰
Package main provides the main entrypoint for using the `mgmt` software.50 versions - Latest release: over 1 year ago - 1 dependent repositories - 3,105 stars on GitHub
github.com/lnsp/sox v0.0.0-20230930135929-89dc3a7ccebd
experimental virtual machine manager1 version - Latest release: over 1 year ago - 1 stars on GitHub
github.com/easysoft/zagent v0.0.0-20230919085028-5746aceb8329
15 versions - Latest release: over 1 year agogithub.com/openshift/ARO-Installer v0.0.0-20230720142401-0a5b8f69a989
Installer wrapper for Azure Red Hat OpenShift1 version - Latest release: almost 2 years ago - 3 stars on GitHub
github.com/danielerez/openshift-appliance v0.0.0-20230509083334-bd484e7e1496
14 versions - Latest release: about 2 years agogithub.com/eust-w/govirsh v0.0.0-20230213055807-9af7efa709ca
1 version - Latest release: about 2 years ago - 1 dependent package - 3 stars on GitHubgithub.com/eust-w/qcow2file v0.0.0-20230203074931-195af7ff6b6e
Copyright © 2023 NAME HERE <EMAIL ADDRESS>1 version - Latest release: over 2 years ago - 3 stars on GitHub
github.com/hamster-shared/hamster-provider v1.3.3
Copyright © 2021 NAME HERE <EMAIL ADDRESS> Licensed under the Apache License, Version 2.0 (the "...7 versions - Latest release: over 2 years ago - 3 stars on GitHub
github.com/code-ready/machine-driver-libvirt v0.0.0-20220803080949-765f0b66ccbe
Machine driver to interact wth KVM using libvirt for use with CodeReady Containers1 version - Latest release: almost 3 years ago - 2 stars on
github.com/ChristianHering/Aucht v0.0.0-20220417032713-eb50da00f9dc
A program that lets you easily switch between virtual machines on a headless host.1 version - Latest release: about 3 years ago - 2 stars on GitHub
github.com/projecteru2/yavirt v0.0.1
Yet another virtualization runtime, make Virtual Machine greate again!1 version - Latest release: about 3 years ago - 24 stars on GitHub
github.com/xuanguan2020/test2022 v1.25.1
129 versions - Latest release: over 3 years agogithub.com/randomcoww/terraform-provider-libvirt v0.1.10
11 versions - Latest release: over 3 years ago - 0 stars on GitHubgithub.com/annavilner/kube v1.24.0
127 versions - Latest release: over 3 years ago - 0 stars on GitHubgithub.com/danieldin95/lightstars v0.9.3
Makes it easier for you to control virtual resource.12 versions - Latest release: over 3 years ago - 14 stars on GitHub
github.com/danieldin95/lightstar v0.9.3
12 versions - Latest release: over 3 years agogithub.com/aliyuncontainerservice/minikube v1.23.2
普大喜奔,官方Minikube提供了完整对国内用户支持,完美支持Addon组件。 建议参考 https://yq.aliyun.com/articles/221687 或 https://git...125 versions - Latest release: over 3 years ago - 1,247 stars on GitHub
github.com/AliyunContainerService/minikube v1.23.2
普大喜奔,官方Minikube提供了完整对国内用户支持,完美支持Addon组件。 建议参考 https://yq.aliyun.com/articles/221687 或 https://git...125 versions - Latest release: over 3 years ago - 1,247 stars on GitHub
github.com/sri09kanth/minikube v1.23.2
125 versions - Latest release: over 3 years ago - 0 stars on GitHubgithub.com/dbo-kt69/minikube v1.23.2
125 versions - Latest release: over 3 years agogithub.com/andfasano/tiny-sushy-tools v0.0.0-20210907125137-e976b7e2b69d
1 version - Latest release: over 3 years ago - 1 dependent repositories - 0 stars on GitHubgithub.com/skydive-project/skydive v0.28.0 💰
An open source real-time network topology and protocols analyzer30 versions - Latest release: over 3 years ago - 2 dependent packages - 2 dependent repositories - 2,394 stars on GitHub
github.com/datadope-io/skydive v0.28.0 💰
An open source real-time network topology and protocols analyzer30 versions - Latest release: over 3 years ago - 1 stars on GitHub
github.west.area.dronemortage.com/skydive-project/skydive v0.28.0
30 versions - Latest release: over 3 years agog.1okk.com/skydive-project/skydive v0.28.0
30 versions - Latest release: over 3 years agoapi.mtr.pub/skydive-project/skydive v0.28.0
30 versions - Latest release: over 3 years agogithub.com/stardom3645/netdive v0.28.0
30 versions - Latest release: over 3 years ago - 0 stars on GitHuba1.zhujicn2.com/skydive-project/skydive v0.28.0
30 versions - Latest release: over 3 years agogithub.hk.lzdr.cc/skydive-project/skydive v0.28.0
30 versions - Latest release: over 3 years agoa1.trump2023.org/skydive-project/skydive v0.28.0
30 versions - Latest release: over 3 years agousa001.o2oyc.com/skydive-project/skydive v0.28.0
30 versions - Latest release: over 3 years agogithub.ipip.icu/skydive-project/skydive v0.28.0
30 versions - Latest release: over 3 years agogithub.mirrors.linesrc.tk/skydive-project/skydive v0.28.0
30 versions - Latest release: over 3 years agowww.commemorateforus.life/skydive-project/skydive v0.28.0
30 versions - Latest release: over 3 years agogithub.skymusic.top/skydive-project/skydive v0.28.0
30 versions - Latest release: over 3 years agogithub.mirror.nvdadr.com/skydive-project/skydive v0.28.0
30 versions - Latest release: over 3 years agogit.word.wordxiao.com/skydive-project/skydive v0.28.0
30 versions - Latest release: over 3 years agospringautum.work/skydive-project/skydive v0.28.0
30 versions - Latest release: over 3 years agogit.hackdevbros.com/skydive-project/skydive v0.28.0
30 versions - Latest release: over 3 years agogithub.hscsec.cn/skydive-project/skydive v0.28.0
30 versions - Latest release: over 3 years agogithub.1git.de/skydive-project/skydive v0.28.0
30 versions - Latest release: over 3 years agogithub.phpd.cn/skydive-project/skydive v0.28.0
30 versions - Latest release: over 3 years agogithub.xiaoq7.com/skydive-project/skydive v0.28.0
30 versions - Latest release: over 3 years agogit.callpipe.com/entanglement.garden/rhyzome v0.0.0-20210806075635-7ca99a0e7f38
1 version - Latest release: almost 4 years agogithub.com/priyosan/k8s-minikube v1.22.0
122 versions - Latest release: almost 4 years ago - 0 stars on GitHubgithub.com/balasu/minikube v1.22.0
Run Kubernetes locally122 versions - Latest release: almost 4 years ago - 0 stars on GitHub
github.com/Thanonchai/ARO-RP v0.0.0-20210702031935-823d357376c6
1 version - Latest release: almost 4 years agogithub.com/shiftstack/installer v1.48.0
Install an OpenShift cluster25 versions - Latest release: about 4 years ago - 1 stars on GitHub
github.com/lmercl/libvirt_exporter_improved v0.0.0-20210222170645-00ab7639b132
Prometheus metrics exporter for libvirt.1 version - Latest release: about 4 years ago - 0 stars on GitHub
github.com/bykvaadm/libvirt_exporter_improved v0.0.0-20201217142206-ad30d650e0d3
Prometheus metrics exporter for libvirt.1 version - Latest release: over 4 years ago - 5 stars on GitHub
github.com/lh7794/skydive-test v0.27.0
29 versions - Latest release: over 4 years ago - 0 stars on GitHubgithub.com/Prashanth684/terraform-provider-libvirt v1.0.0
12 versions - Latest release: over 4 years agogithub.com/prashanth684/terraform-provider-libvirt v1.0.0
12 versions - Latest release: over 4 years agogithub.com/sadlil/minikube v1.14.2
Run Kubernetes locally105 versions - Latest release: over 4 years ago - 2 stars on GitHub
github.com/tormath1/virtcurse v0.0.0-20201019204356-54690b201dde
manage your hypervisor from a curses interface using Libvirt APIs1 version - Latest release: over 4 years ago - 1 stars on GitHub
opendev.org/vexxhost/libvirtd_exporter v0.0.0-20200813222309-4c96215c7913
libvirtd exporter for Prometheus1 version - Latest release: over 4 years ago - 0 stars on opendev.org
github.com/sahu4sumanta/minikube v1.12.3
99 versions - Latest release: almost 5 years ago - 0 stars on GitHubgithub.com/senthilkveeranan/minikube-lab v1.12.1
97 versions - Latest release: almost 5 years ago - 0 stars on GitHubgithub.com/kumina/libvirt_exporter v0.2.0
Prometheus metrics exporter for libvirt.1 version - Latest release: almost 5 years ago - 125 stars on GitHub
github.com/subuk/vmango v0.12.1
Your own personal IaaS cloud16 versions - Latest release: almost 5 years ago - 303 stars on GitHub
e.coding.net/secpros/kn0w/cell v0.0.0-20200623024059-20811bb25de2
1 version - Latest release: almost 5 years agogithub.com/rumanzo/libvirt_exporter_improved v0.0.0-20200622181753-d6f19e984991
Prometheus metrics exporter for libvirt.1 version - Latest release: almost 5 years ago - 10 stars on GitHub
e.coding.net/secpros/cell v0.0.0-20200622071731-c36c63d3b2ae
1 version - Latest release: almost 5 years agogithub.com/yanlingqiankun/Executor v0.0.0-20200605040858-250839a770dc
1 version - Latest release: almost 5 years ago - 1 dependent repositories - 2 stars on GitHubgithub.com/kinvolk/minikube v1.11.0
Run Kubernetes locally94 versions - Latest release: almost 5 years ago - 0 stars on GitHub
github.com/mrturkmen06/vmregistry v0.0.0-20200514134951-4e88557f9ece
1 version - Latest release: almost 5 years agogithub.com/vsknalli/minikube v1.9.2
87 versions - Latest release: about 5 years ago - 0 stars on GitHubgithub.com/regulskimichal/minikube v1.9.2
Run Kubernetes locally87 versions - Latest release: about 5 years ago - 0 stars on GitHub
github.com/jmarhee/terraform-provider-libvirt v0.6.2
1 version - Latest release: about 5 years agogithub.com/GuillemCastro/packer-post-processor-libvirt v0.0.0-20200302204808-7dcba5319120
A Packer post-processor that automatically imports your built image to your preferred virtualizat...1 version - Latest release: about 5 years ago - 0 stars on GitHub
github.com/subpop/vm v0.1.1
a command line utility that provides a high-level interface to create and manage virtual machines1 version - Latest release: over 5 years ago - 5 stars on GitHub
github.com/neptune-networks/libvirt-exporter v0.3.4 removed
1 version - Latest release: over 5 years agogithub.com/bitflow-stream/go-bitflow-collector v0.0.10
Tool for collecting time series on the local machine from various sources, most notably psutil an...10 versions - Latest release: over 5 years ago - 8 stars on GitHub
github.com/fotcorn/go-kvm-web/backend v0.0.0-20200108113435-37a82576fc6e
1 version - Latest release: over 5 years agogithub.com/doc22940/kubevirt v0.23.0
* This file is part of the KubeVirt project * * Licensed under the Apache License, Version 2.0 (t...108 versions - Latest release: over 5 years ago - 0 stars on GitHub
github.com/muroj/terraform-provider-libvirt v0.6.0
Terraform provider to provision infrastructure with Linux's KVM using libvirt8 versions - Latest release: over 5 years ago - 0 stars on GitHub
github.com/HanseMerkur/terraform-provider-libvirt v0.6.0
Terraform provider to provision infrastructure with Linux's KVM using libvirt10 versions - Latest release: over 5 years ago - 0 stars on GitHub
github.com/hansemerkur/terraform-provider-libvirt v0.6.0
Terraform provider to provision infrastructure with Linux's KVM using libvirt10 versions - Latest release: over 5 years ago - 0 stars on GitHub
github.com/lorbuschris/terraform-provider-libvirt v0.6.0
8 versions - Latest release: over 5 years agogithub.com/kimcharli/terraform-provider-libvirt v0.6.0
Terraform provider to provision infrastructure with Linux's KVM using libvirt8 versions - Latest release: over 5 years ago - 0 stars on GitHub
github.com/LorbusChris/terraform-provider-libvirt v0.6.0
8 versions - Latest release: over 5 years agogithub.com/nagu2k15/minikube1 v1.4.0
63 versions - Latest release: over 5 years ago - 0 stars on GitHubgithub.com/mrudhularani/kotakoda_k8s_minikube v1.4.0
63 versions - Latest release: over 5 years ago - 0 stars on GitHubgithub.com/joroec/virsnap v0.0.0-20190810102918-8c7d5b146136
A CLI snapshot utility for libvirt1 version - Latest release: almost 6 years ago - 8 stars on GitHub
github.com/pparihar/kubernetes v1.2.0
https://github.com/kubernetes/minikube.git57 versions - Latest release: almost 6 years ago - 0 stars on GitHub
github.com/mrpawel1/minicube v1.2.0
minicube57 versions - Latest release: almost 6 years ago - 1 stars on GitHub
github.com/jgensler8/terraform-provider-minikube v0.5.0
Run Minikube From Terraform5 versions - Latest release: about 6 years ago - 12 stars on GitHub
github.com/xetys/go-bitflow-collector v0.0.2
Tool for collecting time series on the local machine from various sources, most notably psutil an...2 versions - Latest release: over 6 years ago - 0 stars on GitHub
Check this option to include packages that no longer depend on this package in their latest version but previously did.