MCPcopy Create free account
hub / github.com/OpenAtomFoundation/SmartIDE / AppendPort

Method AppendPort

cli/pkg/docker/compose/service.go:125–127  ·  view source on GitHub ↗
(port string)

Source from the content-addressed store, hash-verified

123}
124
125func (service *Service) AppendPort(port string) {
126 service.Ports = append(service.Ports, port)
127}
128
129// 是否包含某个容器端口的映射
130func (service *Service) ContainContainerPort(port int) bool {

Callers 2

GetWebTerminalComposeFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected