All Projects → oVirt → ovirt-engine-sdk-go

oVirt / ovirt-engine-sdk-go

Licence: Apache-2.0 license
The generator of Go SDK for oVirt v4.0+

Programming Languages

go
31211 projects - #10 most used programming language
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to ovirt-engine-sdk-go

go-ovirt
Go SDK Source-Code for oVirt 4.x, generated by ovirt/ovirt-engine-sdk-go.
Stars: ✭ 27 (+35%)
Mutual labels:  ovirt, ovirt-engine, ovirt-management
ovirt-ansible
Ansible playbooks for ovirt management
Stars: ✭ 26 (+30%)
Mutual labels:  ovirt-engine, ovirt-management
ovirt-provider-ovn
This is a repository for ovirt-provider-ovn.
Stars: ✭ 19 (-5%)
Mutual labels:  ovirt
ovirt-openshift-extensions
Implementation of flexvolume driver and provisioner for oVirt
Stars: ✭ 32 (+60%)
Mutual labels:  ovirt
moVirt
A mobile client for oVirt
Stars: ✭ 47 (+135%)
Mutual labels:  ovirt
terraform-provider-ovirt
Terraform provider for oVirt 4.x
Stars: ✭ 125 (+525%)
Mutual labels:  ovirt
ovirt-web-ui
Modern lightweight UI for standard (non-admin) oVirt users
Stars: ✭ 87 (+335%)
Mutual labels:  ovirt
ovirt-ansible-collection
Ansible collection with official oVirt modules and roles
Stars: ✭ 53 (+165%)
Mutual labels:  ovirt
ovirt-site
oVirt website
Stars: ✭ 74 (+270%)
Mutual labels:  ovirt
vagrant-ovirt4
oVirt v4 provider for Vagrant
Stars: ✭ 33 (+65%)
Mutual labels:  ovirt

oVirt Go SDK

Build Status Go Report Card

Introduction

The oVirt Go SDK is a Go package that simplifies access to the oVirt Engine API.

IMPORTANT: This document describes how to generate, build and test the SDK. If you are interested in how to use it read the README.md file in the oVirt/go-ovirt repository instead.

Building

You must install the Go binary and setup the Go environments, including GOROOT and GOPATH.

Most of the source code of the Go SDK is automatically generated from the API model (Java).

The code generator is a Java program that resides in the generator directory. This Java program will get the API model and the metamodel artifacts (offered by oVirt team) from the available Maven repositories. To build and run it use the following commands:

$ git clone [email protected]:oVirt/ovirt-engine-sdk-go.git
$ cd ovirt-engine-sdk-go
$ mvn package

This will build the code generator, run it to generate the SDK for the version of the API that corresponds to the branch of the SDK that you are using.

If you need to generate it for a different version of the API then you can use the model.version property. For example, if you need to generate the SDK for version 4.1.0 of the SDK you can use this command:

$ mvn package -Dmodel.version=4.1.0

By default the build and the tests are executed using the go command. If you wish to use a different version of Go you can use the go.command property:

$ mvn package -Dgo.command=go1.7
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].