id: 1 unit: func() file: pkg/admission/webhook_manager.go start line: 658 end line: 771 size: 95 LOC McCabe index: 18 number of parameters: 1 id: 2 unit: func() file: pkg/admission/admission_controller.go start line: 631 end line: 698 size: 62 LOC McCabe index: 13 number of parameters: 1 id: 3 unit: func() file: pkg/admission/webhook_manager.go start line: 455 end line: 532 size: 62 LOC McCabe index: 33 number of parameters: 1 id: 4 unit: func NewAPIFactory() file: pkg/client/apifactory.go start line: 92 end line: 159 size: 62 LOC McCabe index: 1 number of parameters: 4 id: 5 unit: func() file: pkg/admission/webhook_manager.go start line: 380 end line: 453 size: 58 LOC McCabe index: 25 number of parameters: 1 id: 6 unit: func() file: pkg/admission/webhook_manager.go start line: 234 end line: 305 size: 57 LOC McCabe index: 14 number of parameters: 1 id: 7 unit: func() file: pkg/admission/webhook_manager.go start line: 307 end line: 378 size: 57 LOC McCabe index: 14 number of parameters: 1 id: 8 unit: func() file: pkg/admission/admission_controller.go start line: 559 end line: 618 size: 55 LOC McCabe index: 10 number of parameters: 1 id: 9 unit: func() file: pkg/admission/admission_controller.go start line: 157 end line: 218 size: 54 LOC McCabe index: 11 number of parameters: 1 id: 10 unit: func() file: pkg/admission/admission_controller.go start line: 220 end line: 282 size: 53 LOC McCabe index: 12 number of parameters: 1 id: 11 unit: func main() file: pkg/cmd/admissioncontroller/main.go start line: 55 end line: 112 size: 49 LOC McCabe index: 8 number of parameters: 0 id: 12 unit: func() file: pkg/admission/webhook_manager.go start line: 129 end line: 183 size: 45 LOC McCabe index: 6 number of parameters: 1 id: 13 unit: func GetApplicationIDFromPod() file: pkg/common/utils/utils.go start line: 152 end line: 214 size: 41 LOC McCabe index: 14 number of parameters: 1 id: 14 unit: func() file: pkg/plugin/scheduler_plugin.go start line: 90 end line: 138 size: 40 LOC McCabe index: 9 number of parameters: 1 id: 15 unit: func initLoggingConfig() file: pkg/log/logger.go start line: 232 end line: 283 size: 36 LOC McCabe index: 11 number of parameters: 1 id: 16 unit: func Stop() file: pkg/dispatcher/dispatcher.go start line: 243 end line: 284 size: 35 LOC McCabe index: 7 number of parameters: 0 id: 17 unit: func newPredicateManagerInternal() file: pkg/plugin/predicates/predicate_manager.go start line: 370 end line: 415 size: 35 LOC McCabe index: 3 number of parameters: 5 id: 18 unit: func initLogger() file: pkg/log/logger.go start line: 163 end line: 206 size: 34 LOC McCabe index: 2 number of parameters: 0 id: 19 unit: func Start() file: pkg/dispatcher/dispatcher.go start line: 208 end line: 240 size: 33 LOC McCabe index: 8 number of parameters: 0 id: 20 unit: func GetUserFromPod() file: pkg/common/utils/utils.go start line: 350 end line: 388 size: 33 LOC McCabe index: 7 number of parameters: 1 id: 21 unit: func() file: pkg/admission/webhook_manager.go start line: 185 end line: 221 size: 33 LOC McCabe index: 9 number of parameters: 1 id: 22 unit: func() file: pkg/client/kubeclient.go start line: 210 end line: 247 size: 33 LOC McCabe index: 4 number of parameters: 1 id: 23 unit: func CreateTagsForTask() file: pkg/common/si_helper.go start line: 33 end line: 66 size: 32 LOC McCabe index: 11 number of parameters: 1 id: 24 unit: func GetPodResource() file: pkg/common/resource.go start line: 56 end line: 109 size: 32 LOC McCabe index: 9 number of parameters: 1 id: 25 unit: func() file: pkg/admission/admission_controller.go start line: 284 end line: 322 size: 31 LOC McCabe index: 7 number of parameters: 1 id: 26 unit: func() file: pkg/admission/admission_controller.go start line: 379 end line: 417 size: 31 LOC McCabe index: 8 number of parameters: 1 id: 27 unit: func() file: pkg/client/apifactory.go start line: 198 end line: 229 size: 31 LOC McCabe index: 9 number of parameters: 1 id: 28 unit: func() file: pkg/client/kubeclient.go start line: 175 end line: 208 size: 31 LOC McCabe index: 4 number of parameters: 1 id: 29 unit: func() file: pkg/cmd/admissioncontroller/main.go start line: 147 end line: 181 size: 31 LOC McCabe index: 3 number of parameters: 1 id: 30 unit: func() file: pkg/client/clients.go start line: 70 end line: 99 size: 30 LOC McCabe index: 19 number of parameters: 1 id: 31 unit: func() file: pkg/shim/scheduler.go start line: 137 end line: 172 size: 30 LOC McCabe index: 3 number of parameters: 1 id: 32 unit: func NewSchedulerPlugin() file: pkg/plugin/scheduler_plugin.go start line: 270 end line: 306 size: 30 LOC McCabe index: 5 number of parameters: 3 id: 33 unit: func() file: pkg/admission/metadata/usergroup.go start line: 50 end line: 81 size: 29 LOC McCabe index: 9 number of parameters: 1 id: 34 unit: func() file: pkg/plugin/scheduler_plugin.go start line: 141 end line: 176 size: 29 LOC McCabe index: 6 number of parameters: 1 id: 35 unit: func() file: pkg/dispatcher/dispatcher.go start line: 170 end line: 197 size: 28 LOC McCabe index: 7 number of parameters: 1 id: 36 unit: func checkInitContainerRequest() file: pkg/common/resource.go start line: 164 end line: 196 size: 28 LOC McCabe index: 8 number of parameters: 3 id: 37 unit: func GetResource() file: pkg/common/resource.go start line: 244 end line: 271 size: 28 LOC McCabe index: 5 number of parameters: 1 id: 38 unit: func ParseResource() file: pkg/common/resource.go start line: 213 end line: 242 size: 27 LOC McCabe index: 7 number of parameters: 2 id: 39 unit: func GetNamespaceQuotaFromAnnotation() file: pkg/common/utils/utils.go start line: 284 end line: 315 size: 27 LOC McCabe index: 7 number of parameters: 1 id: 40 unit: func() file: pkg/plugin/predicates/predicate_manager.go start line: 135 end line: 173 size: 27 LOC McCabe index: 7 number of parameters: 1 id: 41 unit: func() file: pkg/plugin/scheduler_plugin.go start line: 184 end line: 218 size: 27 LOC McCabe index: 5 number of parameters: 1 id: 42 unit: func main() file: pkg/cmd/shim/main.go start line: 38 end line: 70 size: 27 LOC McCabe index: 6 number of parameters: 0 id: 43 unit: func GetPlaceholderFlagFromPodSpec() file: pkg/common/utils/utils.go start line: 441 end line: 471 size: 26 LOC McCabe index: 7 number of parameters: 1 id: 44 unit: func() file: pkg/admission/conf/am_conf.go start line: 289 end line: 330 size: 26 LOC McCabe index: 3 number of parameters: 1 id: 45 unit: func() file: pkg/admission/admission_controller.go start line: 125 end line: 155 size: 26 LOC McCabe index: 6 number of parameters: 1 id: 46 unit: func() file: pkg/admission/admission_controller.go start line: 454 end line: 486 size: 26 LOC McCabe index: 6 number of parameters: 1 id: 47 unit: func() file: pkg/admission/webhook_manager.go start line: 614 end line: 641 size: 26 LOC McCabe index: 1 number of parameters: 1 id: 48 unit: func() file: pkg/plugin/predicates/predicate_manager.go start line: 215 end line: 242 size: 26 LOC McCabe index: 7 number of parameters: 1 id: 49 unit: func Decompress() file: pkg/conf/schedulerconf.go start line: 445 end line: 469 size: 25 LOC McCabe index: 5 number of parameters: 2 id: 50 unit: func() file: pkg/admission/webhook_manager.go start line: 579 end line: 605 size: 25 LOC McCabe index: 1 number of parameters: 1 id: 51 unit: func() file: pkg/conf/schedulerconf.go start line: 135 end line: 159 size: 24 LOC McCabe index: 1 number of parameters: 1 id: 52 unit: func parseConfig() file: pkg/conf/schedulerconf.go start line: 323 end line: 356 size: 24 LOC McCabe index: 3 number of parameters: 2 id: 53 unit: func Equals() file: pkg/common/resource.go start line: 317 end line: 343 size: 24 LOC McCabe index: 14 number of parameters: 2 id: 54 unit: func generateCert() file: pkg/admission/pki/certs.go start line: 174 end line: 206 size: 24 LOC McCabe index: 6 number of parameters: 3 id: 55 unit: func NewPredicateManager() file: pkg/plugin/predicates/predicate_manager.go start line: 298 end line: 368 size: 24 LOC McCabe index: 1 number of parameters: 1 id: 56 unit: func CreateAllocationForForeignPod() file: pkg/common/si_helper.go start line: 117 end line: 141 size: 23 LOC McCabe index: 3 number of parameters: 1 id: 57 unit: func Sub() file: pkg/common/resource.go start line: 367 end line: 394 size: 23 LOC McCabe index: 6 number of parameters: 2 id: 58 unit: func getAndValidateCertificate() file: pkg/admission/webhook_manager.go start line: 773 end line: 799 size: 23 LOC McCabe index: 6 number of parameters: 3 id: 59 unit: func() file: pkg/client/apifactory.go start line: 169 end line: 196 size: 23 LOC McCabe index: 3 number of parameters: 1 id: 60 unit: func() file: pkg/client/kubeclient.go start line: 111 end line: 134 size: 23 LOC McCabe index: 2 number of parameters: 1 id: 61 unit: func UpdateConfigMaps() file: pkg/conf/schedulerconf.go start line: 161 end line: 199 size: 22 LOC McCabe index: 4 number of parameters: 2 id: 62 unit: func CreateDefaultConfig() file: pkg/conf/schedulerconf.go start line: 300 end line: 321 size: 22 LOC McCabe index: 1 number of parameters: 0 id: 63 unit: func updatePodLabel() file: pkg/admission/util.go start line: 32 end line: 66 size: 22 LOC McCabe index: 8 number of parameters: 3 id: 64 unit: func DecodeCertChainPem() file: pkg/admission/pki/certs.go start line: 104 end line: 126 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 65 unit: func() file: pkg/plugin/scheduler_plugin.go start line: 243 end line: 267 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 66 unit: func Add() file: pkg/common/resource.go start line: 345 end line: 365 size: 21 LOC McCabe index: 8 number of parameters: 2 id: 67 unit: func mergePluginEvents() file: pkg/plugin/predicates/predicate_manager.go start line: 88 end line: 110 size: 21 LOC McCabe index: 6 number of parameters: 2 id: 68 unit: func() file: pkg/plugin/predicates/predicate_manager.go start line: 248 end line: 271 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 69 unit: func main() file: pkg/cmd/webtest/main.go start line: 35 end line: 56 size: 21 LOC McCabe index: 2 number of parameters: 0 id: 70 unit: func() file: pkg/admission/metadata/usergroup.go start line: 137 end line: 159 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 71 unit: func CreateRestConfig() file: pkg/client/kubeclient.go start line: 79 end line: 101 size: 20 LOC McCabe index: 6 number of parameters: 1 id: 72 unit: func CreateAllocationForTask() file: pkg/common/si_helper.go start line: 94 end line: 115 size: 19 LOC McCabe index: 1 number of parameters: 9 id: 73 unit: func GetIgnoredLabelAnnotationInPod() file: pkg/common/utils/utils.go start line: 216 end line: 237 size: 19 LOC McCabe index: 7 number of parameters: 4 id: 74 unit: func GetNamespaceMaxAppsFromAnnotation() file: pkg/common/utils/utils.go start line: 264 end line: 282 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 75 unit: func parseLevel() file: pkg/log/logger.go start line: 287 end line: 311 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 76 unit: func createPlugins() file: pkg/plugin/predicates/predicate_manager.go start line: 494 end line: 514 size: 19 LOC McCabe index: 4 number of parameters: 4 id: 77 unit: func NewWebServer() file: pkg/webtest/web_server.go start line: 35 end line: 53 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 78 unit: func() file: pkg/admission/namespace_cache.go start line: 130 end line: 148 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 79 unit: func() file: pkg/admission/priority_class_cache.go start line: 101 end line: 119 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 80 unit: func() file: pkg/admission/admission_controller.go start line: 349 end line: 368 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 81 unit: func() file: pkg/client/clients.go start line: 101 end line: 118 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: func NewShimScheduler() file: pkg/shim/scheduler.go start line: 66 end line: 88 size: 18 LOC McCabe index: 2 number of parameters: 3 id: 83 unit: func CreateAllocationRequestForTask() file: pkg/common/si_helper.go start line: 75 end line: 92 size: 17 LOC McCabe index: 1 number of parameters: 8 id: 84 unit: func CreateReleaseRequestForTask() file: pkg/common/si_helper.go start line: 150 end line: 168 size: 17 LOC McCabe index: 1 number of parameters: 4 id: 85 unit: func() file: pkg/admission/conf/am_conf.go start line: 338 end line: 354 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 86 unit: func() file: pkg/admission/metadata/usergroup.go start line: 108 end line: 127 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 87 unit: func() file: pkg/admission/informers.go start line: 69 end line: 85 size: 17 LOC McCabe index: 6 number of parameters: 1 id: 88 unit: func() file: pkg/admission/webhook_manager.go start line: 534 end line: 554 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 89 unit: func() file: pkg/shim/scheduler.go start line: 191 end line: 224 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 90 unit: func initDispatcher() file: pkg/dispatcher/dispatcher.go start line: 63 end line: 79 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 91 unit: func CreateReleaseRequestForForeignPod() file: pkg/common/si_helper.go start line: 170 end line: 187 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 92 unit: func() file: pkg/admission/conf/am_conf.go start line: 257 end line: 272 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 93 unit: func parseRegexes() file: pkg/admission/conf/am_conf.go start line: 396 end line: 411 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 94 unit: func parseRegexes() file: pkg/admission/admission_controller.go start line: 90 end line: 105 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 95 unit: func admissionResponseBuilder() file: pkg/admission/admission_controller.go start line: 107 end line: 123 size: 16 LOC McCabe index: 3 number of parameters: 4 id: 96 unit: func() file: pkg/admission/webhook_manager.go start line: 112 end line: 127 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 97 unit: func addPlugins() file: pkg/plugin/predicates/predicate_manager.go start line: 477 end line: 492 size: 16 LOC McCabe index: 5 number of parameters: 4 id: 98 unit: func FlattenConfigMaps() file: pkg/conf/schedulerconf.go start line: 471 end line: 485 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 99 unit: func updateMax() file: pkg/common/resource.go start line: 145 end line: 162 size: 15 LOC McCabe index: 5 number of parameters: 2 id: 100 unit: func getPodLevelResource() file: pkg/common/resource.go start line: 301 end line: 315 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 101 unit: func() file: pkg/admission/conf/am_conf.go start line: 241 end line: 255 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 102 unit: func GenerateCACertificate() file: pkg/admission/pki/certs.go start line: 39 end line: 54 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: func GenerateServerCertificate() file: pkg/admission/pki/certs.go start line: 56 end line: 71 size: 15 LOC McCabe index: 1 number of parameters: 4 id: 104 unit: func EncodeCertChainPem() file: pkg/admission/pki/certs.go start line: 87 end line: 102 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 105 unit: func buildClusterEvents() file: pkg/plugin/predicates/predicate_manager.go start line: 112 end line: 126 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 106 unit: func UpdateWebhookConfiguration() file: pkg/cmd/admissioncontroller/main.go start line: 121 end line: 138 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 107 unit: func getEventHandler() file: pkg/dispatcher/dispatcher.go start line: 111 end line: 125 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 108 unit: func handleNonReloadableConfig() file: pkg/conf/schedulerconf.go start line: 201 end line: 215 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 109 unit: func CreateUpdateRequestForUpdatedNode() file: pkg/common/si_helper.go start line: 190 end line: 204 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 110 unit: func computeContainerResource() file: pkg/common/resource.go start line: 113 end line: 127 size: 14 LOC McCabe index: 5 number of parameters: 3 id: 111 unit: func GetNamespaceGuaranteedFromAnnotation() file: pkg/common/utils/utils.go start line: 247 end line: 261 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 112 unit: func GetEventArgsAsStrings() file: pkg/common/events/event_helper.go start line: 25 end line: 38 size: 14 LOC McCabe index: 6 number of parameters: 2 id: 113 unit: func() file: pkg/admission/admission_controller.go start line: 419 end line: 435 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: func newSchedulerKubeClient() file: pkg/client/kubeclient.go start line: 55 end line: 69 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 115 unit: func newShimSchedulerInternal() file: pkg/shim/scheduler.go start line: 99 end line: 114 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 116 unit: func() file: pkg/shim/scheduler.go start line: 175 end line: 189 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 117 unit: func EnableOptionalKubernetesFeatureGates() file: pkg/plugin/predicates/predicate_manager.go start line: 283 end line: 296 size: 14 LOC McCabe index: 4 number of parameters: 0 id: 118 unit: func GetTGResource() file: pkg/common/resource.go start line: 273 end line: 285 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 119 unit: func getResource() file: pkg/common/resource.go start line: 287 end line: 299 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 120 unit: func GenerateApplicationID() file: pkg/common/utils/utils.go start line: 132 end line: 146 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 121 unit: func MergeMaps() file: pkg/common/utils/utils.go start line: 335 end line: 347 size: 13 LOC McCabe index: 5 number of parameters: 2 id: 122 unit: func parseConfigRegexps() file: pkg/admission/conf/am_conf.go start line: 364 end line: 376 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 123 unit: func EncodeCertificatePem() file: pkg/admission/pki/certs.go start line: 73 end line: 85 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 124 unit: func DecodeCertificatePem() file: pkg/admission/pki/certs.go start line: 128 end line: 140 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 125 unit: func EncodePrivateKeyPem() file: pkg/admission/pki/certs.go start line: 142 end line: 154 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 126 unit: func DecodePrivateKeyPem() file: pkg/admission/pki/certs.go start line: 156 end line: 168 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 127 unit: func disableYuniKorn() file: pkg/admission/admission_controller.go start line: 437 end line: 452 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 128 unit: func NewWebhookManager() file: pkg/admission/webhook_manager.go start line: 88 end line: 100 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 129 unit: func LoadBootstrapConfigMaps() file: pkg/client/bootstrap.go start line: 28 end line: 44 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 130 unit: func defaultConfig() file: pkg/plugin/predicates/predicate_manager.go start line: 439 end line: 460 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 131 unit: func removePlugin() file: pkg/plugin/predicates/predicate_manager.go start line: 462 end line: 475 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 132 unit: func() file: pkg/dispatcher/dispatcher.go start line: 155 end line: 166 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 133 unit: func() file: pkg/conf/schedulerconf.go start line: 376 end line: 387 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 134 unit: func GetBuildInfoMap() file: pkg/conf/schedulerconf.go start line: 487 end line: 498 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 135 unit: func CreateUpdateRequestForDeleteOrRestoreNode() file: pkg/common/si_helper.go start line: 208 end line: 220 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 136 unit: func WaitForCondition() file: pkg/common/utils/utils.go start line: 317 end line: 330 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 137 unit: func NewNamespaceCache() file: pkg/admission/namespace_cache.go start line: 58 end line: 69 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 138 unit: func getAnnotationValue() file: pkg/admission/namespace_cache.go start line: 165 end line: 176 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 139 unit: func NewPriorityClassCache() file: pkg/admission/priority_class_cache.go start line: 41 end line: 52 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 140 unit: func getAnnotationBoolean() file: pkg/admission/priority_class_cache.go start line: 123 end line: 134 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 141 unit: func fromDeployment() file: pkg/admission/metadata/extract.go start line: 59 end line: 71 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 142 unit: func fromDaemonSet() file: pkg/admission/metadata/extract.go start line: 73 end line: 85 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 143 unit: func fromStatefulSet() file: pkg/admission/metadata/extract.go start line: 87 end line: 99 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 144 unit: func fromReplicaSet() file: pkg/admission/metadata/extract.go start line: 101 end line: 113 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 145 unit: func fromJob() file: pkg/admission/metadata/extract.go start line: 115 end line: 127 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 146 unit: func fromCronJob() file: pkg/admission/metadata/extract.go start line: 129 end line: 141 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 147 unit: func() file: pkg/admission/admission_controller.go start line: 333 end line: 347 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 148 unit: func() file: pkg/admission/admission_controller.go start line: 488 end line: 499 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 149 unit: func() file: pkg/admission/admission_controller.go start line: 511 end line: 522 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 150 unit: func NewInformers() file: pkg/admission/informers.go start line: 40 end line: 54 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 151 unit: func() file: pkg/admission/webhook_manager.go start line: 556 end line: 570 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 152 unit: func getPluginArgsOrDefault() file: pkg/plugin/predicates/predicate_manager.go start line: 520 end line: 533 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 153 unit: func() file: pkg/cmd/admissioncontroller/main.go start line: 183 end line: 195 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 154 unit: func UnregisterEventHandler() file: pkg/dispatcher/dispatcher.go start line: 91 end line: 101 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 155 unit: func GetDefaultKubeConfigPath() file: pkg/conf/schedulerconf.go start line: 287 end line: 297 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 156 unit: func() file: pkg/conf/schedulerconf.go start line: 389 end line: 399 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 157 unit: func() file: pkg/conf/schedulerconf.go start line: 401 end line: 411 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 158 unit: func DumpConfiguration() file: pkg/conf/schedulerconf.go start line: 429 end line: 443 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 159 unit: func CreateUpdateRequestForRemoveApplication() file: pkg/common/si_helper.go start line: 222 end line: 232 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 160 unit: func isResizeInfeasible() file: pkg/common/resource.go start line: 132 end line: 142 size: 11 LOC McCabe index: 5 number of parameters: 1 id: 161 unit: func IsZero() file: pkg/common/resource.go start line: 396 end line: 406 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 162 unit: func GetQueueNameFromPod() file: pkg/common/utils/utils.go start line: 111 end line: 127 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 163 unit: func() file: pkg/admission/metadata/usergroup.go start line: 96 end line: 106 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 164 unit: func() file: pkg/admission/metadata/labels.go start line: 25 end line: 35 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 165 unit: func() file: pkg/admission/webhook_manager.go start line: 644 end line: 656 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 166 unit: func newBootstrapSchedulerKubeClient() file: pkg/client/kubeclient.go start line: 43 end line: 53 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 167 unit: func() file: pkg/client/kubeclient.go start line: 151 end line: 161 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 168 unit: func() file: pkg/client/kubeclient.go start line: 163 end line: 173 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 169 unit: func loggerLevel() file: pkg/log/logger.go start line: 139 end line: 149 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 170 unit: func pluginEvents() file: pkg/plugin/predicates/predicate_manager.go start line: 75 end line: 86 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 171 unit: func() file: pkg/plugin/predicates/predicate_manager.go start line: 175 end line: 186 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 172 unit: func() file: pkg/plugin/predicates/predicate_manager.go start line: 200 end line: 213 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 173 unit: func GetCoreSchedulerConfigFromConfigMap() file: pkg/common/utils/utils.go start line: 392 end line: 402 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 174 unit: func GetExtraConfigFromConfigMap() file: pkg/common/utils/utils.go start line: 405 end line: 414 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 175 unit: func parseConfigBool() file: pkg/admission/conf/am_conf.go start line: 378 end line: 387 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 176 unit: func() file: pkg/admission/namespace_cache.go start line: 112 end line: 122 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 177 unit: func() file: pkg/admission/priority_class_cache.go start line: 83 end line: 93 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 178 unit: func() file: pkg/admission/metadata/usergroup.go start line: 83 end line: 94 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 179 unit: func InitAdmissionController() file: pkg/admission/admission_controller.go start line: 78 end line: 88 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 180 unit: func() file: pkg/client/kubeclient.go start line: 140 end line: 149 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 181 unit: func() file: pkg/shim/scheduler.go start line: 226 end line: 237 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 182 unit: func() file: pkg/plugin/predicates/predicate_manager.go start line: 64 end line: 73 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 183 unit: func preFilterPlugins() file: pkg/plugin/predicates/predicate_manager.go start line: 417 end line: 426 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 184 unit: func filterPlugins() file: pkg/plugin/predicates/predicate_manager.go start line: 428 end line: 437 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 185 unit: func() file: pkg/plugin/scheduler_plugin.go start line: 317 end line: 326 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 186 unit: func RegisterEventHandler() file: pkg/dispatcher/dispatcher.go start line: 81 end line: 89 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 187 unit: func() file: pkg/admission/namespace_cache.go start line: 72 end line: 81 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 188 unit: func() file: pkg/admission/namespace_cache.go start line: 84 end line: 93 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 189 unit: func getAnnotationValues() file: pkg/admission/namespace_cache.go start line: 152 end line: 161 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 190 unit: func() file: pkg/admission/priority_class_cache.go start line: 55 end line: 64 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 191 unit: func() file: pkg/admission/admission_controller.go start line: 501 end line: 509 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 192 unit: func() file: pkg/admission/admission_controller.go start line: 524 end line: 532 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 193 unit: func() file: pkg/admission/admission_controller.go start line: 620 end line: 629 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 194 unit: func() file: pkg/shim/scheduler.go start line: 120 end line: 128 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 195 unit: func() file: pkg/webtest/web_server.go start line: 55 end line: 63 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 196 unit: func() file: pkg/dispatcher/dispatcher.go start line: 199 end line: 206 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 197 unit: func updateKubeLogger() file: pkg/conf/schedulerconf.go start line: 413 end line: 427 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 198 unit: func NewAdmissionControllerConf() file: pkg/admission/conf/am_conf.go start line: 109 end line: 116 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 199 unit: func updatePodAnnotation() file: pkg/admission/util.go start line: 68 end line: 75 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 200 unit: func updateSchedulerName() file: pkg/admission/admission_controller.go start line: 370 end line: 377 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 201 unit: func newWebhookManagerImpl() file: pkg/admission/webhook_manager.go start line: 102 end line: 110 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 202 unit: func Log() file: pkg/log/logger.go start line: 108 end line: 115 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 203 unit: func NewFrameworkHandle() file: pkg/plugin/support/framework_handle.go start line: 161 end line: 168 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 204 unit: func() file: pkg/plugin/support/nodeinfo_lister.go start line: 45 end line: 52 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 205 unit: func() file: pkg/plugin/scheduler_plugin.go start line: 308 end line: 315 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 206 unit: func() file: pkg/webtest/web_server.go start line: 65 end line: 72 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 207 unit: func main() file: pkg/cmd/schedulerplugin/main.go start line: 30 end line: 39 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 208 unit: func Convert2Pod() file: pkg/common/utils/utils.go start line: 61 end line: 67 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 209 unit: func Convert2ConfigMap() file: pkg/common/utils/utils.go start line: 69 end line: 75 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 210 unit: func Convert2PriorityClass() file: pkg/common/utils/utils.go start line: 77 end line: 83 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 211 unit: func() file: pkg/admission/conf/am_conf.go start line: 118 end line: 125 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 212 unit: func() file: pkg/admission/conf/am_conf.go start line: 280 end line: 287 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 213 unit: func regexpsString() file: pkg/admission/conf/am_conf.go start line: 356 end line: 362 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 214 unit: func convert2Namespace() file: pkg/admission/util.go start line: 77 end line: 83 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 215 unit: func() file: pkg/admission/metadata/usergroup.go start line: 129 end line: 135 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 216 unit: func() file: pkg/admission/admission_controller.go start line: 324 end line: 331 size: 7 LOC McCabe index: 6 number of parameters: 1 id: 217 unit: func() file: pkg/admission/admission_controller.go start line: 539 end line: 545 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 218 unit: func() file: pkg/admission/admission_controller.go start line: 551 end line: 557 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 219 unit: func CreateRestConfigOrDie() file: pkg/client/kubeclient.go start line: 71 end line: 77 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 220 unit: func NewShimSchedulerForPlugin() file: pkg/shim/scheduler.go start line: 90 end line: 96 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 221 unit: func() file: pkg/shim/scheduler.go start line: 239 end line: 245 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 222 unit: func parentLogger() file: pkg/log/logger.go start line: 154 end line: 161 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 223 unit: func() file: pkg/plugin/scheduler_plugin.go start line: 231 end line: 240 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 224 unit: func() file: pkg/cmd/admissioncontroller/main.go start line: 199 end line: 205 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 225 unit: func UnregisterAllEventHandlers() file: pkg/dispatcher/dispatcher.go start line: 103 end line: 108 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 226 unit: func Dispatch() file: pkg/dispatcher/dispatcher.go start line: 138 end line: 145 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 227 unit: func checkNonReloadableString() file: pkg/conf/schedulerconf.go start line: 219 end line: 224 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 228 unit: func checkNonReloadableDuration() file: pkg/conf/schedulerconf.go start line: 226 end line: 231 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 229 unit: func checkNonReloadableInt() file: pkg/conf/schedulerconf.go start line: 233 end line: 238 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 230 unit: func checkNonReloadableBool() file: pkg/conf/schedulerconf.go start line: 240 end line: 245 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 231 unit: func GetSchedulerNamespace() file: pkg/conf/schedulerconf.go start line: 276 end line: 281 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 232 unit: func newConfigParser() file: pkg/conf/schedulerconf.go start line: 363 end line: 368 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 233 unit: func GetBuildInfoString() file: pkg/conf/schedulerconf.go start line: 500 end line: 505 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 234 unit: func CreatePriorityForTask() file: pkg/common/si_helper.go start line: 68 end line: 73 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 235 unit: func GetTerminationTypeFromString() file: pkg/common/si_helper.go start line: 143 end line: 148 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 236 unit: func PodAlreadyBound() file: pkg/common/utils/utils.go start line: 86 end line: 96 size: 6 LOC McCabe index: 4 number of parameters: 1 id: 237 unit: func GetPodAnnotationValue() file: pkg/common/utils/utils.go start line: 416 end line: 421 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 238 unit: func GetNameSpaceAnnotationValue() file: pkg/common/utils/utils.go start line: 423 end line: 428 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 239 unit: func GetPodLabelValue() file: pkg/common/utils/utils.go start line: 430 end line: 435 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 240 unit: func() file: pkg/admission/conf/am_conf.go start line: 227 end line: 232 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 241 unit: func() file: pkg/admission/conf/am_conf.go start line: 234 end line: 239 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 242 unit: func parseConfigString() file: pkg/admission/conf/am_conf.go start line: 389 end line: 394 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 243 unit: func() file: pkg/admission/namespace_cache.go start line: 96 end line: 102 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 244 unit: func() file: pkg/admission/priority_class_cache.go start line: 67 end line: 73 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 245 unit: func() file: pkg/admission/informers.go start line: 56 end line: 61 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 246 unit: func() file: pkg/admission/webhook_manager.go start line: 572 end line: 577 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 247 unit: func() file: pkg/admission/webhook_manager.go start line: 607 end line: 612 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 248 unit: func() file: pkg/client/apifactory.go start line: 231 end line: 237 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 249 unit: func() file: pkg/client/apifactory.go start line: 239 end line: 245 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 250 unit: func() file: pkg/log/filtered_core.go start line: 30 end line: 35 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 251 unit: func() file: pkg/log/filtered_core.go start line: 41 end line: 46 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 252 unit: func createLogger() file: pkg/log/logger.go start line: 119 end line: 124 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 253 unit: func() file: pkg/plugin/predicates/predicate_manager.go start line: 128 end line: 133 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 254 unit: func NewNodeInfoLister() file: pkg/plugin/support/nodeinfo_lister.go start line: 58 end line: 63 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 255 unit: func NewStorageInfoLister() file: pkg/plugin/support/storageinfo_lister.go start line: 39 end line: 44 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 256 unit: func NewSharedLister() file: pkg/plugin/support/shared_lister.go start line: 42 end line: 47 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 257 unit: func WaitForCertExpiration() file: pkg/cmd/admissioncontroller/main.go start line: 114 end line: 119 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 258 unit: func CreateWebhook() file: pkg/cmd/admissioncontroller/main.go start line: 140 end line: 145 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 259 unit: func envOrDefault() file: pkg/cmd/webtest/main.go start line: 58 end line: 63 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 260 unit: func() file: pkg/conf/schedulerconf.go start line: 258 end line: 262 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 261 unit: func() file: pkg/conf/schedulerconf.go start line: 264 end line: 268 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 262 unit: func() file: pkg/conf/schedulerconf.go start line: 270 end line: 274 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 263 unit: func() file: pkg/conf/schedulerconf.go start line: 370 end line: 374 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 264 unit: func NewResourceBuilder() file: pkg/common/resource.go start line: 38 end line: 42 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 265 unit: func() file: pkg/admission/conf/am_conf.go start line: 135 end line: 139 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 266 unit: func() file: pkg/admission/conf/am_conf.go start line: 141 end line: 145 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 267 unit: func() file: pkg/admission/conf/am_conf.go start line: 151 end line: 155 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 268 unit: func() file: pkg/admission/conf/am_conf.go start line: 157 end line: 161 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 269 unit: func() file: pkg/admission/conf/am_conf.go start line: 163 end line: 167 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 270 unit: func() file: pkg/admission/conf/am_conf.go start line: 169 end line: 173 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 271 unit: func() file: pkg/admission/conf/am_conf.go start line: 175 end line: 179 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 272 unit: func() file: pkg/admission/conf/am_conf.go start line: 181 end line: 185 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 273 unit: func() file: pkg/admission/conf/am_conf.go start line: 187 end line: 191 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 274 unit: func() file: pkg/admission/conf/am_conf.go start line: 193 end line: 197 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 275 unit: func() file: pkg/admission/conf/am_conf.go start line: 199 end line: 203 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 276 unit: func() file: pkg/admission/conf/am_conf.go start line: 205 end line: 209 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 277 unit: func() file: pkg/admission/conf/am_conf.go start line: 211 end line: 215 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 278 unit: func() file: pkg/admission/conf/am_conf.go start line: 217 end line: 221 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 279 unit: func() file: pkg/admission/conf/am_conf.go start line: 274 end line: 278 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 280 unit: func() file: pkg/admission/conf/am_conf.go start line: 332 end line: 336 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 281 unit: func NewUserGroupAnnotationHandler() file: pkg/admission/metadata/usergroup.go start line: 39 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 282 unit: func() file: pkg/admission/informers.go start line: 63 end line: 67 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 283 unit: func() file: pkg/admission/webhook_manager.go start line: 228 end line: 232 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 284 unit: func() file: pkg/client/apifactory.go start line: 247 end line: 251 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 285 unit: func() file: pkg/shim/scheduler.go start line: 247 end line: 251 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 286 unit: func() file: pkg/shim/scheduler.go start line: 253 end line: 257 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 287 unit: func() file: pkg/plugin/predicates/predicate_manager.go start line: 188 end line: 192 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 288 unit: func() file: pkg/plugin/predicates/predicate_manager.go start line: 194 end line: 198 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 289 unit: func() file: pkg/plugin/scheduler_plugin.go start line: 220 end line: 225 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 290 unit: func init() file: pkg/locking/locking.go start line: 31 end line: 36 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 291 unit: func getDispatcher() file: pkg/dispatcher/dispatcher.go start line: 127 end line: 132 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 292 unit: func GetSchedulerConf() file: pkg/conf/schedulerconf.go start line: 247 end line: 250 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 293 unit: func SetSchedulerConf() file: pkg/conf/schedulerconf.go start line: 252 end line: 256 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 294 unit: func() file: pkg/common/resource.go start line: 44 end line: 47 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 295 unit: func PodUnderCondition() file: pkg/common/utils/utils.go start line: 241 end line: 244 size: 4 LOC McCabe index: 3 number of parameters: 2 id: 296 unit: func init() file: pkg/common/events/recorder.go start line: 29 end line: 32 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 297 unit: func() file: pkg/admission/webhook_manager.go start line: 223 end line: 226 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 298 unit: func() file: pkg/shim/scheduler.go start line: 130 end line: 135 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 299 unit: func RootLogger() file: pkg/log/logger.go start line: 102 end line: 105 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 300 unit: func GetZapConfigs() file: pkg/log/logger.go start line: 208 end line: 212 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 301 unit: func UpdateLoggingConfig() file: pkg/log/logger.go start line: 217 end line: 220 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 302 unit: func() file: pkg/plugin/support/framework_handle.go start line: 61 end line: 64 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 303 unit: func() file: pkg/plugin/support/framework_handle.go start line: 80 end line: 83 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 304 unit: func() file: pkg/plugin/support/framework_handle.go start line: 87 end line: 90 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 305 unit: func() file: pkg/plugin/support/framework_handle.go start line: 92 end line: 95 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 306 unit: func() file: pkg/plugin/support/framework_handle.go start line: 97 end line: 100 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 307 unit: func() file: pkg/plugin/support/framework_handle.go start line: 102 end line: 105 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 308 unit: func() file: pkg/plugin/support/framework_handle.go start line: 107 end line: 110 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 309 unit: func() file: pkg/plugin/support/framework_handle.go start line: 118 end line: 121 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 310 unit: func() file: pkg/plugin/support/framework_handle.go start line: 123 end line: 126 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 311 unit: func() file: pkg/plugin/support/framework_handle.go start line: 128 end line: 131 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 312 unit: func() file: pkg/plugin/support/framework_handle.go start line: 133 end line: 136 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 313 unit: func() file: pkg/plugin/support/framework_handle.go start line: 138 end line: 141 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 314 unit: func() file: pkg/plugin/support/framework_handle.go start line: 143 end line: 146 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 315 unit: func() file: pkg/plugin/support/framework_handle.go start line: 153 end line: 157 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 316 unit: func() file: pkg/dispatcher/dispatcher.go start line: 147 end line: 149 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 317 unit: func() file: pkg/dispatcher/dispatcher.go start line: 151 end line: 153 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 318 unit: func createConfigs() file: pkg/conf/schedulerconf.go start line: 283 end line: 285 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 319 unit: func() file: pkg/common/resource.go start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 320 unit: func isSideCarContainer() file: pkg/common/resource.go start line: 198 end line: 200 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 321 unit: func GetNodeResource() file: pkg/common/resource.go start line: 202 end line: 209 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 322 unit: func SetPluginMode() file: pkg/common/utils/utils.go start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 323 unit: func IsPluginMode() file: pkg/common/utils/utils.go start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 324 unit: func IsPodRunning() file: pkg/common/utils/utils.go start line: 98 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 325 unit: func IsPodTerminated() file: pkg/common/utils/utils.go start line: 102 end line: 104 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 326 unit: func IsAssignedPod() file: pkg/common/utils/utils.go start line: 107 end line: 109 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 327 unit: func GetTaskGroupFromPodSpec() file: pkg/common/utils/utils.go start line: 437 end line: 439 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 328 unit: func GetRecorder() file: pkg/common/events/recorder.go start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 329 unit: func SetRecorder() file: pkg/common/events/recorder.go start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 330 unit: func() file: pkg/admission/conf/am_conf.go start line: 127 end line: 129 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 331 unit: func() file: pkg/admission/conf/am_conf.go start line: 131 end line: 133 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 332 unit: func GetPendingPolicyGroup() file: pkg/admission/conf/am_conf.go start line: 147 end line: 149 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 333 unit: func() file: pkg/admission/namespace_cache.go start line: 125 end line: 127 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 334 unit: func() file: pkg/admission/priority_class_cache.go start line: 96 end line: 98 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 335 unit: func serialNumber() file: pkg/admission/pki/certs.go start line: 170 end line: 172 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 336 unit: func NewKubeClient() file: pkg/client/interfaces.go start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 337 unit: func NewBootstrapKubeClient() file: pkg/client/interfaces.go start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 338 unit: func() file: pkg/client/apifactory.go start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 339 unit: func() file: pkg/client/apifactory.go start line: 161 end line: 163 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 340 unit: func() file: pkg/client/apifactory.go start line: 165 end line: 167 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 341 unit: func() file: pkg/client/kubeclient.go start line: 103 end line: 105 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 342 unit: func() file: pkg/client/kubeclient.go start line: 107 end line: 109 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 343 unit: func() file: pkg/client/kubeclient.go start line: 136 end line: 138 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 344 unit: func() file: pkg/shim/scheduler.go start line: 116 end line: 118 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 345 unit: func() file: pkg/log/filtered_core.go start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 346 unit: func() file: pkg/log/filtered_core.go start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 347 unit: func() file: pkg/log/filtered_core.go start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 348 unit: func() file: pkg/log/logger.go start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 349 unit: func() file: pkg/plugin/predicates/predicate_manager.go start line: 244 end line: 246 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 350 unit: func() file: pkg/plugin/predicates/predicate_manager.go start line: 273 end line: 275 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 351 unit: func() file: pkg/plugin/support/framework_handle.go start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 352 unit: func() file: pkg/plugin/support/framework_handle.go start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 353 unit: func() file: pkg/plugin/support/framework_handle.go start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 354 unit: func() file: pkg/plugin/support/framework_handle.go start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 355 unit: func() file: pkg/plugin/support/framework_handle.go start line: 68 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 356 unit: func() file: pkg/plugin/support/framework_handle.go start line: 72 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 357 unit: func() file: pkg/plugin/support/framework_handle.go start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 358 unit: func() file: pkg/plugin/support/framework_handle.go start line: 114 end line: 116 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 359 unit: func() file: pkg/plugin/support/framework_handle.go start line: 148 end line: 151 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 360 unit: func() file: pkg/plugin/support/nodeinfo_lister.go start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 361 unit: func() file: pkg/plugin/support/nodeinfo_lister.go start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 362 unit: func() file: pkg/plugin/support/nodeinfo_lister.go start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 363 unit: func() file: pkg/plugin/support/storageinfo_lister.go start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 364 unit: func() file: pkg/plugin/support/shared_lister.go start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 365 unit: func() file: pkg/plugin/support/shared_lister.go start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 366 unit: func() file: pkg/plugin/scheduler_plugin.go start line: 85 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 367 unit: func() file: pkg/plugin/scheduler_plugin.go start line: 179 end line: 181 size: 3 LOC McCabe index: 1 number of parameters: 1