The directory examples contains a few examples on how to use the client.
examples
Here is a simple usage of creating a deployment from a yaml file:
The following example demonstrates how to create, update and delete deployments without the need to read a file from the disk: