magellan-cli 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/magellan/cli.rb +4 -0
- data/lib/magellan/cli/{resources/cloudsql_instance.rb → cloudsql_instance.rb} +0 -2
- data/lib/magellan/cli/command.rb +4 -1
- data/lib/magellan/cli/resources.rb +1 -2
- data/lib/magellan/cli/version.rb +1 -1
- data/reference/en/index.md +3 -2
- data/reference/en/messaging/http.md +2 -2
- data/reference/en/messaging/mqtt.md +2 -2
- data/reference/en/resources/authority.md +2 -2
- data/reference/en/resources/client_version.md +2 -2
- data/reference/en/resources/cloudsql.md +2 -2
- data/reference/en/resources/cloudsql_instance.md +90 -0
- data/reference/en/resources/container.md +2 -2
- data/reference/en/resources/image.md +2 -2
- data/reference/en/resources/organization.md +2 -2
- data/reference/en/resources/project.md +2 -2
- data/reference/en/resources/stage.md +2 -2
- data/reference/en/resources/team.md +2 -2
- data/reference/en/resources/worker.md +2 -2
- data/reference/ja/index.md +3 -2
- data/reference/ja/messaging/http.md +2 -2
- data/reference/ja/messaging/mqtt.md +2 -2
- data/reference/ja/resources/authority.md +2 -2
- data/reference/ja/resources/client_version.md +2 -2
- data/reference/ja/resources/cloudsql.md +2 -2
- data/reference/ja/resources/cloudsql_instance.md +90 -0
- data/reference/ja/resources/container.md +2 -2
- data/reference/ja/resources/image.md +2 -2
- data/reference/ja/resources/organization.md +2 -2
- data/reference/ja/resources/project.md +2 -2
- data/reference/ja/resources/stage.md +2 -2
- data/reference/ja/resources/team.md +2 -2
- data/reference/ja/resources/worker.md +2 -2
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0eb1e28ff89edb4407b401f7b18ad74b32eddbb
|
4
|
+
data.tar.gz: f2cd62874e4291448c24e47665d5bd21a45f23d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5637b2c4a1f6dc9c67443698cf0aff7b3f9bf439636193340c3ef803b9e259b08e0bf22784af900abb7a926ed0261af17293a355518b3f25260baf9c050a1687
|
7
|
+
data.tar.gz: 52476eb57d8703e79ffe978ecf8b9221424cdd1f50f66c37b5bb02c570b6405b9ced26961f235fd52a29a8d2ef01782177bfc148dcddf31a26f5bfd4f789812f
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
magellan-cli (0.9.
|
4
|
+
magellan-cli (0.9.1)
|
5
5
|
activesupport (~> 4.1.4)
|
6
6
|
groovenauts-thor
|
7
7
|
httpclient (~> 2.5)
|
@@ -51,7 +51,7 @@ GEM
|
|
51
51
|
logger_pipe (0.3.1)
|
52
52
|
method_source (0.8.2)
|
53
53
|
mini_portile (0.6.2)
|
54
|
-
minitest (5.8.
|
54
|
+
minitest (5.8.2)
|
55
55
|
mqtt (0.3.1)
|
56
56
|
multi_json (1.10.1)
|
57
57
|
multipart-post (2.0.0)
|
data/lib/magellan/cli.rb
CHANGED
@@ -24,6 +24,10 @@ module Magellan
|
|
24
24
|
|
25
25
|
autoload :GemUpdate, "magellan/cli/gem_update"
|
26
26
|
|
27
|
+
# CloudsqlInstance looks like one of resources,
|
28
|
+
# but this class use gcloud command instead of magellan-api.
|
29
|
+
autoload :CloudsqlInstance, "magellan/cli/cloudsql_instance"
|
30
|
+
|
27
31
|
class << self
|
28
32
|
attr_accessor :last_result
|
29
33
|
end
|
data/lib/magellan/cli/command.rb
CHANGED
@@ -56,12 +56,15 @@ module Magellan
|
|
56
56
|
subcommand name, ::Magellan::Cli::Resources.const_get(classname)
|
57
57
|
end
|
58
58
|
|
59
|
+
desc "cloudsql_instance SUBCOMMAND ...ARGS", I18n.t(:manage_resource, scope: [:command, :cmd], resource: "cloudsql_instances")
|
60
|
+
subcommand "cloudsql_instance", ::Magellan::Cli::CloudsqlInstance
|
61
|
+
|
59
62
|
Messaging::MAPPING.each do |classname, name|
|
60
63
|
desc "#{name} SUBCOMMAND ...ARGS", I18n.t(name.to_sym, scope: [:command, :cmd, :messaging])
|
61
64
|
subcommand name, ::Magellan::Cli::Messaging.const_get(classname)
|
62
65
|
end
|
63
66
|
|
64
|
-
COMMAND_ORDER = %w[login] + Resources::MAPPING.values + Messaging::MAPPING.values
|
67
|
+
COMMAND_ORDER = %w[login] + Resources::MAPPING.values + %w[cloudsql_instance] + Messaging::MAPPING.values
|
65
68
|
|
66
69
|
#desc "direct SUBCOMMAND ...ARGS", "Send request directly"
|
67
70
|
#subcommand "direct", ::Magellan::Cli::Direct
|
@@ -24,7 +24,6 @@ module Magellan
|
|
24
24
|
autoload :Container , "magellan/cli/resources/container"
|
25
25
|
|
26
26
|
autoload :Cloudsql, "magellan/cli/resources/cloudsql"
|
27
|
-
autoload :CloudsqlInstance, "magellan/cli/resources/cloudsql_instance"
|
28
27
|
|
29
28
|
autoload :Deletable, "magellan/cli/resources/deletable"
|
30
29
|
|
@@ -42,7 +41,7 @@ module Magellan
|
|
42
41
|
"Image" => "image",
|
43
42
|
"Container" => "container",
|
44
43
|
"Cloudsql" => "cloudsql",
|
45
|
-
"CloudsqlInstance" => "cloudsql_instance",
|
44
|
+
# "CloudsqlInstance" => "cloudsql_instance", # This is not a resource
|
46
45
|
}
|
47
46
|
|
48
47
|
class << self
|
data/lib/magellan/cli/version.rb
CHANGED
data/reference/en/index.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.
|
3
|
+
title: magellan-cli-0.9 (en) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.9</a> / en <a href="/reference/ja/index.html">ja</a>
|
5
5
|
---
|
6
6
|
|
7
7
|
## Commands
|
@@ -17,6 +17,7 @@ breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="
|
|
17
17
|
- [magellan-cli image SUBCOMMAND ...ARGS](./resources/image.html)
|
18
18
|
- [magellan-cli container SUBCOMMAND ...ARGS](./resources/container.html)
|
19
19
|
- [magellan-cli cloudsql SUBCOMMAND ...ARGS](./resources/cloudsql.html)
|
20
|
+
- [magellan-cli cloudsql_instance SUBCOMMAND ...ARGS](./resources/cloudsql_instance.html)
|
20
21
|
- [magellan-cli http SUBCOMMAND ...ARGS](./messaging/http.html)
|
21
22
|
- [magellan-cli mqtt SUBCOMMAND ...ARGS](./messaging/mqtt.html)
|
22
23
|
- [magellan-cli info](#info)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: http | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.
|
3
|
+
title: http | magellan-cli-0.9 (en) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.9</a> / http en <a href="/reference/ja/messaging/http.html">ja</a>
|
5
5
|
---
|
6
6
|
|
7
7
|
## Commands
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: mqtt | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.
|
3
|
+
title: mqtt | magellan-cli-0.9 (en) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.9</a> / mqtt en <a href="/reference/ja/messaging/mqtt.html">ja</a>
|
5
5
|
---
|
6
6
|
|
7
7
|
## Commands
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: authority | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.
|
3
|
+
title: authority | magellan-cli-0.9 (en) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.9</a> / authority en <a href="/reference/ja/resources/authority.html">ja</a>
|
5
5
|
---
|
6
6
|
|
7
7
|
## Commands
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: client_version | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.
|
3
|
+
title: client_version | magellan-cli-0.9 (en) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.9</a> / client_version en <a href="/reference/ja/resources/client_version.html">ja</a>
|
5
5
|
---
|
6
6
|
|
7
7
|
## Commands
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: cloudsql | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.
|
3
|
+
title: cloudsql | magellan-cli-0.9 (en) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.9</a> / cloudsql en <a href="/reference/ja/resources/cloudsql.html">ja</a>
|
5
5
|
---
|
6
6
|
|
7
7
|
## Commands
|
@@ -0,0 +1,90 @@
|
|
1
|
+
---
|
2
|
+
layout: index
|
3
|
+
title: cloudsql_instance | magellan-cli-0.9 (en) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.9</a> / cloudsql_instance en <a href="/reference/ja/resources/cloudsql_instance.html">ja</a>
|
5
|
+
---
|
6
|
+
|
7
|
+
## Commands
|
8
|
+
|
9
|
+
- [magellan-cli cloudsql_instance create INSTANCE](#create)
|
10
|
+
- [magellan-cli cloudsql_instance delete INSTANCE](#delete)
|
11
|
+
- [magellan-cli cloudsql_instance list](#list)
|
12
|
+
- [magellan-cli cloudsql_instance help [COMMAND]](#help)
|
13
|
+
|
14
|
+
## Global Options
|
15
|
+
|
16
|
+
```text
|
17
|
+
Options:
|
18
|
+
-v, [--version], [--no-version] # Show the program version
|
19
|
+
-V, [--verbose], [--no-verbose] # Show additional logging information
|
20
|
+
-D, [--dryrun], [--no-dryrun] # Do a dry run without executing actions
|
21
|
+
|
22
|
+
```
|
23
|
+
|
24
|
+
|
25
|
+
## Details
|
26
|
+
### <a name="create"></a>create
|
27
|
+
|
28
|
+
```text
|
29
|
+
magellan-cli cloudsql_instance create INSTANCE
|
30
|
+
```
|
31
|
+
|
32
|
+
```text
|
33
|
+
Options:
|
34
|
+
[--tier=TIER] # Tier of Cloud SQL instance. see also https://cloud.google.com/sql/pricing
|
35
|
+
# Default: D0
|
36
|
+
# Possible values: D0, D1, D2, D4, D8, D16, D32
|
37
|
+
[--region=REGION] # Region where the Cloud SQL instance works
|
38
|
+
# Default: asia-east1
|
39
|
+
[--activation-policy=ACTIVATION-POLICY] # The activation policy for this instance. This specifies when the instance should be activated and is applicable only when the instance state is RUNNABLE.
|
40
|
+
# Default: ON_DEMAND
|
41
|
+
# Possible values: ALWAYS, NEVER, ON_DEMAND
|
42
|
+
[--skip-assign-ip], [--no-skip-assign-ip] # Specified unless the instance must be assigned an IP address.
|
43
|
+
[--authorized-networks=AUTHORIZED-NETWORKS] # The list of external networks that are allowed to connect to the instance. Specified in CIDR notation, also known as 'slash' notation (e.g. 192.168.100.0/24).
|
44
|
+
# Default: 0.0.0.0/0
|
45
|
+
[--gce-zone=GCE-ZONE] # The preferred Compute Engine zone (e.g. us-central1-a, us-central1-b, etc.).
|
46
|
+
# Default: asia-east1-c
|
47
|
+
[--pricing-plan=PRICING-PLAN] # The pricing plan for this instance.
|
48
|
+
# Default: PER_USE
|
49
|
+
# Possible values: PACKAGE, PER_USE
|
50
|
+
-p, [--password=PASSWORD] # The password for the root user.
|
51
|
+
[--account=ACCOUNT] # Google Cloud Platform user account to use for invocation.
|
52
|
+
[--log-http], [--no-log-http] # Log all HTTP server requests and responses to stderr.
|
53
|
+
[--project=PROJECT] # Google Cloud Platform project ID to use for this invocation.
|
54
|
+
[--trace-token=TRACE-TOKEN] # Token used to route traces of service requests for investigation of issues.
|
55
|
+
[--user-output-enabled], [--no-user-output-enabled] # Print user intended output to the console.
|
56
|
+
[--verbosity=VERBOSITY] # Override the default verbosity for this command. This must be a standard logging verbosity level: [debug, info, warning, error, critical, none] (Default: [warning]).
|
57
|
+
# Default: info
|
58
|
+
# Possible values: debug, info, warning, error, critical, none
|
59
|
+
[--async], [--no-async] # translation missing: en.resources.cloudsql_instance.cmd_create.async
|
60
|
+
[--format=FORMAT] # Ignored even if it's given.
|
61
|
+
# Default: json
|
62
|
+
|
63
|
+
```
|
64
|
+
|
65
|
+
Create a new CloudSQL instance by INSTANCE
|
66
|
+
|
67
|
+
### <a name="delete"></a>delete
|
68
|
+
|
69
|
+
```text
|
70
|
+
magellan-cli cloudsql_instance delete INSTANCE
|
71
|
+
```
|
72
|
+
|
73
|
+
Delete the CloudSQL instance by INSTANCE
|
74
|
+
|
75
|
+
### <a name="list"></a>list
|
76
|
+
|
77
|
+
```text
|
78
|
+
magellan-cli cloudsql_instance list
|
79
|
+
```
|
80
|
+
|
81
|
+
Show list of the CloudSQL instance
|
82
|
+
|
83
|
+
### <a name="help"></a>help
|
84
|
+
|
85
|
+
```text
|
86
|
+
magellan-cli cloudsql_instance help [COMMAND]
|
87
|
+
```
|
88
|
+
|
89
|
+
Describe available commands or one specific command
|
90
|
+
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: container | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.
|
3
|
+
title: container | magellan-cli-0.9 (en) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.9</a> / container en <a href="/reference/ja/resources/container.html">ja</a>
|
5
5
|
---
|
6
6
|
|
7
7
|
## Commands
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: image | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.
|
3
|
+
title: image | magellan-cli-0.9 (en) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.9</a> / image en <a href="/reference/ja/resources/image.html">ja</a>
|
5
5
|
---
|
6
6
|
|
7
7
|
## Commands
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: organization | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.
|
3
|
+
title: organization | magellan-cli-0.9 (en) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.9</a> / organization en <a href="/reference/ja/resources/organization.html">ja</a>
|
5
5
|
---
|
6
6
|
|
7
7
|
## Commands
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: project | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.
|
3
|
+
title: project | magellan-cli-0.9 (en) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.9</a> / project en <a href="/reference/ja/resources/project.html">ja</a>
|
5
5
|
---
|
6
6
|
|
7
7
|
## Commands
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: stage | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.
|
3
|
+
title: stage | magellan-cli-0.9 (en) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.9</a> / stage en <a href="/reference/ja/resources/stage.html">ja</a>
|
5
5
|
---
|
6
6
|
|
7
7
|
## Commands
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: team | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.
|
3
|
+
title: team | magellan-cli-0.9 (en) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.9</a> / team en <a href="/reference/ja/resources/team.html">ja</a>
|
5
5
|
---
|
6
6
|
|
7
7
|
## Commands
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: worker | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.
|
3
|
+
title: worker | magellan-cli-0.9 (en) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/en">magellan-cli-0.9</a> / worker en <a href="/reference/ja/resources/worker.html">ja</a>
|
5
5
|
---
|
6
6
|
|
7
7
|
## Commands
|
data/reference/ja/index.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.
|
3
|
+
title: magellan-cli-0.9 (ja) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.9</a> / <a href="/reference/en/index.html">en</a> ja
|
5
5
|
---
|
6
6
|
|
7
7
|
## コマンドの一覧
|
@@ -17,6 +17,7 @@ breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="
|
|
17
17
|
- [magellan-cli image SUBCOMMAND ...ARGS](./resources/image.html)
|
18
18
|
- [magellan-cli container SUBCOMMAND ...ARGS](./resources/container.html)
|
19
19
|
- [magellan-cli cloudsql SUBCOMMAND ...ARGS](./resources/cloudsql.html)
|
20
|
+
- [magellan-cli cloudsql_instance SUBCOMMAND ...ARGS](./resources/cloudsql_instance.html)
|
20
21
|
- [magellan-cli http SUBCOMMAND ...ARGS](./messaging/http.html)
|
21
22
|
- [magellan-cli mqtt SUBCOMMAND ...ARGS](./messaging/mqtt.html)
|
22
23
|
- [magellan-cli info](#info)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: http | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.
|
3
|
+
title: http | magellan-cli-0.9 (ja) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.9</a> / http <a href="/reference/en/messaging/http.html">en</a> ja
|
5
5
|
---
|
6
6
|
|
7
7
|
## コマンドの一覧
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: mqtt | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.
|
3
|
+
title: mqtt | magellan-cli-0.9 (ja) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.9</a> / mqtt <a href="/reference/en/messaging/mqtt.html">en</a> ja
|
5
5
|
---
|
6
6
|
|
7
7
|
## コマンドの一覧
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: authority | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.
|
3
|
+
title: authority | magellan-cli-0.9 (ja) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.9</a> / authority <a href="/reference/en/resources/authority.html">en</a> ja
|
5
5
|
---
|
6
6
|
|
7
7
|
## コマンドの一覧
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: client_version | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.
|
3
|
+
title: client_version | magellan-cli-0.9 (ja) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.9</a> / client_version <a href="/reference/en/resources/client_version.html">en</a> ja
|
5
5
|
---
|
6
6
|
|
7
7
|
## コマンドの一覧
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: cloudsql | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.
|
3
|
+
title: cloudsql | magellan-cli-0.9 (ja) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.9</a> / cloudsql <a href="/reference/en/resources/cloudsql.html">en</a> ja
|
5
5
|
---
|
6
6
|
|
7
7
|
## コマンドの一覧
|
@@ -0,0 +1,90 @@
|
|
1
|
+
---
|
2
|
+
layout: index
|
3
|
+
title: cloudsql_instance | magellan-cli-0.9 (ja) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.9</a> / cloudsql_instance <a href="/reference/en/resources/cloudsql_instance.html">en</a> ja
|
5
|
+
---
|
6
|
+
|
7
|
+
## コマンドの一覧
|
8
|
+
|
9
|
+
- [magellan-cli cloudsql_instance create INSTANCE](#create)
|
10
|
+
- [magellan-cli cloudsql_instance delete INSTANCE](#delete)
|
11
|
+
- [magellan-cli cloudsql_instance list](#list)
|
12
|
+
- [magellan-cli cloudsql_instance help [COMMAND]](#help)
|
13
|
+
|
14
|
+
## 共通オプション
|
15
|
+
|
16
|
+
```text
|
17
|
+
Options:
|
18
|
+
-v, [--version], [--no-version] # バージョンを表示します
|
19
|
+
-V, [--verbose], [--no-verbose] # 追加のログ情報を表示します
|
20
|
+
-D, [--dryrun], [--no-dryrun] # 登録や削除などのシステムには反映させずにアクションを実行します
|
21
|
+
|
22
|
+
```
|
23
|
+
|
24
|
+
|
25
|
+
## コマンドの詳細
|
26
|
+
### <a name="create"></a>create
|
27
|
+
|
28
|
+
```text
|
29
|
+
magellan-cli cloudsql_instance create INSTANCE
|
30
|
+
```
|
31
|
+
|
32
|
+
```text
|
33
|
+
Options:
|
34
|
+
[--tier=TIER] # Cloud SQLのインスタンスの階層。詳しくは https://cloud.google.com/sql/pricing を参照してください。
|
35
|
+
# Default: D0
|
36
|
+
# Possible values: D0, D1, D2, D4, D8, D16, D32
|
37
|
+
[--region=REGION] # Cloud SQLのインスタンスを動かす地域
|
38
|
+
# Default: asia-east1
|
39
|
+
[--activation-policy=ACTIVATION-POLICY] # Cloud SQLのインスタンスを有効にするポリシー
|
40
|
+
# Default: ON_DEMAND
|
41
|
+
# Possible values: ALWAYS, NEVER, ON_DEMAND
|
42
|
+
[--skip-assign-ip], [--no-skip-assign-ip] # IPv4 アドレスを割り当てない
|
43
|
+
[--authorized-networks=AUTHORIZED-NETWORKS] # 承認済みネットワーク
|
44
|
+
# Default: 0.0.0.0/0
|
45
|
+
[--gce-zone=GCE-ZONE] # 希望する場所
|
46
|
+
# Default: asia-east1-c
|
47
|
+
[--pricing-plan=PRICING-PLAN] # 料金プラン
|
48
|
+
# Default: PER_USE
|
49
|
+
# Possible values: PACKAGE, PER_USE
|
50
|
+
-p, [--password=PASSWORD] # Cloud SQLのrootユーザのパスワード
|
51
|
+
[--account=ACCOUNT] # GCPユーザアカウント
|
52
|
+
[--log-http], [--no-log-http] # 全てのHTTPのリクエストとレスポンスを標準エラー出力に出力します
|
53
|
+
[--project=PROJECT] # GCPプロジェクト
|
54
|
+
[--trace-token=TRACE-TOKEN] # トレーストークン
|
55
|
+
[--user-output-enabled], [--no-user-output-enabled] # コンソールにユーザを出力します
|
56
|
+
[--verbosity=VERBOSITY] # ログレベル
|
57
|
+
# Default: info
|
58
|
+
# Possible values: debug, info, warning, error, critical, none
|
59
|
+
[--async], [--no-async] # 指定しても無視されます
|
60
|
+
[--format=FORMAT] # 指定しても無視されます
|
61
|
+
# Default: json
|
62
|
+
|
63
|
+
```
|
64
|
+
|
65
|
+
INSTANCEを指定してCloudSQL instanceを登録します
|
66
|
+
|
67
|
+
### <a name="delete"></a>delete
|
68
|
+
|
69
|
+
```text
|
70
|
+
magellan-cli cloudsql_instance delete INSTANCE
|
71
|
+
```
|
72
|
+
|
73
|
+
INSTANCEを指定してCloudSQL instanceを削除します
|
74
|
+
|
75
|
+
### <a name="list"></a>list
|
76
|
+
|
77
|
+
```text
|
78
|
+
magellan-cli cloudsql_instance list
|
79
|
+
```
|
80
|
+
|
81
|
+
CloudSQL instanceの一覧を表示します
|
82
|
+
|
83
|
+
### <a name="help"></a>help
|
84
|
+
|
85
|
+
```text
|
86
|
+
magellan-cli cloudsql_instance help [COMMAND]
|
87
|
+
```
|
88
|
+
|
89
|
+
利用可能なコマンドの一覧か特定のコマンドの説明を表示します
|
90
|
+
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: container | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.
|
3
|
+
title: container | magellan-cli-0.9 (ja) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.9</a> / container <a href="/reference/en/resources/container.html">en</a> ja
|
5
5
|
---
|
6
6
|
|
7
7
|
## コマンドの一覧
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: image | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.
|
3
|
+
title: image | magellan-cli-0.9 (ja) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.9</a> / image <a href="/reference/en/resources/image.html">en</a> ja
|
5
5
|
---
|
6
6
|
|
7
7
|
## コマンドの一覧
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: organization | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.
|
3
|
+
title: organization | magellan-cli-0.9 (ja) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.9</a> / organization <a href="/reference/en/resources/organization.html">en</a> ja
|
5
5
|
---
|
6
6
|
|
7
7
|
## コマンドの一覧
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: project | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.
|
3
|
+
title: project | magellan-cli-0.9 (ja) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.9</a> / project <a href="/reference/en/resources/project.html">en</a> ja
|
5
5
|
---
|
6
6
|
|
7
7
|
## コマンドの一覧
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: stage | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.
|
3
|
+
title: stage | magellan-cli-0.9 (ja) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.9</a> / stage <a href="/reference/en/resources/stage.html">en</a> ja
|
5
5
|
---
|
6
6
|
|
7
7
|
## コマンドの一覧
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: team | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.
|
3
|
+
title: team | magellan-cli-0.9 (ja) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.9</a> / team <a href="/reference/en/resources/team.html">en</a> ja
|
5
5
|
---
|
6
6
|
|
7
7
|
## コマンドの一覧
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
layout: index
|
3
|
-
title: worker | magellan-cli-0.
|
4
|
-
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.
|
3
|
+
title: worker | magellan-cli-0.9 (ja) | Reference
|
4
|
+
breadcrumb: <a href="/">Top</a> / <a href="/reference">Reference</a> / <a href="/reference/magellan-cli/ja">magellan-cli-0.9</a> / worker <a href="/reference/en/resources/worker.html">en</a> ja
|
5
5
|
---
|
6
6
|
|
7
7
|
## コマンドの一覧
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: magellan-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- akm2000
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|
@@ -204,6 +204,7 @@ files:
|
|
204
204
|
- launch_options.json
|
205
205
|
- lib/magellan/cli.rb
|
206
206
|
- lib/magellan/cli/base.rb
|
207
|
+
- lib/magellan/cli/cloudsql_instance.rb
|
207
208
|
- lib/magellan/cli/command.rb
|
208
209
|
- lib/magellan/cli/direct.rb
|
209
210
|
- lib/magellan/cli/errors.rb
|
@@ -223,7 +224,6 @@ files:
|
|
223
224
|
- lib/magellan/cli/resources/base.rb
|
224
225
|
- lib/magellan/cli/resources/client_version.rb
|
225
226
|
- lib/magellan/cli/resources/cloudsql.rb
|
226
|
-
- lib/magellan/cli/resources/cloudsql_instance.rb
|
227
227
|
- lib/magellan/cli/resources/container.rb
|
228
228
|
- lib/magellan/cli/resources/deletable.rb
|
229
229
|
- lib/magellan/cli/resources/image.rb
|
@@ -244,6 +244,7 @@ files:
|
|
244
244
|
- reference/en/resources/authority.md
|
245
245
|
- reference/en/resources/client_version.md
|
246
246
|
- reference/en/resources/cloudsql.md
|
247
|
+
- reference/en/resources/cloudsql_instance.md
|
247
248
|
- reference/en/resources/container.md
|
248
249
|
- reference/en/resources/image.md
|
249
250
|
- reference/en/resources/organization.md
|
@@ -257,6 +258,7 @@ files:
|
|
257
258
|
- reference/ja/resources/authority.md
|
258
259
|
- reference/ja/resources/client_version.md
|
259
260
|
- reference/ja/resources/cloudsql.md
|
261
|
+
- reference/ja/resources/cloudsql_instance.md
|
260
262
|
- reference/ja/resources/container.md
|
261
263
|
- reference/ja/resources/image.md
|
262
264
|
- reference/ja/resources/organization.md
|