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
$ eval $(ucp-cli env)
$ docker node ls
...
$ kubectl get node
...
Usage
$ ucp-cli login --username user1 --password S3cretPassword12345 --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.0.5.tar.gz
(17.6 kB
view hashes)
Built Distribution
Close
Hashes for python_ucp_cli-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 425cff5b7f6536646e564f0b9dff8a165e1f5389bade0b658c483db027733b74 |
|
MD5 | 9e973c2184b2d71d436866efbd788f26 |
|
BLAKE2b-256 | b6b853290bd28eddf2e35a810b75016c38de5592a55efaef999f66e1859c4431 |