Giter Site home page Giter Site logo

artem-panchenko / libcalico-go Goto Github PK

View Code? Open in Web Editor NEW

This project forked from projectcalico/libcalico-go

0.0 0.0 0.0 1.08 MB

Golang Calico library functions: https://www.projectcalico.org

License: Apache License 2.0

Makefile 0.70% Go 98.69% Shell 0.61%

libcalico-go's Introduction

CircleCI

libcalico-go

This repositiory contains Calico's Go components:

  • libcalico, which can be imported as "github.com/projectcalico/libcalico-go/lib"
  • calicoctl

Common set-up

Assuming you have already installed go version 1.7.1+, perform the following simple steps to get building:

git clone [email protected]:projectcalico/libcalico-go.git $GOPATH/src/github.com/projectcalico/libcalico-go
  • Switch to your project directory:
cd $GOPATH/src/github.com/projectcalico/libcalico-go
  • Populate the vendor/ directory in the project's root with this project's dependencies:
glide install

Building calicoctl

Non-release build

To do a quick, non-release build of calicoctl, suitable for local testing, run

make bin/calicoctl

The binary will be put in ./bin:

./bin/calicoctl --help

Release build

For releases, we use a Docker-based build to ensure a clean environment with an appropriate glibc. Specifically, we use a CentOS 6.6 container image to build against glibc v2.12. this ensures compatibility with any later glibc.

To do a release build, run:

make release/calicoctl

The binary will be emitted to ./releases/calicoctl-<version>

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.