google-cloud-container 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +8 -0
- data/LICENSE +201 -0
- data/README.md +43 -0
- data/lib/google/cloud/container.rb +116 -0
- data/lib/google/cloud/container/credentials.rb +30 -0
- data/lib/google/cloud/container/v1.rb +109 -0
- data/lib/google/cloud/container/v1/cluster_manager_client.rb +1628 -0
- data/lib/google/cloud/container/v1/cluster_manager_client_config.json +176 -0
- data/lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb +1504 -0
- data/lib/google/cloud/container/v1/doc/overview.rb +66 -0
- data/lib/google/container/v1/cluster_service_pb.rb +497 -0
- data/lib/google/container/v1/cluster_service_services_pb.rb +125 -0
- metadata +112 -0
@@ -0,0 +1,125 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/container/v1/cluster_service.proto for package 'google.container.v1'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2017 Google Inc.
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require 'grpc'
|
20
|
+
require 'google/container/v1/cluster_service_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Container
|
24
|
+
module V1
|
25
|
+
module ClusterManager
|
26
|
+
# Google Container Engine Cluster Manager v1
|
27
|
+
class Service
|
28
|
+
|
29
|
+
include GRPC::GenericService
|
30
|
+
|
31
|
+
self.marshal_class_method = :encode
|
32
|
+
self.unmarshal_class_method = :decode
|
33
|
+
self.service_name = 'google.container.v1.ClusterManager'
|
34
|
+
|
35
|
+
# Lists all clusters owned by a project in either the specified zone or all
|
36
|
+
# zones.
|
37
|
+
rpc :ListClusters, ListClustersRequest, ListClustersResponse
|
38
|
+
# Gets the details of a specific cluster.
|
39
|
+
rpc :GetCluster, GetClusterRequest, Cluster
|
40
|
+
# Creates a cluster, consisting of the specified number and type of Google
|
41
|
+
# Compute Engine instances.
|
42
|
+
#
|
43
|
+
# By default, the cluster is created in the project's
|
44
|
+
# [default network](/compute/docs/networks-and-firewalls#networks).
|
45
|
+
#
|
46
|
+
# One firewall is added for the cluster. After cluster creation,
|
47
|
+
# the cluster creates routes for each node to allow the containers
|
48
|
+
# on that node to communicate with all other instances in the
|
49
|
+
# cluster.
|
50
|
+
#
|
51
|
+
# Finally, an entry is added to the project's global metadata indicating
|
52
|
+
# which CIDR range is being used by the cluster.
|
53
|
+
rpc :CreateCluster, CreateClusterRequest, Operation
|
54
|
+
# Updates the settings of a specific cluster.
|
55
|
+
rpc :UpdateCluster, UpdateClusterRequest, Operation
|
56
|
+
# Updates the version and/or image type of a specific node pool.
|
57
|
+
rpc :UpdateNodePool, UpdateNodePoolRequest, Operation
|
58
|
+
# Sets the autoscaling settings of a specific node pool.
|
59
|
+
rpc :SetNodePoolAutoscaling, SetNodePoolAutoscalingRequest, Operation
|
60
|
+
# Sets the logging service of a specific cluster.
|
61
|
+
rpc :SetLoggingService, SetLoggingServiceRequest, Operation
|
62
|
+
# Sets the monitoring service of a specific cluster.
|
63
|
+
rpc :SetMonitoringService, SetMonitoringServiceRequest, Operation
|
64
|
+
# Sets the addons of a specific cluster.
|
65
|
+
rpc :SetAddonsConfig, SetAddonsConfigRequest, Operation
|
66
|
+
# Sets the locations of a specific cluster.
|
67
|
+
rpc :SetLocations, SetLocationsRequest, Operation
|
68
|
+
# Updates the master of a specific cluster.
|
69
|
+
rpc :UpdateMaster, UpdateMasterRequest, Operation
|
70
|
+
# Used to set master auth materials. Currently supports :-
|
71
|
+
# Changing the admin password of a specific cluster.
|
72
|
+
# This can be either via password generation or explicitly set the password.
|
73
|
+
rpc :SetMasterAuth, SetMasterAuthRequest, Operation
|
74
|
+
# Deletes the cluster, including the Kubernetes endpoint and all worker
|
75
|
+
# nodes.
|
76
|
+
#
|
77
|
+
# Firewalls and routes that were configured during cluster creation
|
78
|
+
# are also deleted.
|
79
|
+
#
|
80
|
+
# Other Google Compute Engine resources that might be in use by the cluster
|
81
|
+
# (e.g. load balancer resources) will not be deleted if they weren't present
|
82
|
+
# at the initial create time.
|
83
|
+
rpc :DeleteCluster, DeleteClusterRequest, Operation
|
84
|
+
# Lists all operations in a project in a specific zone or all zones.
|
85
|
+
rpc :ListOperations, ListOperationsRequest, ListOperationsResponse
|
86
|
+
# Gets the specified operation.
|
87
|
+
rpc :GetOperation, GetOperationRequest, Operation
|
88
|
+
# Cancels the specified operation.
|
89
|
+
rpc :CancelOperation, CancelOperationRequest, Google::Protobuf::Empty
|
90
|
+
# Returns configuration info about the Container Engine service.
|
91
|
+
rpc :GetServerConfig, GetServerConfigRequest, ServerConfig
|
92
|
+
# Lists the node pools for a cluster.
|
93
|
+
rpc :ListNodePools, ListNodePoolsRequest, ListNodePoolsResponse
|
94
|
+
# Retrieves the node pool requested.
|
95
|
+
rpc :GetNodePool, GetNodePoolRequest, NodePool
|
96
|
+
# Creates a node pool for a cluster.
|
97
|
+
rpc :CreateNodePool, CreateNodePoolRequest, Operation
|
98
|
+
# Deletes a node pool from a cluster.
|
99
|
+
rpc :DeleteNodePool, DeleteNodePoolRequest, Operation
|
100
|
+
# Roll back the previously Aborted or Failed NodePool upgrade.
|
101
|
+
# This will be an no-op if the last upgrade successfully completed.
|
102
|
+
rpc :RollbackNodePoolUpgrade, RollbackNodePoolUpgradeRequest, Operation
|
103
|
+
# Sets the NodeManagement options for a node pool.
|
104
|
+
rpc :SetNodePoolManagement, SetNodePoolManagementRequest, Operation
|
105
|
+
# Sets labels on a cluster.
|
106
|
+
rpc :SetLabels, SetLabelsRequest, Operation
|
107
|
+
# Enables or disables the ABAC authorization mechanism on a cluster.
|
108
|
+
rpc :SetLegacyAbac, SetLegacyAbacRequest, Operation
|
109
|
+
# Start master IP rotation.
|
110
|
+
rpc :StartIPRotation, StartIPRotationRequest, Operation
|
111
|
+
# Completes master IP rotation.
|
112
|
+
rpc :CompleteIPRotation, CompleteIPRotationRequest, Operation
|
113
|
+
# Sets the size of a specific node pool.
|
114
|
+
rpc :SetNodePoolSize, SetNodePoolSizeRequest, Operation
|
115
|
+
# Enables/Disables Network Policy for a cluster.
|
116
|
+
rpc :SetNetworkPolicy, SetNetworkPolicyRequest, Operation
|
117
|
+
# Sets the maintenance policy for a cluster.
|
118
|
+
rpc :SetMaintenancePolicy, SetMaintenancePolicyRequest, Operation
|
119
|
+
end
|
120
|
+
|
121
|
+
Stub = Service.rpc_stub_class
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
metadata
ADDED
@@ -0,0 +1,112 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: google-cloud-container
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Google LLC
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-12-26 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: google-gax
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.0.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.0.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: minitest
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '5.10'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '5.10'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rubocop
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "<="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.35.1
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "<="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.35.1
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: simplecov
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.9'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.9'
|
69
|
+
description: google-cloud-container is the official library for Google Container Engine
|
70
|
+
API.
|
71
|
+
email: googleapis-packages@google.com
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- ".yardopts"
|
77
|
+
- LICENSE
|
78
|
+
- README.md
|
79
|
+
- lib/google/cloud/container.rb
|
80
|
+
- lib/google/cloud/container/credentials.rb
|
81
|
+
- lib/google/cloud/container/v1.rb
|
82
|
+
- lib/google/cloud/container/v1/cluster_manager_client.rb
|
83
|
+
- lib/google/cloud/container/v1/cluster_manager_client_config.json
|
84
|
+
- lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb
|
85
|
+
- lib/google/cloud/container/v1/doc/overview.rb
|
86
|
+
- lib/google/container/v1/cluster_service_pb.rb
|
87
|
+
- lib/google/container/v1/cluster_service_services_pb.rb
|
88
|
+
homepage: https://github.com/googleapis/googleapis
|
89
|
+
licenses:
|
90
|
+
- Apache-2.0
|
91
|
+
metadata: {}
|
92
|
+
post_install_message:
|
93
|
+
rdoc_options: []
|
94
|
+
require_paths:
|
95
|
+
- lib
|
96
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: 2.0.0
|
101
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - ">="
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0'
|
106
|
+
requirements: []
|
107
|
+
rubyforge_project:
|
108
|
+
rubygems_version: 2.7.4
|
109
|
+
signing_key:
|
110
|
+
specification_version: 4
|
111
|
+
summary: API Client library for Google Container Engine API
|
112
|
+
test_files: []
|