(idOrName string)
| 523 | } |
| 524 | |
| 525 | func (c *WorkspaceAgentContainer) Match(idOrName string) bool { |
| 526 | if c.ID == idOrName { |
| 527 | return true |
| 528 | } |
| 529 | if c.FriendlyName == idOrName { |
| 530 | return true |
| 531 | } |
| 532 | return false |
| 533 | } |
| 534 | |
| 535 | // WorkspaceAgentContainerPort describes a port as exposed by a container. |
| 536 | type WorkspaceAgentContainerPort struct { |
no outgoing calls