def cli(ctx, pickle_it, *args, **kwargs): """List all running deployments. .. versionadded:: 1.1.8 """ click.echo(get_request(ctx, 'deployments', pickle_it))
def cli(ctx, pickle_it, *args, **kwargs): """Get the group with all applications and all transitive child groups. .. versionadded:: 1.1.8 """ click.echo(get_request(ctx, 'groups', pickle_it))
def cli(ctx, pickle_it, *args, **kwargs): """List all the tasks queued up or waiting to be scheduled. .. versionadded:: 1.1.8 """ click.echo(get_request(ctx, 'queue', pickle_it))
def cli(ctx, pickle_it, *args, **kwargs): """Get metrics data from this Marathon instance. .. versionadded:: 1.1.8 """ click.echo(get_request(ctx, 'metrics', pickle_it, with_version=False))
def cli(ctx, pickle_it, *args, **kwargs): """Get info about the Marathon Instance. .. versionadded:: 1.1.7 """ click.echo(get_request(ctx, 'info', pickle_it))
def cli(ctx, pickle_it, *args, **kwargs): """Returns the current leader. .. versionadded:: 1.1.8 """ click.echo(get_request(ctx, 'leader', pickle_it))
def cli(ctx, pickle_it, *args, **kwargs): """Returns the list of all loaded plugins. .. versionadded:: 1.1.8 """ click.echo(get_request(ctx, 'plugins', pickle_it))
def cli(ctx, pickle_it, *args, **kwargs): """Ping this Marathon instance. .. versionadded:: 1.1.8 """ click.echo(get_request(ctx, 'ping', pickle_it, with_version=False))
def cli(ctx, pickle_it, *args, **kwargs): """Get all running tasks. """ click.echo(get_request(ctx, 'tasks', pickle_it))