Class: TwistlockControl::Entities::ServiceLink
- Inherits:
-
TwistlockControl::Entity
- Object
- TwistlockControl::Entity
- TwistlockControl::Entities::ServiceLink
- Defined in:
- lib/twistlock_control/entities/composite_service.rb
Overview
A service link can for example be, the ‘MySQL’ container exposes a ‘mysql’ port. The ‘RubyForum’ container consumes this service by listening on the ‘mysql’ port. The accompanying ServiceLink would be: { provider_name: “MySQL”, provider_port_name: “mysql”, consumer_name: “RubyForum”, consumer_port: “mysql” }