gclouder 0.1.4 → 0.1.5

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.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/assets/arguments/compute/addresses.yml +13 -0
  3. data/assets/arguments/compute/disks.yml +31 -0
  4. data/assets/arguments/compute/firewall-rules.yml +20 -0
  5. data/assets/arguments/compute/instances.yml +92 -0
  6. data/assets/arguments/compute/networks/subnets.yml +13 -0
  7. data/assets/arguments/compute/networks.yml +10 -0
  8. data/assets/arguments/compute/routers.yml +13 -0
  9. data/assets/arguments/compute/target-vpn-gateways.yml +10 -0
  10. data/assets/arguments/compute/vpn-tunnels.yml +25 -0
  11. data/assets/arguments/container/clusters.yml +60 -0
  12. data/assets/arguments/container/node-pools.yml +26 -0
  13. data/assets/arguments/dns/managed-zones.yml +7 -0
  14. data/assets/arguments/dns/record-sets/transaction.yml +7 -0
  15. data/assets/defaults/compute/disks.yml +1 -0
  16. data/assets/mappings/file.yml +31 -0
  17. data/assets/mappings/property.yml +15 -0
  18. data/assets/resource_representations/compute/addresses.yml +11 -0
  19. data/assets/resource_representations/compute/disks.yml +29 -0
  20. data/assets/resource_representations/compute/firewalls.yml +14 -0
  21. data/assets/resource_representations/compute/instances.yml +62 -0
  22. data/assets/resource_representations/compute/networks.yml +11 -0
  23. data/assets/resource_representations/compute/routers.yml +22 -0
  24. data/assets/resource_representations/compute/subnetworks.yml +11 -0
  25. data/assets/resource_representations/compute/vpnTunnels.yml +18 -0
  26. data/assets/resource_representations/container-engine/projects.zones.clusters.nodePools.yml +11 -0
  27. data/assets/resource_representations/container-engine/projects.zones.clusters.yml +29 -0
  28. data/assets/resource_representations/logging/projects.sinks.yml +30 -0
  29. data/assets/resource_representations/pubsub/projects.subscriptions.yml +5 -0
  30. data/assets/resource_representations/pubsub/projects.topics.yml +2 -0
  31. data/lib/gclouder/version.rb +1 -1
  32. metadata +30 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aebd44cd833d2c4ee6510106f14ee6ad3e437cb1
4
- data.tar.gz: 9441334c990f1985203733497f9aa28c4bfdbb40
3
+ metadata.gz: 58368a926d4dbd0410141288dcf1c64a9be2fc6d
4
+ data.tar.gz: 04ecfbb1c15b29a26fbe5b40120cc5623d9c6b56
5
5
  SHA512:
