google-cloud-container 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/container.rb +1 -1
- data/lib/google/cloud/container/v1.rb +1 -1
- data/lib/google/cloud/container/v1/cluster_manager_client.rb +1 -1
- data/lib/google/cloud/container/v1/credentials.rb +1 -1
- data/lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb +1 -1
- data/lib/google/cloud/container/v1/doc/google/protobuf/empty.rb +1 -1
- data/lib/google/cloud/container/v1beta1.rb +149 -0
- data/lib/google/cloud/container/v1beta1/cluster_manager_client.rb +2404 -0
- data/lib/google/cloud/container/v1beta1/cluster_manager_client_config.json +186 -0
- data/lib/google/cloud/container/v1beta1/credentials.rb +41 -0
- data/lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb +2338 -0
- data/lib/google/cloud/container/v1beta1/doc/google/protobuf/empty.rb +29 -0
- data/lib/google/container/v1beta1/cluster_service_pb.rb +734 -0
- data/lib/google/container/v1beta1/cluster_service_services_pb.rb +132 -0
- metadata +13 -5
@@ -0,0 +1,132 @@
|
|
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 2018 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 cluster 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 is being used by the cluster.
|
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
|
+
# Used to set master auth materials. Currently supports :-
|
73
|
+
# Changing the admin password for a specific cluster.
|
74
|
+
# This can be either via password generation or explicitly set.
|
75
|
+
# Modify basic_auth.csv and reset the K8S API server.
|
76
|
+
rpc :SetMasterAuth, SetMasterAuthRequest, Operation
|
77
|
+
# Deletes the cluster, including the Kubernetes endpoint and all worker
|
78
|
+
# nodes.
|
79
|
+
#
|
80
|
+
# Firewalls and routes that were configured during cluster creation
|
81
|
+
# are also deleted.
|
82
|
+
#
|
83
|
+
# Other Google Compute Engine resources that might be in use by the cluster
|
84
|
+
# (e.g. load balancer resources) will not be deleted if they weren't present
|
85
|
+
# at the initial create time.
|
86
|
+
rpc :DeleteCluster, DeleteClusterRequest, Operation
|
87
|
+
# Lists all operations in a project in a specific zone or all zones.
|
88
|
+
rpc :ListOperations, ListOperationsRequest, ListOperationsResponse
|
89
|
+
# Gets the specified operation.
|
90
|
+
rpc :GetOperation, GetOperationRequest, Operation
|
91
|
+
# Cancels the specified operation.
|
92
|
+
rpc :CancelOperation, CancelOperationRequest, Google::Protobuf::Empty
|
93
|
+
# Returns configuration info about the Kubernetes Engine service.
|
94
|
+
rpc :GetServerConfig, GetServerConfigRequest, ServerConfig
|
95
|
+
# Lists the node pools for a cluster.
|
96
|
+
rpc :ListNodePools, ListNodePoolsRequest, ListNodePoolsResponse
|
97
|
+
# Retrieves the node pool requested.
|
98
|
+
rpc :GetNodePool, GetNodePoolRequest, NodePool
|
99
|
+
# Creates a node pool for a cluster.
|
100
|
+
rpc :CreateNodePool, CreateNodePoolRequest, Operation
|
101
|
+
# Deletes a node pool from a cluster.
|
102
|
+
rpc :DeleteNodePool, DeleteNodePoolRequest, Operation
|
103
|
+
# Roll back the previously Aborted or Failed NodePool upgrade.
|
104
|
+
# This will be an no-op if the last upgrade successfully completed.
|
105
|
+
rpc :RollbackNodePoolUpgrade, RollbackNodePoolUpgradeRequest, Operation
|
106
|
+
# Sets the NodeManagement options for a node pool.
|
107
|
+
rpc :SetNodePoolManagement, SetNodePoolManagementRequest, Operation
|
108
|
+
# Sets labels on a cluster.
|
109
|
+
rpc :SetLabels, SetLabelsRequest, Operation
|
110
|
+
# Enables or disables the ABAC authorization mechanism on a cluster.
|
111
|
+
rpc :SetLegacyAbac, SetLegacyAbacRequest, Operation
|
112
|
+
# Start master IP rotation.
|
113
|
+
rpc :StartIPRotation, StartIPRotationRequest, Operation
|
114
|
+
# Completes master IP rotation.
|
115
|
+
rpc :CompleteIPRotation, CompleteIPRotationRequest, Operation
|
116
|
+
# Sets the size for a specific node pool.
|
117
|
+
rpc :SetNodePoolSize, SetNodePoolSizeRequest, Operation
|
118
|
+
# Enables/Disables Network Policy for a cluster.
|
119
|
+
rpc :SetNetworkPolicy, SetNetworkPolicyRequest, Operation
|
120
|
+
# Sets the maintenance policy for a cluster.
|
121
|
+
rpc :SetMaintenancePolicy, SetMaintenancePolicyRequest, Operation
|
122
|
+
# Lists subnetworks that are usable for creating clusters in a project.
|
123
|
+
rpc :ListUsableSubnetworks, ListUsableSubnetworksRequest, ListUsableSubnetworksResponse
|
124
|
+
# Used to fetch locations that offer GKE.
|
125
|
+
rpc :ListLocations, ListLocationsRequest, ListLocationsResponse
|
126
|
+
end
|
127
|
+
|
128
|
+
Stub = Service.rpc_stub_class
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
132
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-container
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.64.0
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: 0.64.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: simplecov
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -111,8 +111,16 @@ files:
|
|
111
111
|
- lib/google/cloud/container/v1/credentials.rb
|
112
112
|
- lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb
|
113
113
|
- lib/google/cloud/container/v1/doc/google/protobuf/empty.rb
|
114
|
+
- lib/google/cloud/container/v1beta1.rb
|
115
|
+
- lib/google/cloud/container/v1beta1/cluster_manager_client.rb
|
116
|
+
- lib/google/cloud/container/v1beta1/cluster_manager_client_config.json
|
117
|
+
- lib/google/cloud/container/v1beta1/credentials.rb
|
118
|
+
- lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb
|
119
|
+
- lib/google/cloud/container/v1beta1/doc/google/protobuf/empty.rb
|
114
120
|
- lib/google/container/v1/cluster_service_pb.rb
|
115
121
|
- lib/google/container/v1/cluster_service_services_pb.rb
|
122
|
+
- lib/google/container/v1beta1/cluster_service_pb.rb
|
123
|
+
- lib/google/container/v1beta1/cluster_service_services_pb.rb
|
116
124
|
homepage: https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud-container
|
117
125
|
licenses:
|
118
126
|
- Apache-2.0
|
@@ -133,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
141
|
version: '0'
|
134
142
|
requirements: []
|
135
143
|
rubyforge_project:
|
136
|
-
rubygems_version: 2.7.
|
144
|
+
rubygems_version: 2.7.6
|
137
145
|
signing_key:
|
138
146
|
specification_version: 4
|
139
147
|
summary: API Client library for Kubernetes Engine API
|