Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PortsInfo ¶
type PortsInfo struct { Items []int `yaml:"items,omitempty"` // contains filtered or unexported fields }
type ServiceMapping ¶
type ServiceMapping struct { Services map[string]ServiceMappingInfo `yaml:"services,omitempty"` sync.RWMutex }
func NewServiceMapping ¶
func NewServiceMapping() (*ServiceMapping, error)
func (*ServiceMapping) Load ¶
func (s *ServiceMapping) Load() error
func (*ServiceMapping) Save ¶
func (s *ServiceMapping) Save() error
type ServiceMappingInfo ¶
type ServiceMappingInfo struct {
Ports PortsInfo `yaml:"ports,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.