id: 1 unit: func() file: controller/webhook.go start line: 136 end line: 202 size: 48 LOC McCabe index: 6 number of parameters: 1 id: 2 unit: func() file: controller/webhook.go start line: 76 end line: 134 size: 46 LOC McCabe index: 9 number of parameters: 1 id: 3 unit: func() file: controller/webhook.go start line: 216 end line: 261 size: 36 LOC McCabe index: 13 number of parameters: 1 id: 4 unit: func main() file: main.go start line: 40 end line: 85 size: 34 LOC McCabe index: 4 number of parameters: 0 id: 5 unit: func() file: controller/mocks/KubernetesNamespaceClient.go start line: 131 end line: 158 size: 25 LOC McCabe index: 5 number of parameters: 1 id: 6 unit: func addContainers() file: controller/webhook.go start line: 326 end line: 350 size: 20 LOC McCabe index: 3 number of parameters: 3 id: 7 unit: func() file: controller/mocks/KubernetesNamespaceClient.go start line: 25 end line: 45 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 8 unit: func() file: controller/mocks/KubernetesNamespaceClient.go start line: 62 end line: 82 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 9 unit: func() file: controller/mocks/KubernetesNamespaceClient.go start line: 85 end line: 105 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 10 unit: func() file: controller/mocks/KubernetesNamespaceClient.go start line: 108 end line: 128 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 11 unit: func() file: controller/mocks/KubernetesNamespaceClient.go start line: 161 end line: 181 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 12 unit: func() file: controller/mocks/KubernetesNamespaceClient.go start line: 184 end line: 204 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 13 unit: func() file: controller/mocks/KubernetesNamespaceClient.go start line: 207 end line: 227 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 14 unit: func() file: controller/webhook.go start line: 263 end line: 284 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 15 unit: func updateAnnotations() file: controller/webhook.go start line: 352 end line: 366 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 16 unit: func() file: controller/webhook.go start line: 300 end line: 314 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 17 unit: func newKubernetesClient() file: main.go start line: 87 end line: 101 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 18 unit: func extractParameters() file: controller/webhook.go start line: 286 end line: 298 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 19 unit: func() file: controller/mocks/KubernetesNamespaceClient.go start line: 48 end line: 59 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 20 unit: func() file: controller/webhook.go start line: 204 end line: 214 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 21 unit: func() file: controller/webhook.go start line: 316 end line: 324 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 22 unit: func NewWebhookServer() file: controller/webhook.go start line: 69 end line: 74 size: 6 LOC McCabe index: 1 number of parameters: 2