calicoctl

Calico CLI tool

  • 所有者: projectcalico/calicoctl
  • 平台:
  • 許可證:
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Build Status
CircleCI branch

Slack Status
IRC Channel

calicoctl

This repository is the home of calicoctl.

For information on calicoctl usage, see the calicoctl reference information

Install

Binary downloads of calicoctl can be found on the Releases page.

Unpack the calicoctl binary and add it to your PATH and you are good to go!

If you want to use a package manager:

  • Homebrew users can use brew install calicoctl.

Developing

Print useful actions with make help.

Building calicoctl

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:

make build

The binary will be put in ./dist/ and named calicoctl-<os>-<arch>, e.g.:

$ ls -1 ./dist/
calicoctl-linux-amd64
calicoctl-linux-arm64
calicoctl-linux-ppc64le
calicoctl-linux-s390x
calicoctl-darwin-amd64
calicoctl-windows-amd64.exe

To build for a different OS or ARCH, simply define it as a var to make, e.g.:

$ make build ARCH=arm64
$ make build OS=darwin ARCH=amd64

To list all possible targets, run make help.

Tests

Tests can be run in a container to ensure all build dependencies are met.

To run the tests

make test

Note: Tests depend on the test image calico/test, which is available only on amd64. The actual image used as set by the make variable TEST_CONTAINER_NAME. If you have a local build of that image or one for a different architecture, you can override it by setting the variable, e.g.:

$ make test TEST_CONTAINER_NAME=some/container:tag

主要指標

概覽
名稱與所有者projectcalico/calicoctl
主編程語言
編程語言Shell (語言數: 0)
平台
許可證
所有者活动
創建於2015-01-21 23:46:47
推送於2022-08-01 18:46:27
最后一次提交2021-12-15 15:10:41
發布數275
最新版本名稱v3.20.6 (發布於 2022-08-01 17:43:49)
第一版名稱v0.0.2 (發布於 )
用户参与
星數0.9k
關注者數60
派生數291
提交數3.8k
已啟用問題?
問題數0
打開的問題數0
拉請求數1454
打開的拉請求數0
關閉的拉請求數284
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?