genvid-sdk¶
setup-vault
New in version 1.15.0.
setup-nomad
New in version 1.15.0.
Tool for manipulating the SDK.
usage: genvid-sdk [-h] [--loglevel {DEBUG,INFO,WARNING,ERROR}] [-c CLUSTER_ID]
{clean,clean-config,clean-images,consul-template,load-config,load-config-sdk,log,monitor,open,open-link,setup,setup-nomad,setup-vault,show-config,show-config-sdk,show-jobs,start,stop,upload-images,upload-images-sdk}
...
Positional Arguments¶
command | Possible choices: clean, clean-config, clean-images, consul-template, load-config, load-config-sdk, log, monitor, open, open-link, setup, setup-nomad, setup-vault, show-config, show-config-sdk, show-jobs, start, stop, upload-images, upload-images-sdk |
Named Arguments¶
--loglevel | Possible choices: DEBUG, INFO, WARNING, ERROR Set the script log level |
-c, --cluster_id | |
The cluster id. Default local Default: “local” |
Sub-commands:¶
clean-config¶
Clean the whole configuration.
genvid-sdk clean-config [-h] [source]
Positional Arguments¶
source | The configuration file that you want to remove. |
clean-images¶
Delete all uploaded images.
genvid-sdk clean-images [-h] [-b BUCKET] [-p PATH] [-u]
Named Arguments¶
-b, --bucket | Name of the bucket to use. Default is a combination of AWS account and bastion ids. |
-p, --path | The path in the bucket (default: “/images/custom”). Default: “/images/custom” |
-u, --update-config | |
Upload configuration in the current cluster. Default: False |
consul-template¶
Apply a Consul template.
genvid-sdk consul-template [-h] template
Positional Arguments¶
template | The template to load. |
load-config¶
Append to the configuration.
genvid-sdk load-config [-h] source
Positional Arguments¶
source | The configuration file to load. |
log¶
Show a log.
genvid-sdk log [-h] [-t] [-n LINES] [-f] task
Positional Arguments¶
task | The name of the log. |
Named Arguments¶
-t, --tail | Only show the last line. Default: False |
-n, --lines | The number of lines to tail (10). Default: 10 |
-f, --follow | Wait for additional content at the end of file. Default: False |
open¶
Open a GUI to the specified service
genvid-sdk open [-h] [link]
Positional Arguments¶
link | The name of the link. |
open-link¶
Open a link or show the list of links
genvid-sdk open-link [-h] [link]
Positional Arguments¶
link | The name of the link. |
setup¶
Set up the services.
genvid-sdk setup [-h] [-b BUCKET] [-p PATH]
Named Arguments¶
-b, --bucket | Name of the bucket to use. Default is a combination of AWS account and bastion ids. |
-p, --path | The path in the bucket (default: “/images/custom”). Default: “/images/custom” |
start¶
Start jobs.
genvid-sdk start [-h] [jobs [jobs ...]]
Positional Arguments¶
jobs | The jobs to start. |
stop¶
Stop jobs.
genvid-sdk stop [-h] [jobs [jobs ...]]
Positional Arguments¶
jobs | The jobs to start. |
upload-images¶
Upload the specified images prefix.
genvid-sdk upload-images [-h] [-b BUCKET] [-p PATH] [-u]
[prefixes [prefixes ...]]
Positional Arguments¶
prefixes | The prefixes of the images to upload. |
Named Arguments¶
-b, --bucket | Name of the bucket to use. Default is a combination of AWS account and bastion ids. |
-p, --path | The path in the bucket (default: “/images/custom”). Default: “/images/custom” |
-u, --update-config | |
Upload configuration in the current cluster. Default: False |
upload-images-sdk¶
Upload the SDK images.
genvid-sdk upload-images-sdk [-h] [-b BUCKET] [-p PATH] [-u]
Named Arguments¶
-b, --bucket | Name of the bucket to use. Default is a combination of AWS account and bastion ids. |
-p, --path | The path in the bucket (default: “/images/sdk-1.18.0”). Default: “/images/sdk-1.18.0” |
-u, --update-config | |
Upload configuration in the current cluster. Default: False |