6
- metadata.gz: 3e48402c65dca05914e9f8a4a6161c8a79c525544570ca4a1b3b91bbc0681b815f2cd789d53c33dcaa09a888c3d5949a55383a4002b361bb267a0be10c803876
7
- data.tar.gz: d4061c57be0b0a422642960306916490b8d0826c1570ff37f37d02b9ea10a27d7b87c1e858270e0cdc1dfb3f8d333b8d0a599613eaa29d8f9bf773a8dd4fadf0
6
+ metadata.gz: a362210436bf3a5827f3e2f8cf094e78f52e7ac551d87350c6447c49689aca2c0f9b1181e51f4a8dff18c6ffe238172684807d39de0063e6fae6b0e19fe68f8d
7
+ data.tar.gz: 925d53855ee6608f913439cdf6b1e435320d8d323092130d38e6ff1404ba86544175fec59fbf55242db0e96d9b34e8b8a3efd1d23b5cc0a40df6acd4c178b89e
@@ -0,0 +1,13 @@
1
+ ---
2
+ addresses:
3
+ type: Array
4
+ required: false
5
+ description:
6
+ type: String
7
+ required: false
8
+ global:
9
+ type: Boolean
10
+ required: false
11
+ region:
12
+ type: String
13
+ required: false
@@ -0,0 +1,31 @@
1
+ ---
2
+ csek_key_file:
3
+ type: String
4
+ required: false
5
+ description:
6
+ type: String
7
+ required: false
8
+ image:
9
+ type: String
10
+ required: false
11
+ image_family:
12
+ type: String
13
+ required: false
14
+ source_snapshot:
15
+ type: String
16
+ required: false
17
+ image_project:
18
+ type: String
19
+ required: false
20
+ no_require_csek_key_create:
21
+ type: Boolean
22
+ required: false
23
+ size:
24
+ type: String
25
+ required: false
26
+ type:
27
+ type: String
28
+ required: false
29
+ zone:
30
+ type: String
31
+ required: false
@@ -0,0 +1,20 @@
1
+ ---
2
+ allow:
3
+ type: Array
4
+ required: true
5
+ description:
6
+ type: String
7
+ required: false
8
+ network:
9
+ type: String
10
+ required: false
11
+ default: default
12
+ source_ranges:
13
+ type: Array
14
+ required: false
15
+ source_tags:
16
+ type: Array
17
+ required: false
18
+ target_tags:
19
+ type: Array
20
+ required: false
@@ -0,0 +1,92 @@
1
+ ---
2
+ no_boot_disk_auto_delete:
3
+ type: Boolean
4
+ required: false
5
+ boot_disk_device_name:
6
+ type: String
7
+ required: false
8
+ boot_disk_size:
9
+ type: String
10
+ required: false
11
+ boot_disk_type:
12
+ type: String
13
+ required: false
14
+ can_ip_forward:
15
+ type: Boolean
16
+ required: false
17
+ csek_key_file:
18
+ type: String
19
+ required: false
20
+ custom_cpu:
21
+ type: String
22
+ required: false
23
+ custom_memory:
24
+ type: String
25
+ required: false
26
+ description:
27
+ type: String
28
+ required: false
29
+ disk:
30
+ type: Array
31
+ required: false
32
+ image:
33
+ type: String
34
+ required: false
35
+ image_family:
36
+ type: String
37
+ required: false
38
+ image_project:
39
+ type: String
40
+ required: false
41
+ local_ssd:
42
+ type: Array
43
+ required: false
44
+ machine_type:
45
+ type: String
46
+ required: false
47
+ maintenance_policy:
48
+ type: String
49
+ required: false
50
+ metadata:
51
+ type: Array
52
+ required: false
53
+ metadata_from_file:
54
+ type: Array
55
+ required: false
56
+ network:
57
+ type: String
58
+ required: false
59
+ default: default
60
+ subnet:
61
+ type: String
62
+ required: false
63
+ address:
64
+ type: String
65
+ required: false
66
+ no_address:
67
+ type: Boolean
68
+ required: false
69
+ preemptible:
70
+ type: Boolean
71
+ required: false
72
+ private_network_ip:
73
+ type: String
74
+ required: false
75
+ no_require_csek_key_create:
76
+ type: Boolean
77
+ required: false
78
+ no_restart_on_failure:
79
+ type: Boolean
80
+ required: false
81
+ no_scopes:
82
+ type: Boolean
83
+ required: false
84
+ scopes:
85
+ type: Array
86
+ required: false
87
+ tags:
88
+ type: Array
89
+ required: false
90
+ zone:
91
+ type: String
92
+ required: false
@@ -0,0 +1,13 @@
1
+ ---
2
+ network:
3
+ type: String
4
+ required: true
5
+ range:
6
+ type: String
7
+ required: true
8
+ description:
9
+ type: String
10
+ required: false
11
+ region:
12
+ type: String
13
+ required: false
@@ -0,0 +1,10 @@
1
+ ---
2
+ description:
3
+ type: String
4
+ required: false
5
+ mode:
6
+ type: String
7
+ required: false
8
+ range:
9
+ type: String
10
+ required: false
@@ -0,0 +1,13 @@
1
+ ---
2
+ asn:
3
+ type: String
4
+ required: true
5
+ network:
6
+ type: String
7
+ required: true
8
+ description:
9
+ type: String
10
+ required: false
11
+ region:
12
+ type: String
13
+ required: false
@@ -0,0 +1,10 @@
1
+ ---
2
+ network:
3
+ type: String
4
+ required: true
5
+ description:
6
+ type: String
7
+ required: false
8
+ region:
9
+ type: String
10
+ required: false
@@ -0,0 +1,25 @@
1
+ ---
2
+ peer_address:
3
+ type: String
4
+ required: true
5
+ target_vpn_gateway:
6
+ type: String
7
+ required: true
8
+ description:
9
+ type: String
10
+ required: false
11
+ ike_version:
12
+ type: String
13
+ required: false
14
+ local_traffic_selector:
15
+ type: Array
16
+ required: false
17
+ region:
18
+ type: String
19
+ required: false
20
+ remote_traffic_selector:
21
+ type: Array
22
+ required: false
23
+ router:
24
+ type: String
25
+ required: false
@@ -0,0 +1,60 @@
1
+ ---
2
+ additional_zones:
3
+ type: Array
4
+ required: false
5
+ async:
6
+ type: Boolean
7
+ required: false
8
+ cluster_ipv4_cidr:
9
+ type: String
10
+ required: false
11
+ disable_addons:
12
+ type: Array
13
+ required: false
14
+ disk_size:
15
+ type: String
16
+ required: false
17
+ no_enable_cloud_endpoints:
18
+ type: Boolean
19
+ required: false
20
+ no_enable_cloud_logging:
21
+ type: Boolean
22
+ required: false
23
+ no_enable_cloud_monitoring:
24
+ type: Boolean
25
+ required: false
26
+ image_type:
27
+ type: String
28
+ required: false
29
+ machine_type:
30
+ type: String
31
+ required: false
32
+ max_nodes_per_pool:
33
+ type: String
34
+ required: false
35
+ network:
36
+ type: String
37
+ required: false
38
+ num_nodes:
39
+ type: String
40
+ required: false
41
+ default: 3
42
+ password:
43
+ type: String
44
+ required: false
45
+ scopes:
46
+ type: Array
47
+ required: false
48
+ subnetwork:
49
+ type: String
50
+ required: false
51
+ username:
52
+ type: String
53
+ required: false
54
+ default: admin
55
+ wait:
56
+ type: Boolean
57
+ required: false
58
+ zone:
59
+ type: String
60
+ required: false
@@ -0,0 +1,26 @@
1
+ ---
2
+ cluster:
3
+ type: String
4
+ required: false
5
+ disk_size:
6
+ type: String
7
+ required: false
8
+ no_enable_cloud_endpoints:
9
+ type: Boolean
10
+ required: false
11
+ image_type:
12
+ type: String
13
+ required: false
14
+ machine_type:
15
+ type: String
16
+ required: false
17
+ num_nodes:
18
+ type: String
19
+ required: false
20
+ default: 3
21
+ scopes:
22
+ type: Array
23
+ required: false
24
+ zone:
25
+ type: String
26
+ required: false
@@ -0,0 +1,7 @@
1
+ ---
2
+ description:
3
+ type: String
4
+ required: true
5
+ dns_name:
6
+ type: String
7
+ required: true
@@ -0,0 +1,7 @@
1
+ ---
2
+ name:
3
+ type: String
4
+ required: true
5
+ zone:
6
+ type: Array
7
+ required: true
@@ -0,0 +1 @@
1
+ type: pd-standard
@@ -0,0 +1,31 @@
1
+ compute::networks::subnets:
2
+ - compute
3
+ - subnetworks
4
+
5
+ compute::firewall-rules:
6
+ - compute
7
+ - firewalls
8
+
9
+ compute::vpn-tunnels:
10
+ - compute
11
+ - vpnTunnels
12
+
13
+ compute::target-vpn-gateways:
14
+ - compute
15
+ - vpnTunnels
16
+
17
+ container::clusters:
18
+ - container-engine
19
+ - projects.zones.clusters
20
+
21
+ container::node-pools:
22
+ - container-engine
23
+ - projects.zones.clusters.nodePools
24
+
25
+ beta::pubsub::subscriptions:
26
+ - pubsub
27
+ - projects.subscriptions
28
+
29
+ beta::pubsub::topics:
30
+ - pubsub
31
+ - projects.topics
@@ -0,0 +1,15 @@
1
+ compute::networks::subnets:
2
+ range:
3
+ - ip_cidr_range
4
+
5
+ compute::instances:
6
+ subnet:
7
+ - compute
8
+ - instances
9
+ - network_interfaces
10
+ - 0
11
+ - subnetwork
12
+
13
+ compute::disks:
14
+ size:
15
+ - size_gb
@@ -0,0 +1,11 @@
1
+ ---
2
+ address: String
3
+ creation_timestamp: OutputOnly
4
+ description: String
5
+ id: OutputOnly
6
+ kind: OutputOnly
7
+ name: String
8
+ region: OutputOnly
9
+ self_link: OutputOnly
10
+ status: OutputOnly
11
+ users: OutputOnly
@@ -0,0 +1,29 @@
1
+ ---
2
+ creation_timestamp: OutputOnly
3
+ description: String
4
+ disk_encryption_key:
5
+ raw_key: String
6
+ sha256: String
7
+ id: OutputOnly
8
+ kind: OutputOnly
9
+ last_attach_timestamp: OutputOnly
10
+ last_detach_timestamp: OutputOnly
11
+ licenses: Array
12
+ name: String
13
+ options: String
14
+ self_link: OutputOnly
15
+ size_gb: Integer
16
+ source_image: String
17
+ source_image_encryption_key:
18
+ raw_key: String
19
+ sha256: String
20
+ source_image_id: OutputOnly
21
+ source_snapshot: String
22
+ source_snapshot_encryption_key:
23
+ raw_key: String
24
+ sha256: String
25
+ source_snapshot_id: OutputOnly
26
+ status: OutputOnly
27
+ type: String
28
+ users: OutputOnly
29
+ zone: OutputOnly
@@ -0,0 +1,14 @@
1
+ ---
2
+ allowed:
3
+ ip_protocol: String
4
+ ports: Array
5
+ creation_timestamp: OutputOnly
6
+ description: String
7
+ id: OutputOnly
8
+ kind: String
9
+ name: String
10
+ network: String
11
+ self_link: OutputOnly
12
+ source_ranges: Array
13
+ source_tags: Array
14
+ target_tags: Array
@@ -0,0 +1,62 @@
1
+ ---
2
+ can_ip_forward: Boolean
3
+ cpu_platform: OutputOnly
4
+ creation_timestamp: OutputOnly
5
+ description: String
6
+ disks:
7
+ auto_delete: Boolean
8
+ boot: Boolean
9
+ device_name: String
10
+ disk_encryption_key:
11
+ raw_key: String
12
+ sha256: String
13
+ index: Integer
14
+ initialize_params:
15
+ disk_name: String
16
+ disk_size_gb: Integer
17
+ disk_type: String
18
+ source_image: String
19
+ source_image_encryption_key:
20
+ raw_key: String
21
+ sha256: String
22
+ interface: String
23
+ kind: OutputOnly
24
+ licenses: OutputOnly
25
+ mode: String
26
+ source: String
27
+ type: String
28
+ id: OutputOnly
29
+ kind: OutputOnly
30
+ machine_type: String
31
+ metadata:
32
+ fingerprint: String
33
+ items:
34
+ key: String
35
+ value: String
36
+ kind: OutputOnly
37
+ name: String
38
+ network_interfaces:
39
+ access_configs:
40
+ kind: OutputOnly
41
+ name: String
42
+ nat_ip: String
43
+ type: String
44
+ kind: OutputOnly
45
+ name: OutputOnly
46
+ network: String
47
+ network_ip: String
48
+ subnetwork: String
49
+ scheduling:
50
+ automatic_restart: Boolean
51
+ on_host_maintenance: String
52
+ preemptible: Boolean
53
+ self_link: OutputOnly
54
+ service_accounts:
55
+ email: String
56
+ scopes: Array
57
+ status: OutputOnly
58
+ status_message: OutputOnly
59
+ tags:
60
+ fingerprint: String
61
+ items: Array
62
+ zone: OutputOnly
@@ -0,0 +1,11 @@
1
+ ---
2
+ ipv4_range: String
3
+ auto_create_subnetworks: Boolean
4
+ creation_timestamp: OutputOnly
5
+ description: String
6
+ gateway_ipv4: String
7
+ id: OutputOnly
8
+ kind: OutputOnly
9
+ name: String
10
+ self_link: OutputOnly
11
+ subnetworks: OutputOnly
@@ -0,0 +1,22 @@
1
+ ---
2
+ bgp:
3
+ asn: unsigned integer
4
+ bgp_peers:
5
+ advertised_route_priority: unsigned integer
6
+ interface_name: String
7
+ ip_address: String
8
+ name: String
9
+ peer_asn: unsigned integer
10
+ peer_ip_address: String
11
+ creation_timestamp: OutputOnly
12
+ description: String
13
+ id: OutputOnly
14
+ interfaces:
15
+ ip_range: String
16
+ linked_vpn_tunnel: String
17
+ name: String
18
+ kind: OutputOnly
19
+ name: String
20
+ network: String
21
+ region: OutputOnly
22
+ self_link: OutputOnly
@@ -0,0 +1,11 @@
1
+ ---
2
+ creation_timestamp: OutputOnly
3
+ description: String
4
+ gateway_address: OutputOnly
5
+ id: OutputOnly
6
+ ip_cidr_range: String
7
+ kind: OutputOnly
8
+ name: String
9
+ network: String
10
+ region: String
11
+ self_link: OutputOnly
@@ -0,0 +1,18 @@
1
+ ---
2
+ creation_timestamp: OutputOnly
3
+ description: String
4
+ detailed_status: OutputOnly
5
+ id: OutputOnly
6
+ ike_version: Integer
7
+ kind: OutputOnly
8
+ local_traffic_selector: Array
9
+ name: String
10
+ peer_ip: String
11
+ region: OutputOnly
12
+ remote_traffic_selector: Array
13
+ router: String
14
+ self_link: OutputOnly
15
+ shared_secret: String
16
+ shared_secret_hash: String
17
+ status: OutputOnly
18
+ target_vpn_gateway: String
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: String
3
+ config: Object
4
+ initial_node_count: Integer
5
+ self_link: String
6
+ version: String
7
+ instance_group_urls: String
8
+ status: Array
9
+ status_message: String
10
+ autoscaling: Object
11
+ management: Object
@@ -0,0 +1,29 @@
1
+ ---
2
+ name: String
3
+ description: String
4
+ initial_node_count: Integer
5
+ node_config: Object
6
+ master_auth: Object
7
+ logging_service: String
8
+ monitoring_service: String
9
+ network: String
10
+ cluster_ipv4_cidr: String
11
+ addons_config: Object
12
+ subnetwork: String
13
+ node_pools: Object
14
+ locations: String
15
+ enable_kubernetes_alpha: Boolean
16
+ self_link: String
17
+ zone: String
18
+ endpoint: String
19
+ initial_cluster_version: String
20
+ current_master_version: String
21
+ current_node_version: String
22
+ create_time: String
23
+ status: Array
24
+ status_message: String
25
+ node_ipv4_cidr_size: Integer
26
+ services_ipv4_cidr: String
27
+ instance_group_urls: String
28
+ current_node_count: Integer
29
+ expire_time: String
@@ -0,0 +1,30 @@
1
+ ---
2
+ name: String
3
+ destination: String
4
+ "\"storage":
5
+ googleapis:
6
+ com/[gcs_bucket]": '"bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"'
7
+ ? the sink's writer_identity, set when the sink is created, must have permission to
8
+ write to the destination or else the log entries are not exported
9
+ : " for more information, see exporting logs with sinks": filter
10
+ optional:
11
+ " an advanced logs filter":
12
+ " the only exported log entries are those that are in the resource owning the sink and that match the filter":
13
+ " the filter must use the log entry format specified by the output_version_format parameter":
14
+ " for example, in the v2 format:": logName="projects/[PROJECT_ID]/logs/[LOG_ID]"
15
+ AND severity>=ERROR
16
+ enum(version_format): Optional. The log entry format to use for this sink's exported
17
+ log entries. The v2 format is used by default. The v1 format is deprecated and should
18
+ be used only as part of a migration effort to v2. See Migration to the v2 API.
19
+ string: Output only. An IAM identity—a service account or group—under which Stackdriver
20
+ Logging writes the exported log entries to the sink's destination. This field is
21
+ set by sinks.create and sinks.update, based on the setting of uniqueWriterIdentity
22
+ in those methods.Until you grant this identity write-access to the destination,
23
+ log entry exports from this sink will fail. For more information, see Granting access
24
+ for a resource. Consult the destination service's documentation to determine the
25
+ appropriate IAM roles to assign to the identity.
26
+ string (timestamp format): 'Optional. The time at which this sink will stop exporting
27
+ log entries. Log entries are exported only if their timestamp is earlier than the
28
+ end time. If this field is not supplied, there is no end time. If both a start time
29
+ and an end time are provided, then the end time must be later than the start time.A
30
+ timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".'
@@ -0,0 +1,5 @@
1
+ ---
2
+ name: String
3
+ topic: String
4
+ push_config: Object
5
+ ack_deadline_seconds: Integer
@@ -0,0 +1,2 @@
1
+ ---
2
+ name: String
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  module GClouder
4
- VERSION = "0.1.4"
4
+ VERSION = "0.1.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gclouder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Wilson
@@ -174,6 +174,35 @@ extensions: []
174
174
  extra_rdoc_files: []
