Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
Added creating a namespace example.
  • Loading branch information
jbollman7 authored Oct 26, 2020
1 parent 19e7056 commit 0bb682c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,19 @@ don't need to supply a username/password.
token='ALAcbGZtbjh6eVB3eUF1TzFEZWNmc0M2VVl2QjBVPQM',
ecs_endpoint='https://192.168.1.146:4443')
Create a namespace
~~~~~~~~~~~~~~
Creating a namespace is as simple as creatinga client object. and calling create namespac method.

.. code-block:: python
client = Client('3',
token='ALAcbGZtbjh6eVB3eUF1TzFEZWNmc0M2VVl2QjBVPQM',
ecs_endpoint='https://192.168.1.146:4443')
client.namespace.create(
name="green"
)
Token caching
~~~~~~~~~~~~~
Expand Down

0 comments on commit 0bb682c

Please sign in to comment.