No project description provided
Project description
A Docker Universal Control Plane CLI
This ucp-cli login
command will download your user bundle and auth token into the ~/.ucp directory.
With eval $(ucp-cli env)
you can then access the docker or kubectl context.
Reference: https://docs.docker.com/ee/ucp/user-access/cli/
Installation
Run the following to install:
$ pip install python-ucp-cli
Usage
$ ucp-cli login --username user1 --password password --url ucp-manager.local
$ eval $(ucp-cli env)
$ docker node ls
...
$ kubectl get node
...
Developer
virtualenv venv
ls venv/
. venv/bin/activate
which python
pip install --editable .
Get Started
For usage and help content, pass in the -h
parameter, for example:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python-ucp-cli-0.1.2.tar.gz
(18.5 kB
view hashes)
Built Distribution
Close
Hashes for python_ucp_cli-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81568955a7acee11b4ac2cf2d3c7d06b032b9d97cd1b8a40d481d8d027fbab80 |
|
MD5 | 78e8a47cc82201c95a5e845c7e7a15a0 |
|
BLAKE2b-256 | 331a53a26704304c710f41ac375a000480f09d2cdc874f3839d6a2646cafcbe9 |