Git Product home page Git Product logo

ovirt-engine-sdk-go's Introduction

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

ovirt-engine-sdk-go's People

Contributors

imjoey avatar emesika avatar janosdebugs avatar dougsland avatar jhernand avatar rgolangh avatar sandrobonazzola avatar bennyz avatar eslutsky avatar maigard avatar slrz avatar zuc avatar masayag avatar pkliczewski avatar gekorob avatar dependabot[bot] avatar mathianasj avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.