google-cloud-container 0.10.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +2 -1
- data/AUTHENTICATION.md +51 -54
- data/LICENSE.md +203 -0
- data/MIGRATING.md +280 -0
- data/README.md +34 -34
- data/lib/{google/cloud/container/v1/doc/google/protobuf/empty.rb → google-cloud-container.rb} +4 -14
- data/lib/google/cloud/container.rb +87 -128
- data/lib/google/cloud/container/version.rb +6 -2
- metadata +72 -58
- data/LICENSE +0 -201
- data/lib/google/cloud/container/v1.rb +0 -157
- data/lib/google/cloud/container/v1/cluster_manager_client.rb +0 -2197
- data/lib/google/cloud/container/v1/cluster_manager_client_config.json +0 -181
- data/lib/google/cloud/container/v1/credentials.rb +0 -41
- data/lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb +0 -2358
- data/lib/google/cloud/container/v1/doc/google/protobuf/timestamp.rb +0 -113
- data/lib/google/cloud/container/v1beta1.rb +0 -157
- data/lib/google/cloud/container/v1beta1/cluster_manager_client.rb +0 -2515
- data/lib/google/cloud/container/v1beta1/cluster_manager_client_config.json +0 -186
- data/lib/google/cloud/container/v1beta1/credentials.rb +0 -41
- data/lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb +0 -2533
- data/lib/google/cloud/container/v1beta1/doc/google/protobuf/empty.rb +0 -29
- data/lib/google/cloud/container/v1beta1/doc/google/protobuf/timestamp.rb +0 -113
- data/lib/google/container/v1/cluster_service_pb.rb +0 -726
- data/lib/google/container/v1/cluster_service_services_pb.rb +0 -129
- data/lib/google/container/v1beta1/cluster_service_pb.rb +0 -795
- data/lib/google/container/v1beta1/cluster_service_services_pb.rb +0 -131
@@ -1,131 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: google/container/v1beta1/cluster_service.proto for package 'google.container.v1beta1'
|
3
|
-
# Original file comments:
|
4
|
-
# Copyright 2019 Google LLC.
|
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
|
-
|
20
|
-
|
21
|
-
require 'grpc'
|
22
|
-
require 'google/container/v1beta1/cluster_service_pb'
|
23
|
-
|
24
|
-
module Google
|
25
|
-
module Container
|
26
|
-
module V1beta1
|
27
|
-
module ClusterManager
|
28
|
-
# Google Kubernetes Engine Cluster Manager v1beta1
|
29
|
-
class Service
|
30
|
-
|
31
|
-
include GRPC::GenericService
|
32
|
-
|
33
|
-
self.marshal_class_method = :encode
|
34
|
-
self.unmarshal_class_method = :decode
|
35
|
-
self.service_name = 'google.container.v1beta1.ClusterManager'
|
36
|
-
|
37
|
-
# Lists all clusters owned by a project in either the specified zone or all
|
38
|
-
# zones.
|
39
|
-
rpc :ListClusters, ListClustersRequest, ListClustersResponse
|
40
|
-
# Gets the details for a specific cluster.
|
41
|
-
rpc :GetCluster, GetClusterRequest, Cluster
|
42
|
-
# Creates a cluster, consisting of the specified number and type of Google
|
43
|
-
# Compute Engine instances.
|
44
|
-
#
|
45
|
-
# By default, the cluster is created in the project's
|
46
|
-
# [default network](/compute/docs/networks-and-firewalls#networks).
|
47
|
-
#
|
48
|
-
# One firewall is added for the cluster. After cluster creation,
|
49
|
-
# the Kubelet creates routes for each node to allow the containers
|
50
|
-
# on that node to communicate with all other instances in the
|
51
|
-
# cluster.
|
52
|
-
#
|
53
|
-
# Finally, an entry is added to the project's global metadata indicating
|
54
|
-
# which CIDR range the cluster is using.
|
55
|
-
rpc :CreateCluster, CreateClusterRequest, Operation
|
56
|
-
# Updates the settings for a specific cluster.
|
57
|
-
rpc :UpdateCluster, UpdateClusterRequest, Operation
|
58
|
-
# Updates the version and/or image type of a specific node pool.
|
59
|
-
rpc :UpdateNodePool, UpdateNodePoolRequest, Operation
|
60
|
-
# Sets the autoscaling settings of a specific node pool.
|
61
|
-
rpc :SetNodePoolAutoscaling, SetNodePoolAutoscalingRequest, Operation
|
62
|
-
# Sets the logging service for a specific cluster.
|
63
|
-
rpc :SetLoggingService, SetLoggingServiceRequest, Operation
|
64
|
-
# Sets the monitoring service for a specific cluster.
|
65
|
-
rpc :SetMonitoringService, SetMonitoringServiceRequest, Operation
|
66
|
-
# Sets the addons for a specific cluster.
|
67
|
-
rpc :SetAddonsConfig, SetAddonsConfigRequest, Operation
|
68
|
-
# Sets the locations for a specific cluster.
|
69
|
-
rpc :SetLocations, SetLocationsRequest, Operation
|
70
|
-
# Updates the master for a specific cluster.
|
71
|
-
rpc :UpdateMaster, UpdateMasterRequest, Operation
|
72
|
-
# Sets master auth materials. Currently supports changing the admin password
|
73
|
-
# or a specific cluster, either via password generation or explicitly setting
|
74
|
-
# the password.
|
75
|
-
rpc :SetMasterAuth, SetMasterAuthRequest, Operation
|
76
|
-
# Deletes the cluster, including the Kubernetes endpoint and all worker
|
77
|
-
# nodes.
|
78
|
-
#
|
79
|
-
# Firewalls and routes that were configured during cluster creation
|
80
|
-
# are also deleted.
|
81
|
-
#
|
82
|
-
# Other Google Compute Engine resources that might be in use by the cluster,
|
83
|
-
# such as load balancer resources, are not deleted if they weren't present
|
84
|
-
# when the cluster was initially created.
|
85
|
-
rpc :DeleteCluster, DeleteClusterRequest, Operation
|
86
|
-
# Lists all operations in a project in the specified zone or all zones.
|
87
|
-
rpc :ListOperations, ListOperationsRequest, ListOperationsResponse
|
88
|
-
# Gets the specified operation.
|
89
|
-
rpc :GetOperation, GetOperationRequest, Operation
|
90
|
-
# Cancels the specified operation.
|
91
|
-
rpc :CancelOperation, CancelOperationRequest, Google::Protobuf::Empty
|
92
|
-
# Returns configuration info about the Google Kubernetes Engine service.
|
93
|
-
rpc :GetServerConfig, GetServerConfigRequest, ServerConfig
|
94
|
-
# Lists the node pools for a cluster.
|
95
|
-
rpc :ListNodePools, ListNodePoolsRequest, ListNodePoolsResponse
|
96
|
-
# Retrieves the requested node pool.
|
97
|
-
rpc :GetNodePool, GetNodePoolRequest, NodePool
|
98
|
-
# Creates a node pool for a cluster.
|
99
|
-
rpc :CreateNodePool, CreateNodePoolRequest, Operation
|
100
|
-
# Deletes a node pool from a cluster.
|
101
|
-
rpc :DeleteNodePool, DeleteNodePoolRequest, Operation
|
102
|
-
# Rolls back a previously Aborted or Failed NodePool upgrade.
|
103
|
-
# This makes no changes if the last upgrade successfully completed.
|
104
|
-
rpc :RollbackNodePoolUpgrade, RollbackNodePoolUpgradeRequest, Operation
|
105
|
-
# Sets the NodeManagement options for a node pool.
|
106
|
-
rpc :SetNodePoolManagement, SetNodePoolManagementRequest, Operation
|
107
|
-
# Sets labels on a cluster.
|
108
|
-
rpc :SetLabels, SetLabelsRequest, Operation
|
109
|
-
# Enables or disables the ABAC authorization mechanism on a cluster.
|
110
|
-
rpc :SetLegacyAbac, SetLegacyAbacRequest, Operation
|
111
|
-
# Starts master IP rotation.
|
112
|
-
rpc :StartIPRotation, StartIPRotationRequest, Operation
|
113
|
-
# Completes master IP rotation.
|
114
|
-
rpc :CompleteIPRotation, CompleteIPRotationRequest, Operation
|
115
|
-
# Sets the size for a specific node pool.
|
116
|
-
rpc :SetNodePoolSize, SetNodePoolSizeRequest, Operation
|
117
|
-
# Enables or disables Network Policy for a cluster.
|
118
|
-
rpc :SetNetworkPolicy, SetNetworkPolicyRequest, Operation
|
119
|
-
# Sets the maintenance policy for a cluster.
|
120
|
-
rpc :SetMaintenancePolicy, SetMaintenancePolicyRequest, Operation
|
121
|
-
# Lists subnetworks that can be used for creating clusters in a project.
|
122
|
-
rpc :ListUsableSubnetworks, ListUsableSubnetworksRequest, ListUsableSubnetworksResponse
|
123
|
-
# Fetches locations that offer Google Kubernetes Engine.
|
124
|
-
rpc :ListLocations, ListLocationsRequest, ListLocationsResponse
|
125
|
-
end
|
126
|
-
|
127
|
-
Stub = Service.rpc_stub_class
|
128
|
-
end
|
129
|
-
end
|
130
|
-
end
|
131
|
-
end
|