Skip to main content

CLI client for interfacing with a MASH server.

Project description

Build Status Documentation Status Py Versions License

mash-client

overview

mash-client provides a command line utility to interface with the MASH server REST API.

Installation

To install the package use the following commands as root:

$ zypper ar http://download.opensuse.org/repositories/Cloud:/Tools/<distribution>
$ zypper refresh
$ zypper in mash-client

Requirements

  • Click
  • requests
  • PyYaml
  • PyJWT

Docs

Usage

Mash user commands

The mash user account is the authentication mechanism of a user against the mash server. It will store information about cloud framework specific account information. The cloud framework account information stored for a given mash user provides the credentials necessary for mash to access a cloud framework account.

mash user create

Create a mash user account.

mash user delete

Delete a mash user account.

mash user info

List information about your user account.

Mash authentication commands

Authentication command are used after a mash user has been created

mash auth login

Login to the mash user account

mash auth logout

Log out of the mash user account

mash auth token

Manage the authentication token

Mash cloud account commands

mash account <framework> add

Add cloud framework account information to the mash user account. Supported s are azure, ec2, and gce.

mash account <framework> delete

Remove cloud framework account information from the mash user account.

mash account <framework> info

Retrieve cloud framework account information from the mash user account.

mash account <framework> list

List all the framework accounts configured for the mash user.

mash account <framework> update

Update information for a cloud framework account for the mash user.

Mash job commands

mash job <framework> add [PATH_TO_JOB_DOC]

Send a job request to the mash server submitting the specified job document. The job document will be validated and a UUID is returned if the job is accepted.

mash job delete

Delete a job from the mash server. If the job is a one time job parts of the job may already be executed and created artifacts are not cleaned up.

mash job info

Retrieve information about a given job in the pipeline.

mash job list

List all the user's job in the mash pipeline.

All commands and subcommands support the --help option to provide command help. For example

mash account azure add --help

Issues/Enhancements

Please submit issues and requests to Github.

Contributing

Contributions to mash-client are welcome and encouraged. See CONTRIBUTING for info on getting started.

License

Copyright (c) 2019 SUSE LLC.

Distributed under the terms of GPL-3.0+ license, see LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mash_client-4.6.0.tar.gz (52.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mash_client-4.6.0-py3-none-any.whl (50.8 kB view details)

Uploaded Python 3

File details

Details for the file mash_client-4.6.0.tar.gz.

File metadata

  • Download URL: mash_client-4.6.0.tar.gz
  • Upload date:
  • Size: 52.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for mash_client-4.6.0.tar.gz
Algorithm Hash digest
SHA256 32cc1957956a39653e1cfc2cbcee43e45d9894f50baacc3a9f2330cf367e71fc
MD5 2dbe5efb27e8e6270d2a0c47389e72f9
BLAKE2b-256 5f0c140bd3e4940a88bb6660c34fea8c8cc606f860df349e6007ac91a64df869

See more details on using hashes here.

File details

Details for the file mash_client-4.6.0-py3-none-any.whl.

File metadata

  • Download URL: mash_client-4.6.0-py3-none-any.whl
  • Upload date:
  • Size: 50.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for mash_client-4.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8d1f29f7fcf05e2ade7d744935b8513a531432880ad4e431a7599fc28ec13468
MD5 8339aec6abf9456e8b07d31164b18687
BLAKE2b-256 8793c6bf3d8b06cc5a254c408fc8764b25b558af0b81709e8124d20b2c9a4cd9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page