Skip to content

song-jiang/libcalico-go

 
 

Repository files navigation

Build Status Slack Status IRC Channel GoDoc

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:

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 GoDoc.
  • The resource structure definitions are defined in lib/api, this includes detailed per-resource and per-field level descriptions.
  • Resource definitions can be found in Calico docs
  • This repository also includes the implementation for Calico IPAM which can be found in lib/client

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

Packages

No packages published

Languages

  • Go 99.2%
  • Other 0.8%