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