/*
 * MEEP TC controller API
 *
 * Copyright (c) 2019 InterDigital Communications, Inc. All rights reserved. The information provided herein is the proprietary and confidential information of InterDigital Communications, Inc.
 *
 * API version: 1.0.0
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 */

package server

// Mapping of exposed ports to internal or external services
type ServiceMap struct {

	// Service name
	Name string `json:"name,omitempty"`

	// Service IP address for external service only (egress)   <li>N/A for internal services
	Ip string `json:"ip,omitempty"`

	// Service port number
	Port int32 `json:"port,omitempty"`

	// Port used to expose internal service only (ingress)   <li>Must be unique port in range (30000 - 32767)   <li>N/A for external services
	ExternalPort int32 `json:"externalPort,omitempty"`

	// Protocol that the application is using (TCP or UDP)
	Protocol string `json:"protocol,omitempty"`
}
