Name: calicoctl
Owner: LinuxONE and Linux on z Systems Open-source Team
Description: Calico CLI tool
Created: 2018-02-12 12:44:23.0
Updated: 2018-02-12 12:44:26.0
Pushed: 2018-02-27 04:51:00.0
Homepage: http://www.projectcalico.org
Size: 37704
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This repository is the home of calicoctl
.
Note that the documentation in this repo is targeted at Calico contributors.Documentation for Calico users is here:
http://docs.projectcalico.org
For information on calicoctl
usage, see the calicoctl reference information
Print useful actions with make help
.
calicoctl
There are two ways to build calicoctl: natively, and dockerized
For simplicity, calicoctl
can be built in a Docker container, eliminating
the need for any dependencies in your host developer environment, using the following command:
dist/calicoctl
The binary will be put in ./dist
:
st/calicoctl --help
Assuming you have already installed go version 1.7.1+, ensure you've cloned this repository into your Go project path.
clone https://github.com/projectcalico/calicoctl.git $GOPATH/src/github.com/projectcalico/calicoctl
Populate the vendor/
directory in the project's root with this project's dependencies:
e install -strip-vendor
Build the binary:
binary
Tests can be run in a container to ensure all build dependencies are met.
To run the tests
test