vpsfree-client 0.13.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +3 -0
- data/README.md +19 -6
- data/lib/vpsfree/client/version.rb +1 -1
- data/vpsfree-client.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 413ed26d705046d66d7505f0d5b70644fbe11e1d135fe63a9f1675ffc301f78d
|
4
|
+
data.tar.gz: 4fceb92b1ef6495f648556f5f1db7fb4ac313a079803bdbc9fbc57f0cde78522
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e096a62a808b82a9523ab1728c7c9bfff2471532c7a78a5c10e93ffc36fecc2ec100ceb29cd8c07124a2bd35c74097655083e39f75737e6d9ea8ac4cd341565
|
7
|
+
data.tar.gz: 585eb14cb033cd16e2ee29aee8c4e6e6021b04c61a235fb5afef474583733d53118cfd9fd5ac6c2bff985faa3c6f45377e18934cc6c03d04f4a72b995da7ddfa
|
data/CHANGELOG
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
vpsFree-Client
|
2
2
|
==============
|
3
|
-
vpsFree-Client is a Ruby CLI and client library for
|
4
|
-
|
5
|
-
|
3
|
+
vpsFree-Client is a Ruby CLI and client library for
|
4
|
+
[vpsFree.cz API](https://api.vpsfree.cz). It is based on
|
5
|
+
[vpsadmin-client](https://github.com/vpsfreecz/vpsadmin/tree/master/client),
|
6
|
+
which is in turn based on
|
7
|
+
[haveapi-client](https://github.com/vpsfreecz/haveapi/tree/master/clients/ruby).
|
8
|
+
|
9
|
+
More information about vpsFree-Client can be found at vpsFree.cz's
|
10
|
+
[knowledge base](https://kb.vpsfree.org/manuals/vps/api).
|
6
11
|
|
7
12
|
## Installation
|
8
13
|
|
@@ -20,8 +25,7 @@ Or install it yourself as:
|
|
20
25
|
|
21
26
|
### Distributions
|
22
27
|
|
23
|
-
If you are a Nix user,
|
24
|
-
`nixos-unstable` and will become available in the next "20.09" release.
|
28
|
+
If you are a Nix user, you can use `nixpkgs.vpsfree-client`.
|
25
29
|
|
26
30
|
## Usage
|
27
31
|
### CLI
|
@@ -29,7 +33,7 @@ If you are a Nix user, the `nixpkgs.vpsfree-client` is available in
|
|
29
33
|
Usage: vpsfreectl [options] <resource> <action> [objects ids] [-- [parameters]]
|
30
34
|
-u, --api URL API URL
|
31
35
|
-a, --auth METHOD Authentication method
|
32
|
-
--list-versions List all available API versions
|
36
|
+
--list-versions List all available API versions
|
33
37
|
--list-auth-methods [VERSION]
|
34
38
|
List available authentication methods
|
35
39
|
--list-resources [VERSION] List all resource in API version
|
@@ -47,6 +51,8 @@ If you are a Nix user, the `nixpkgs.vpsfree-client` is available in
|
|
47
51
|
--utc Display Datetime parameters in UTC
|
48
52
|
--localtime Display Datetime parameters in local timezone
|
49
53
|
--date-format FORMAT Display Datetime in custom format
|
54
|
+
--[no-]block Toggle action blocking mode
|
55
|
+
--timeout SEC Fail when the action does not finish within the timeout
|
50
56
|
-v, --[no-]verbose Run verbosely
|
51
57
|
--client-version Show client version
|
52
58
|
--protocol-version Show protocol version
|
@@ -54,7 +60,14 @@ If you are a Nix user, the `nixpkgs.vpsfree-client` is available in
|
|
54
60
|
-h, --help Show this message
|
55
61
|
|
56
62
|
Commands:
|
63
|
+
action_state wait <STATE ID> Block until the action is finished
|
57
64
|
vps remote_console VPS_ID Open VPS remote console
|
65
|
+
vps migrate_many VPS_ID... Migrate multiple VPSes using a migration plan
|
66
|
+
snapshot download [SNAPSHOT_ID] Download a snapshot as an archive or a stream
|
67
|
+
snapshot send SNAPSHOT_ID Download a snapshot stream and write it on stdout
|
68
|
+
backup dataset [DATASET_ID] FILESYSTEM Backup dataset locally
|
69
|
+
backup vps [VPS_ID] FILESYSTEM Backup VPS locally
|
70
|
+
ip_traffic top Live IP traffic monitor
|
58
71
|
|
59
72
|
#### Examples
|
60
73
|
Authenticate using token and save it to config for later use:
|
data/vpsfree-client.gemspec
CHANGED
@@ -21,5 +21,5 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_development_dependency 'bundler'
|
22
22
|
spec.add_development_dependency 'rake'
|
23
23
|
|
24
|
-
spec.add_runtime_dependency 'vpsadmin-client', '3.0.0.master.
|
24
|
+
spec.add_runtime_dependency 'vpsadmin-client', '3.0.0.master.20220107-0.57b7b680'
|
25
25
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vpsfree-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jakub Skokan
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 3.0.0.master.
|
47
|
+
version: 3.0.0.master.20220107.pre.0.57b7b680
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 3.0.0.master.
|
54
|
+
version: 3.0.0.master.20220107.pre.0.57b7b680
|
55
55
|
description: Ruby API and CLI for vpsFree.cz API
|
56
56
|
email:
|
57
57
|
- jakub.skokan@vpsfree.cz
|