175
175
  files:
176
176
  - README.md
177
+ - assets/arguments/compute/addresses.yml
178
+ - assets/arguments/compute/disks.yml
179
+ - assets/arguments/compute/firewall-rules.yml
180
+ - assets/arguments/compute/instances.yml
181
+ - assets/arguments/compute/networks.yml
182
+ - assets/arguments/compute/networks/subnets.yml
183
+ - assets/arguments/compute/routers.yml
184
+ - assets/arguments/compute/target-vpn-gateways.yml
185
+ - assets/arguments/compute/vpn-tunnels.yml
186
+ - assets/arguments/container/clusters.yml
187
+ - assets/arguments/container/node-pools.yml
188
+ - assets/arguments/dns/managed-zones.yml
189
+ - assets/arguments/dns/record-sets/transaction.yml
190
+ - assets/defaults/compute/disks.yml
191
+ - assets/mappings/file.yml
192
+ - assets/mappings/property.yml
193
+ - assets/resource_representations/compute/addresses.yml
194
+ - assets/resource_representations/compute/disks.yml
195
+ - assets/resource_representations/compute/firewalls.yml
196
+ - assets/resource_representations/compute/instances.yml
197
+ - assets/resource_representations/compute/networks.yml
198
+ - assets/resource_representations/compute/routers.yml
199
+ - assets/resource_representations/compute/subnetworks.yml
200
+ - assets/resource_representations/compute/vpnTunnels.yml
201
+ - assets/resource_representations/container-engine/projects.zones.clusters.nodePools.yml
202
+ - assets/resource_representations/container-engine/projects.zones.clusters.yml
203
+ - assets/resource_representations/logging/projects.sinks.yml
204
+ - assets/resource_representations/pubsub/projects.subscriptions.yml
205
+ - assets/resource_representations/pubsub/projects.topics.yml
177
206
  - bin/gclouder
178
207
  - lib/gclouder.rb
179
208
  - lib/gclouder/config/arguments.rb