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?
已存档?
是复刻?
已锁定?
是镜像?
是私有?