Ecosyste.ms: Repos

An open API service providing repository metadata for many open source software ecosystems.

Package Usage: go: github.com/ovirt/go-ovirt-client

Package ovirtclient provides a human-friendly Go client for the oVirt Engine. It provides an abstraction layer for the oVirt API, as well as a mocking facility for testing purposes. This documentation contains two parts. This introduction explains setting up the client with the credentials. The API doc contains the individual API calls. When reading the API doc, start with the Client interface: it contains all components of the API. The individual API's, their documentation and examples are located in subinterfaces, such as DiskClient. There are several ways to create a client instance. The most basic way is to use the New() function as follows: The mock client simulates the oVirt engine behavior in-memory without needing an actual running engine. This is a good way to provide a testing facility. It can be created using the NewMock method: That's it! However, to make it really useful, you will need the test helper which can set up test fixtures. The test helper can work in two ways: Either it sets up test fixtures in the mock client, or it sets up a live connection and identifies a usable storage domain, cluster, etc. for testing purposes. The ovirtclient.NewMockTestHelper() function can be used to create a test helper with a mock client in the backend: The easiest way to set up the test helper for a live connection is by using environment variables. To do that, you can use the ovirtclient.NewLiveTestHelperFromEnv() function: This function will inspect environment variables to determine if a connection to a live oVirt engine can be established. The following environment variables are supported: URL of the oVirt engine API. Mandatory. The username for the oVirt engine. Mandatory. The password for the oVirt engine. Mandatory. A file containing the CA certificate in PEM format. Provide the CA certificate in PEM format directly. Disable certificate verification if set. Not recommended. The cluster to use for testing. Will be automatically chosen if not provided. ID of the blank template. Will be automatically chosen if not provided. Storage domain to use for testing. Will be automatically chosen if not provided. VNIC profile to use for testing. Will be automatically chosen if not provided. You can also create the test helper manually: This library provides extensive logging. Each API interaction is logged on the debug level, and other messages are added on other levels. In order to provide logging this library uses the go-ovirt-client-log (https://github.com/oVirt/go-ovirt-client-log) interface definition. As long as your logger implements this interface, you will be able to receive log messages. The logging library also provides a few built-in loggers. For example, you can log via the default Go log interface: Or, you can also log in tests: You can also disable logging: Finally, we also provide an adapter library for klog here: https://github.com/oVirt/go-ovirt-client-log-klog Modern-day oVirt engines run secured with TLS. This means that the client needs a way to verify the certificate the server is presenting. This is controlled by the tls parameter of the New() function. You can implement your own source by implementing the TLSProvider interface, but the package also includes a ready-to-use provider. Create the provider using the TLS() function: This provider has several functions. The easiest to set up is using the system trust root for certificates. However, this won't work own Windows: Now you need to add your oVirt engine certificate to your system trust root. If you don't want to, or can't add the certificate to the system trust root, you can also directly provide it to the client. Finally, you can also disable certificate verification. Do we need to say that this is a very, very bad idea? The configured tls variable can then be passed to the New() function to create an oVirt client. This library attempts to retry API calls that can be retried if possible. Each function has a sensible retry policy. However, you may want to customize the retries by passing one or more retry flags. The following retry flags are supported: This strategy will stop retries when the context parameter is canceled. This strategy adds a wait time after each time, which is increased by the given factor on each try. The default is a backoff with a factor of 2. This strategy will cancel retries if the error in question is a permanent error. This is enabled by default. This strategy will abort retries if a maximum number of tries is reached. On complex calls the retries are counted per underlying API call. This strategy will abort retries if a certain time has been elapsed for the higher level call. This strategy will abort retries if a certain underlying API call takes longer than the specified duration.
27 versions
Latest release: almost 2 years ago
8 dependent packages

View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/ovirt/go-ovirt-client

View more repository details: https://repos.ecosyste.ms/hosts/GitHub/repositories/oVirt%2Fgo-ovirt-client

Dependent Repos 62

rccrdpccl/assisted-service Fork of openshift/assisted-service
  • v0.9.0 go.mod
  • v0.9.0 go.sum

Size: 94.9 MB - Last synced: about 1 month ago - Pushed: about 2 months ago

openshift/assisted-installer
  • v0.9.0 go.sum

Size: 21.7 MB - Last synced: 6 days ago - Pushed: 6 days ago

oVirt/terraform-provider-ovirt
Terraform provider for oVirt 4.x
  • v1.0.1 go.mod
  • v1.0.1 go.sum

Size: 9.4 MB - Last synced: 29 days ago - Pushed: 10 months ago

harvester/docker-machine-driver-harvester
  • v0.6.0 go.sum

Size: 5.15 MB - Last synced: about 2 months ago - Pushed: about 2 months ago

harvester/terraform-provider-harvester
Terraform Harvester provider
  • v0.6.0 go.sum

Size: 439 KB - Last synced: about 2 months ago - Pushed: about 2 months ago

oVirt/k8sOVirtCredentialsMonitor 📦
Monitor k8s secrets and update the oVirt connection
  • v0.7.2-0.20211125105627-fccb94e139ab go.mod
  • v0.7.2-0.20211125105627-fccb94e139ab go.sum

Size: 55.7 KB - Last synced: about 1 month ago - Pushed: over 1 year ago

alicefr/kubevirt-test-vm
Setup to deploy containerized test in containers and KubeVirt VMs
  • v0.6.0 go.sum

Size: 9.43 MB - Last synced: about 1 month ago - Pushed: over 1 year ago

openshift-agent-team/fleeting 📦
  • v0.7.1 go.sum

Size: 216 KB - Last synced: 11 months ago - Pushed: about 2 years ago

EdgeCloudX/kubevirt Fork of kubevirt/kubevirt
Kubernetes Virtualization API and runtime in order to define and manage virtual machines.
  • v0.6.0 go.sum

Size: 250 MB - Last synced: about 2 months ago - Pushed: about 2 months ago

ybettan/assisted-service Fork of openshift/assisted-service
  • v0.9.0 go.sum
  • v0.9.0 go.mod

Size: 65.6 MB - Last synced: 23 days ago - Pushed: 23 days ago

arielireni/assisted-service Fork of openshift/assisted-service
  • v0.9.0 go.mod
  • v0.9.0 go.sum

Size: 73.9 MB - Last synced: about 1 month ago - Pushed: about 1 year ago

pkliczewski/assisted-service Fork of openshift/assisted-service
  • v0.7.1 go.mod
  • v0.7.1 go.sum

Size: 38.5 MB - Last synced: 9 months ago - Pushed: over 1 year ago

bkhizgiy/assisted-service Fork of openshift/assisted-service
  • v0.9.0 go.mod
  • v0.9.0 go.sum

Size: 69 MB - Last synced: about 1 month ago - Pushed: about 1 year ago

vrutkovs/assisted-service Fork of openshift/assisted-service
  • v0.7.1 go.mod
  • v0.7.1 go.sum

Size: 69.1 MB - Last synced: 11 months ago - Pushed: 11 months ago

atlantic-crypto/kubevirt
  • v0.6.0 go.sum

Last synced: over 1 year ago

eranco74/assisted-service Fork of openshift/assisted-service
  • v0.7.1 go.mod
  • v0.7.1 go.sum

Size: 67 MB - Last synced: about 1 year ago - Pushed: about 1 year ago

TrilokGeer/installer Fork of openshift/installer
Install an OpenShift 4.x cluster
  • v0.7.1 go.sum

Size: 865 MB - Last synced: about 1 year ago - Pushed: over 1 year ago

saiprashanth173/kubevirt Fork of kubevirt/kubevirt
Kubernetes Virtualization API and runtime in order to define and manage virtual machines.
  • v0.6.0 go.sum

Size: 237 MB - Last synced: about 1 year ago - Pushed: over 1 year ago

dageita/containerized-data-importer
  • v0.6.0 go.mod
  • v0.6.0 go.sum

Size: 97.6 MB - Last synced: 11 months ago - Pushed: over 2 years ago

bkhadars/installer Fork of openshift/installer
Install an OpenShift 4.x cluster
  • v0.7.1 go.sum

Size: 867 MB - Last synced: about 1 year ago - Pushed: over 1 year ago

prnaraya/kubevirt Fork of kubevirt/kubevirt
Kubernetes Virtualization API and runtime in order to define and manage virtual machines.
  • v0.6.0 go.sum

Size: 249 MB - Last synced: 3 months ago - Pushed: 3 months ago

deckhouse/3p-kubevirt Fork of kubevirt/kubevirt
Kubernetes Virtualization API and runtime in order to define and manage virtual machines.
  • v0.6.0 go.sum

Size: 262 MB - Last synced: 9 months ago - Pushed: 9 months ago

nunnatsa/kubevirt Fork of kubevirt/kubevirt
Kubernetes Virtualization API and runtime in order to define and manage virtual machines.
  • v0.6.0 go.sum

Size: 251 MB - Last synced: about 5 hours ago - Pushed: about 21 hours ago

tacerus/terraform-provider-harvester-custom
  • v0.6.0 go.sum

Size: 652 KB - Last synced: 8 days ago - Pushed: almost 2 years ago

andfasano/assisted-service Fork of openshift/assisted-service
  • v0.9.0 go.mod
  • v0.9.0 go.sum

Size: 67.6 MB - Last synced: about 1 year ago - Pushed: over 1 year ago

longdevops332/kubevirt
  • v0.6.0 go.sum

Size: 230 MB - Last synced: 10 months ago - Pushed: about 2 years ago

futuretea/harvester-inventory
the ansible dynamic inventory to pull hosts from Harvester.
  • v0.6.0 go.sum

Size: 4.98 MB - Last synced: 10 months ago - Pushed: about 1 year ago

dankenigsberg/kubevirt Fork of kubevirt/kubevirt
KubeVirt is a virtual machine management add-on for Kubernetes.
  • v0.6.0 go.sum

Size: 249 MB - Last synced: about 1 month ago - Pushed: about 1 month ago

javipolo/assisted-service Fork of openshift/assisted-service
  • v0.7.1 go.mod
  • v0.7.1 go.sum

Size: 66.7 MB - Last synced: about 1 year ago - Pushed: over 1 year ago

alromeros/kubevirt Fork of kubevirt/kubevirt
Kubernetes Virtualization API and runtime in order to define and manage virtual machines.
  • v0.6.0 go.sum

Size: 256 MB - Last synced: 1 day ago - Pushed: 1 day ago

coreweave/kubevirt Fork of kubevirt/kubevirt
Kubernetes Virtualization API and runtime in order to define and manage virtual machines.
  • v0.6.0 go.sum

Size: 241 MB - Last synced: about 1 month ago - Pushed: over 1 year ago

openshift-bot/assisted-installer Fork of openshift/assisted-installer
  • v0.9.0 go.sum

Size: 21.1 MB - Last synced: 6 days ago - Pushed: 6 days ago

wking/openshift-installer Fork of openshift/installer
Install an OpenShift cluster
  • v0.7.1 go.sum

Size: 947 MB - Last synced: about 1 month ago - Pushed: 7 months ago

openshift-bot/assisted-service Fork of openshift/assisted-service
  • v0.9.0 go.mod
  • v0.9.0 go.sum

Size: 83.3 MB - Last synced: 6 days ago - Pushed: 7 days ago

EdgeCloudX/containerized-data-importer Fork of kubevirt/containerized-data-importer
Data Import Service for kubernetes, designed with kubevirt in mind.
  • v0.6.0 go.mod
  • v0.6.0 go.sum

Size: 171 MB - Last synced: 9 months ago - Pushed: 9 months ago

javipolo/assisted-installer Fork of openshift/assisted-installer
  • v0.9.0 go.sum

Size: 14.8 MB - Last synced: about 1 month ago - Pushed: about 1 year ago

oshoval/kubevirt Fork of kubevirt/kubevirt
Kubernetes Virtualization API and runtime in order to define and manage virtual machines.
  • v0.6.0 go.sum

Size: 325 MB - Last synced: about 16 hours ago - Pushed: about 18 hours ago

jstuever/openshift-installer Fork of openshift/installer
Install an OpenShift cluster
  • v0.7.1 go.sum

Size: 863 MB - Last synced: 12 months ago - Pushed: over 1 year ago

rollandf/assisted-installer-agent Fork of openshift/assisted-installer-agent
  • v0.7.1 go.sum

Size: 1.08 MB - Last synced: 10 months ago - Pushed: over 1 year ago

jhernand/assisted-installer-agent Fork of openshift/assisted-installer-agent
  • v0.9.0 go.sum

Size: 18 MB - Last synced: 12 months ago - Pushed: 12 months ago

rewantsoni/assisted-installer Fork of openshift/assisted-installer
  • v0.7.1 go.sum

Size: 1.36 MB - Last synced: about 1 year ago - Pushed: over 1 year ago

zaneb/assisted-installer-agent Fork of openshift/assisted-installer-agent
  • v0.7.1 go.sum

Size: 16.9 MB - Last synced: 10 months ago - Pushed: 10 months ago

paul-maidment/assisted-installer-agent Fork of openshift/assisted-installer-agent
  • v0.7.1 go.sum

Size: 21.8 MB - Last synced: 6 days ago - Pushed: 7 days ago

paul-maidment/assisted-installer Fork of openshift/assisted-installer
  • v0.7.1 go.sum

Size: 20 MB - Last synced: about 1 month ago - Pushed: about 1 month ago

mmartinv/assisted-service Fork of openshift/assisted-service
  • v0.9.0 go.mod
  • v0.9.0 go.sum

Size: 63.3 MB - Last synced: about 1 year ago - Pushed: over 1 year ago

eranco74/cluster-api-provider-agent Fork of openshift/cluster-api-provider-agent
Kubernetes-native declarative infrastructure for agent based installation
  • v0.7.1 go.sum

Size: 21.4 MB - Last synced: 11 months ago - Pushed: about 1 year ago

pengjiang80/harvester Fork of harvester/harvester
Open source hyperconverged infrastructure (HCI) software
  • v0.6.0 go.sum

Size: 31.8 MB - Last synced: 8 months ago - Pushed: 8 months ago

rwsu/assisted-service Fork of openshift/assisted-service
  • v0.7.1 go.mod
  • v0.7.1 go.sum

Size: 82.6 MB - Last synced: about 1 month ago - Pushed: about 1 month ago

rollandf/assisted-service Fork of openshift/assisted-service
  • v0.7.1 go.mod
  • v0.7.1 go.sum

Size: 39.6 MB - Last synced: 10 months ago - Pushed: over 1 year ago

openshift-edge-bot/assisted-service Fork of openshift/assisted-service
  • v0.7.1 go.mod
  • v0.7.1 go.sum

Size: 83.9 MB - Last synced: 22 days ago - Pushed: 22 days ago

rewantsoni/assisted-service Fork of openshift/assisted-service
  • v0.7.1 go.mod
  • v0.7.1 go.sum

Size: 41.4 MB - Last synced: about 1 year ago - Pushed: about 1 year ago

fossedihelm/kubevirt Fork of kubevirt/kubevirt
Kubernetes Virtualization API and runtime in order to define and manage virtual machines.
  • v0.6.0 go.sum

Size: 257 MB - Last synced: about 1 month ago - Pushed: about 1 month ago

dhiller/kubevirt Fork of kubevirt/kubevirt
Kubernetes Virtualization API and runtime in order to define and manage virtual machines.
  • v0.6.0 go.sum

Size: 261 MB - Last synced: about 1 month ago - Pushed: about 1 month ago

bk201/harvester Fork of harvester/harvester
Open source hyperconverged infrastructure (HCI) software
  • v0.6.0 go.sum

Size: 55.9 MB - Last synced: 2 months ago - Pushed: 2 months ago

lyarwood/kubevirt Fork of kubevirt/kubevirt
Kubernetes Virtualization API and runtime in order to define and manage virtual machines.
  • v0.6.0 go.sum

Size: 255 MB - Last synced: 7 days ago - Pushed: 7 days ago

alromeros/containerized-data-importer Fork of kubevirt/containerized-data-importer
Data Import Service for kubernetes, designed with kubevirt in mind.
  • v0.9.0 go.mod
  • v0.9.0 go.sum

Size: 194 MB - Last synced: 1 day ago - Pushed: 1 day ago

subhamkrai/assisted-service Fork of openshift/assisted-service
  • v0.9.0 go.mod
  • v0.9.0 go.sum

Size: 70.8 MB - Last synced: about 1 year ago - Pushed: over 1 year ago

empovit/assisted-installer Fork of openshift/assisted-installer
  • v0.9.0 go.sum

Size: 13.8 MB - Last synced: about 1 year ago - Pushed: over 1 year ago

ksimon1/kubevirt-tekton-tasks Fork of kubevirt/kubevirt-tekton-tasks
VM specific tasks for Tekton Pipelines
  • v0.6.0 modules/create-vm/go.sum
  • v0.6.0 modules/tests/go.sum

Size: 28.1 MB - Last synced: 7 days ago - Pushed: 7 days ago

ybettan/assisted-installer-agent Fork of openshift/assisted-installer-agent
  • v0.9.0 go.sum

Size: 11.8 MB - Last synced: 23 days ago - Pushed: 23 days ago

shiftstack/installer Fork of openshift/installer
Install an OpenShift cluster
  • v0.7.1 go.sum

Size: 1020 MB - Last synced: about 4 hours ago - Pushed: about 16 hours ago

akalenyu/containerized-data-importer Fork of kubevirt/containerized-data-importer
Data Import Service for kubernetes, designed with kubevirt in mind.
  • v0.6.0 go.mod
  • v0.6.0 go.sum

Size: 210 MB - Last synced: about 1 month ago - Pushed: about 2 months ago

empovit/assisted-service Fork of openshift/assisted-service
  • v0.9.0 go.mod
  • v0.9.0 go.sum

Size: 81.4 MB - Last synced: 28 days ago - Pushed: 28 days ago

avishayt/assisted-installer-agent Fork of openshift/assisted-installer-agent
  • v0.7.1 go.sum

Size: 16.4 MB - Last synced: 9 months ago - Pushed: 9 months ago

EdDev/kubevirt Fork of kubevirt/kubevirt
Kubernetes Virtualization API and runtime in order to define and manage virtual machines.
  • v0.6.0 go.sum

Size: 253 MB - Last synced: 1 day ago - Pushed: 1 day ago

michaellevy101/assisted-service Fork of openshift/assisted-service
  • v0.9.0 go.mod
  • v0.9.0 go.sum

Size: 73.5 MB - Last synced: about 1 year ago - Pushed: about 1 year ago

kubevirt/test-benchmarks
setup to create reproducible benchmarks tests with containers and KubeVirt VMs
  • v0.6.0 go.sum

Size: 9.42 MB - Last synced: about 1 month ago - Pushed: over 1 year ago

ggqshr/temptttt
  • v0.6.0 go.sum

Size: 211 MB - Last synced: about 1 year ago - Pushed: over 2 years ago

jansure/containerized-data-importer
  • v0.6.0 go.mod
  • v0.6.0 go.sum

Size: 97.6 MB - Last synced: about 1 year ago - Pushed: over 2 years ago

ahussey-redhat/kubevirt
  • v0.6.0 go.sum

Size: 227 MB - Last synced: about 1 year ago - Pushed: about 2 years ago

kokovikhinkv/terraform-provider-ovirt Fork of oVirt/terraform-provider-ovirt
Terraform provider for oVirt 4.x
  • v0.7.2-0.20211121130109-4be526103fb3 go.mod
  • v0.6.1-0.20211012150052-860e5361979c go.sum
  • v0.7.2-0.20211121130109-4be526103fb3 go.sum

Size: 8.56 MB - Last synced: 10 months ago - Pushed: over 2 years ago

stoobie/terraform-provider-ovirt Fork of oVirt/terraform-provider-ovirt
Terraform provider for oVirt 4.x
  • v0.6.1-0.20211012150052-860e5361979c go.mod

Size: 8.52 MB - Last synced: about 1 month ago - Pushed: over 2 years ago