diff --git a/process/utils.go b/process/utils.go new file mode 100644 index 00000000..e7546ada --- /dev/null +++ b/process/utils.go @@ -0,0 +1,15 @@ +package process + +type ContainerAddrNoProto struct { + Ip string + Port int32 + Protocol ConnectionType +} + +func (c *ContainerAddr) ToNoProto() ContainerAddrNoProto { + return ContainerAddrNoProto{ + Ip: c.Ip, + Port: c.Port, + Protocol: c.Protocol, + } +}