doc/source/usage.rst
raw| 1 | ======== |
| 2 | Usage |
| 3 | ======== |
| 4 | |
| 5 | The directory ``examples`` contains a few examples on how to use the client. |
| 6 | |
| 7 | |
| 8 | Deployments |
| 9 | ----------- |
| 10 | |
| 11 | Here is a simple usage of creating a deployment from a yaml file: |
| 12 | |
| 13 | |
| 14 | .. literalinclude:: ../../examples/create_deployment.py |
| 15 | |
| 16 | |
| 17 | The following example demonstrates how to create, update and delete deployments |
| 18 | without the need to read a file from the disk: |
| 19 | |
| 20 | .. literalinclude:: ../../examples/deployment_examples.py |