cf-copilot 0.0.13 → 0.0.14
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/README.md +0 -1
- data/lib/cf-copilot.rb +4 -4
- data/lib/copilot/protos/cloud_controller_pb.rb +0 -1
- data/lib/copilot/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 813448254f2b4355f0f2946e674cada3a774de57
|
4
|
+
data.tar.gz: 18290968ee76e2392e2c265a4512d5125867a2bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 242b3a813e25e375d866d8e6067fbf91d3447df920647c028d73d10500f0a9d39f08b75dc6944af98bcfacba2e35381074ab19495c20ac8973fe05d29507cf42
|
7
|
+
data.tar.gz: fda8a29c9155380ede89ec1e7947a720910debb5607898ed866b8d9c7630e4740d24ee1bfad1f4980969d4ac10159e8f20fdd4c6eb68db9eb78850fbdbd05b1b
|
data/README.md
CHANGED
data/lib/cf-copilot.rb
CHANGED
@@ -45,16 +45,16 @@ module Cloudfoundry
|
|
45
45
|
raise Cloudfoundry::Copilot::Client::PilotError, "#{e.details} - #{e.metadata}"
|
46
46
|
end
|
47
47
|
|
48
|
-
def map_route(capi_process_guid:, route_guid:, route_weight
|
49
|
-
route_mapping = Api::RouteMapping.new(capi_process_guid: capi_process_guid, route_guid: route_guid, route_weight: route_weight
|
48
|
+
def map_route(capi_process_guid:, route_guid:, route_weight:)
|
49
|
+
route_mapping = Api::RouteMapping.new(capi_process_guid: capi_process_guid, route_guid: route_guid, route_weight: route_weight)
|
50
50
|
request = Api::MapRouteRequest.new(route_mapping: route_mapping)
|
51
51
|
service.map_route(request)
|
52
52
|
rescue GRPC::BadStatus => e
|
53
53
|
raise Cloudfoundry::Copilot::Client::PilotError, "#{e.details} - #{e.metadata}"
|
54
54
|
end
|
55
55
|
|
56
|
-
def unmap_route(capi_process_guid:, route_guid:, route_weight
|
57
|
-
route_mapping = Api::RouteMapping.new(capi_process_guid: capi_process_guid, route_guid: route_guid, route_weight: route_weight
|
56
|
+
def unmap_route(capi_process_guid:, route_guid:, route_weight:)
|
57
|
+
route_mapping = Api::RouteMapping.new(capi_process_guid: capi_process_guid, route_guid: route_guid, route_weight: route_weight)
|
58
58
|
request = Api::UnmapRouteRequest.new(route_mapping: route_mapping)
|
59
59
|
service.unmap_route(request)
|
60
60
|
rescue GRPC::BadStatus => e
|
@@ -44,7 +44,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
44
44
|
optional :capi_process_guid, :string, 1
|
45
45
|
optional :route_guid, :string, 2
|
46
46
|
optional :route_weight, :uint32, 3
|
47
|
-
optional :app_port, :int32, 4
|
48
47
|
end
|
49
48
|
add_message "api.MapRouteRequest" do
|
50
49
|
optional :route_mapping, :message, 1, "api.RouteMapping"
|
data/lib/copilot/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cf-copilot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cloud Foundry Routing Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|