Skip to content

projectcalico/libcalico-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b0fb84b · Dec 12, 2016
Nov 29, 2016
Oct 14, 2016
Nov 29, 2016
Dec 12, 2016
Oct 14, 2016
Nov 21, 2016
Oct 20, 2016
Oct 14, 2016
Nov 30, 2016
Nov 29, 2016
Nov 4, 2016
Dec 12, 2016
Dec 12, 2016
Oct 14, 2016
Dec 6, 2016

Repository files navigation

Build StatusSlack Status IRC Channel

libcalico-go

This repositiory contains Calico's Go components:

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

This library is used by both calicoctl, calico-cni and felix.

If you are looking for the golang version of calicoctl it is in the process of moving and can be found in our calico-containers repo / golang branch.

If you wish to use libcalico for integration with Calico networking and policy, the main entry point to managing Calico configuration is through the client.

  • Documentation for the client is in lib/client.
  • The resource structure definitions are defined in lib/api, this includes detailed per-resource and per-field level descriptions.

If you are developing against the code in libcalico, please run the tests before submitting a Pull Request.

To run the tests locally (requires a full golang environment Go 1.7+):

make ut

To run the tests within a containerized environment:

make test-containerized