(instance, job string, vpcID, podClusterID int)
| 42 | } |
| 43 | |
| 44 | func NewTargetKey(instance, job string, vpcID, podClusterID int) TargetKey { |
| 45 | return TargetKey{ |
| 46 | Instance: instance, |
| 47 | Job: job, |
| 48 | VPCID: vpcID, |
| 49 | PodClusterID: podClusterID, |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | type keyToTargetID struct { |
| 54 | lock sync.Mutex |