id: 1 unit: func NewController() file: pkg/controllers/controller.go start line: 69 end line: 330 size: 172 LOC McCabe index: 19 number of parameters: 4 id: 2 unit: func() file: pkg/resources/statefulset/ndbmtd_statefulset.go start line: 93 end line: 213 size: 98 LOC McCabe index: 17 number of parameters: 1 id: 3 unit: func GetConfigString() file: pkg/ndbconfig/config_generators.go start line: 91 end line: 199 size: 87 LOC McCabe index: 15 number of parameters: 2 id: 4 unit: func() file: pkg/resources/statefulset/mysqld_statefulset.go start line: 60 end line: 165 size: 84 LOC McCabe index: 8 number of parameters: 1 id: 5 unit: func() file: pkg/controllers/sync_context.go start line: 279 end line: 420 size: 82 LOC McCabe index: 27 number of parameters: 1 id: 6 unit: func() file: pkg/apis/ndbcontroller/v1/validation.go start line: 56 end line: 146 size: 69 LOC McCabe index: 15 number of parameters: 1 id: 7 unit: func createCertificate() file: pkg/webhook/certificate_generator.go start line: 25 end line: 105 size: 62 LOC McCabe index: 6 number of parameters: 2 id: 8 unit: func() file: pkg/controllers/ndbmtd_statefulset_controller.go start line: 114 end line: 190 size: 60 LOC McCabe index: 12 number of parameters: 1 id: 9 unit: func() file: pkg/mgmapi/mgmapi.go start line: 389 end line: 485 size: 59 LOC McCabe index: 18 number of parameters: 1 id: 10 unit: func() file: pkg/controllers/ndbcluster_status.go start line: 35 end line: 111 size: 57 LOC McCabe index: 9 number of parameters: 1 id: 11 unit: func main() file: cmd/ndb-operator/main.go start line: 26 end line: 107 size: 55 LOC McCabe index: 11 number of parameters: 0 id: 12 unit: func() file: pkg/controllers/sync_context.go start line: 188 end line: 271 size: 51 LOC McCabe index: 11 number of parameters: 1 id: 13 unit: func() file: pkg/controllers/sync_context.go start line: 492 end line: 595 size: 51 LOC McCabe index: 15 number of parameters: 1 id: 14 unit: func ParseString() file: pkg/ndbconfig/configparser/config_parser.go start line: 140 end line: 218 size: 50 LOC McCabe index: 16 number of parameters: 1 id: 15 unit: func() file: pkg/apis/ndbcontroller/v1/validation.go start line: 172 end line: 236 size: 50 LOC McCabe index: 12 number of parameters: 1 id: 16 unit: func() file: pkg/resources/statefulset/ndbmtd_statefulset.go start line: 216 end line: 289 size: 48 LOC McCabe index: 6 number of parameters: 1 id: 17 unit: func() file: pkg/resources/statefulset/ndb_statefulset_interface.go start line: 186 end line: 248 size: 45 LOC McCabe index: 3 number of parameters: 1 id: 18 unit: func() file: pkg/controllers/mysqld_statefulset_controller.go start line: 56 end line: 135 size: 45 LOC McCabe index: 11 number of parameters: 1 id: 19 unit: func() file: pkg/controllers/mysqld_statefulset_controller.go start line: 197 end line: 258 size: 44 LOC McCabe index: 10 number of parameters: 1 id: 20 unit: func() file: pkg/resources/statefulset/ndb_statefulset_interface.go start line: 84 end line: 130 size: 42 LOC McCabe index: 2 number of parameters: 1 id: 21 unit: func() file: pkg/mgmapi/config_reader.go start line: 126 end line: 196 size: 42 LOC McCabe index: 11 number of parameters: 1 id: 22 unit: func() file: pkg/ndbconfig/config_summary.go start line: 121 end line: 191 size: 41 LOC McCabe index: 17 number of parameters: 1 id: 23 unit: func CopyPodSpecFromNdbPodSpec() file: pkg/resources/statefulset/podspec_util.go start line: 31 end line: 99 size: 40 LOC McCabe index: 13 number of parameters: 2 id: 24 unit: func() file: pkg/controllers/webhookconfig_controller.go start line: 50 end line: 101 size: 40 LOC McCabe index: 8 number of parameters: 1 id: 25 unit: func() file: pkg/controllers/webhookconfig_controller.go start line: 104 end line: 155 size: 40 LOC McCabe index: 8 number of parameters: 1 id: 26 unit: func newService() file: pkg/resources/statefulset/service.go start line: 17 end line: 68 size: 39 LOC McCabe index: 4 number of parameters: 5 id: 27 unit: func() file: pkg/resources/statefulset/mgmd_statefulset.go start line: 41 end line: 87 size: 38 LOC McCabe index: 1 number of parameters: 1 id: 28 unit: func() file: pkg/controllers/configmap_controller.go start line: 95 end line: 144 size: 38 LOC McCabe index: 6 number of parameters: 1 id: 29 unit: func setWebhookServerTLSCerts() file: pkg/webhook/server.go start line: 161 end line: 215 size: 38 LOC McCabe index: 9 number of parameters: 2 id: 30 unit: func() file: pkg/resources/statefulset/mgmd_statefulset.go start line: 110 end line: 157 size: 37 LOC McCabe index: 2 number of parameters: 1 id: 31 unit: func validate() file: pkg/webhook/admission_controller_interface.go start line: 39 end line: 87 size: 37 LOC McCabe index: 8 number of parameters: 2 id: 32 unit: func() file: pkg/controllers/controller.go start line: 485 end line: 552 size: 36 LOC McCabe index: 8 number of parameters: 1 id: 33 unit: func serve() file: pkg/webhook/server.go start line: 68 end line: 115 size: 36 LOC McCabe index: 6 number of parameters: 4 id: 34 unit: func writeNodeIDToFile() file: cmd/ndb-pod-initializer/main.go start line: 141 end line: 195 size: 36 LOC McCabe index: 6 number of parameters: 2 id: 35 unit: func NewConfigSummary() file: pkg/ndbconfig/config_summary.go start line: 77 end line: 118 size: 35 LOC McCabe index: 4 number of parameters: 1 id: 36 unit: func() file: pkg/resources/statefulset/mysqld_statefulset.go start line: 233 end line: 276 size: 35 LOC McCabe index: 1 number of parameters: 1 id: 37 unit: func() file: pkg/mgmapi/mgmapi.go start line: 618 end line: 691 size: 35 LOC McCabe index: 7 number of parameters: 1 id: 38 unit: func() file: pkg/controllers/ndbmtd_statefulset_controller.go start line: 64 end line: 110 size: 34 LOC McCabe index: 7 number of parameters: 1 id: 39 unit: func main() file: hack/prettify-yaml.go start line: 31 end line: 73 size: 32 LOC McCabe index: 8 number of parameters: 0 id: 40 unit: func() file: pkg/controllers/mysqld_statefulset_controller.go start line: 140 end line: 194 size: 32 LOC McCabe index: 8 number of parameters: 1 id: 41 unit: func checkContainersForError() file: pkg/controllers/common_utils.go start line: 108 end line: 149 size: 31 LOC McCabe index: 12 number of parameters: 2 id: 42 unit: func GetServiceAddressAndPort() file: pkg/helpers/k8s_utils.go start line: 28 end line: 65 size: 31 LOC McCabe index: 8 number of parameters: 1 id: 43 unit: func() file: pkg/mgmapi/clusterstatus.go start line: 141 end line: 190 size: 31 LOC McCabe index: 8 number of parameters: 1 id: 44 unit: func() file: pkg/resources/statefulset/ndb_statefulset_interface.go start line: 141 end line: 182 size: 30 LOC McCabe index: 2 number of parameters: 1 id: 45 unit: func() file: pkg/resources/statefulset/mysqld_statefulset.go start line: 319 end line: 368 size: 30 LOC McCabe index: 3 number of parameters: 1 id: 46 unit: func CreateRootUserIfNotExist() file: pkg/mysqlclient/root_user.go start line: 30 end line: 67 size: 30 LOC McCabe index: 7 number of parameters: 4 id: 47 unit: func() file: pkg/controllers/statefulset_control.go start line: 161 end line: 216 size: 30 LOC McCabe index: 6 number of parameters: 1 id: 48 unit: func() file: pkg/controllers/sync_context.go start line: 598 end line: 649 size: 30 LOC McCabe index: 5 number of parameters: 1 id: 49 unit: func() file: pkg/mgmapi/config_reader.go start line: 199 end line: 275 size: 30 LOC McCabe index: 7 number of parameters: 1 id: 50 unit: func() file: pkg/mgmapi/mgmapi.go start line: 115 end line: 161 size: 30 LOC McCabe index: 7 number of parameters: 1 id: 51 unit: func() file: pkg/apis/ndbcontroller/v1/zz_generated.deepcopy.go start line: 191 end line: 219 size: 29 LOC McCabe index: 6 number of parameters: 1 id: 52 unit: func() file: pkg/apis/ndbcontroller/v1/zz_generated.deepcopy.go start line: 268 end line: 296 size: 29 LOC McCabe index: 6 number of parameters: 1 id: 53 unit: func main() file: cmd/ndb-pod-initializer/main.go start line: 276 end line: 322 size: 29 LOC McCabe index: 7 number of parameters: 0 id: 54 unit: func() file: pkg/apis/ndbcontroller/v1/zz_generated.deepcopy.go start line: 97 end line: 124 size: 28 LOC McCabe index: 7 number of parameters: 1 id: 55 unit: func() file: pkg/resources/statefulset/ndbmtd_statefulset.go start line: 299 end line: 341 size: 28 LOC McCabe index: 3 number of parameters: 1 id: 56 unit: func() file: pkg/controllers/service_controller.go start line: 51 end line: 91 size: 28 LOC McCabe index: 6 number of parameters: 1 id: 57 unit: func() file: pkg/controllers/serviceaccount_controller.go start line: 46 end line: 85 size: 27 LOC McCabe index: 6 number of parameters: 1 id: 58 unit: func() file: pkg/controllers/statefulset_control.go start line: 82 end line: 124 size: 27 LOC McCabe index: 6 number of parameters: 1 id: 59 unit: func initWebhookServer() file: pkg/webhook/server.go start line: 118 end line: 158 size: 27 LOC McCabe index: 4 number of parameters: 1 id: 60 unit: func() file: pkg/ndbconfig/configparser/config_parser.go start line: 99 end line: 137 size: 26 LOC McCabe index: 10 number of parameters: 1 id: 61 unit: func CreateConfigMap() file: pkg/resources/configmap.go start line: 153 end line: 205 size: 26 LOC McCabe index: 4 number of parameters: 1 id: 62 unit: func waitForDataNodeFailureHandlingToComplete() file: cmd/ndb-pod-initializer/main.go start line: 233 end line: 274 size: 26 LOC McCabe index: 5 number of parameters: 2 id: 63 unit: func() file: pkg/resources/statefulset/ndbmtd_statefulset.go start line: 40 end line: 73 size: 25 LOC McCabe index: 2 number of parameters: 1 id: 64 unit: func() file: pkg/controllers/statefulset_control.go start line: 218 end line: 260 size: 25 LOC McCabe index: 9 number of parameters: 1 id: 65 unit: func() file: pkg/controllers/poddisruptionbudget_controller.go start line: 60 end line: 99 size: 25 LOC McCabe index: 6 number of parameters: 1 id: 66 unit: func NewTestNdb() file: pkg/helpers/testutils/ndbtestcreator.go start line: 13 end line: 37 size: 25 LOC McCabe index: 1 number of parameters: 3 id: 67 unit: func() file: pkg/mgmapi/config_reader.go start line: 78 end line: 107 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 68 unit: func() file: pkg/apis/ndbcontroller/v1/zz_generated.deepcopy.go start line: 232 end line: 255 size: 24 LOC McCabe index: 5 number of parameters: 1 id: 69 unit: func() file: pkg/resources/statefulset/mysqld_statefulset.go start line: 198 end line: 230 size: 24 LOC McCabe index: 3 number of parameters: 1 id: 70 unit: func NewPodDisruptionBudget() file: pkg/resources/podDisruptionBudget.go start line: 16 end line: 45 size: 24 LOC McCabe index: 1 number of parameters: 2 id: 71 unit: func() file: pkg/controllers/controller.go start line: 402 end line: 442 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 72 unit: func() file: pkg/controllers/configmap_controller.go start line: 57 end line: 92 size: 24 LOC McCabe index: 5 number of parameters: 1 id: 73 unit: func mutate() file: pkg/webhook/admission_controller_interface.go start line: 89 end line: 123 size: 24 LOC McCabe index: 5 number of parameters: 2 id: 74 unit: func GetMySQLConfigString() file: pkg/ndbconfig/config_generators.go start line: 211 end line: 241 size: 23 LOC McCabe index: 5 number of parameters: 2 id: 75 unit: func() file: pkg/resources/statefulset/mysqld_statefulset.go start line: 279 end line: 309 size: 23 LOC McCabe index: 1 number of parameters: 1 id: 76 unit: func GetPodAntiAffinityRules() file: pkg/resources/statefulset/pod_affinities.go start line: 23 end line: 74 size: 23 LOC McCabe index: 3 number of parameters: 1 id: 77 unit: func() file: pkg/controllers/sync_context.go start line: 141 end line: 173 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 78 unit: func() file: pkg/mgmapi/fake_mgm_server.go start line: 44 end line: 74 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 79 unit: func updateManagementConfig() file: pkg/resources/configmap.go start line: 27 end line: 63 size: 22 LOC McCabe index: 8 number of parameters: 3 id: 80 unit: func getK8sClientset() file: pkg/webhook/k8s_config.go start line: 57 end line: 81 size: 22 LOC McCabe index: 6 number of parameters: 0 id: 81 unit: func() file: pkg/mgmapi/mgmapi.go start line: 530 end line: 574 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 82 unit: func() file: pkg/resources/statefulset/mysqld_statefulset.go start line: 168 end line: 195 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 83 unit: func() file: pkg/controllers/service_controller.go start line: 94 end line: 129 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 84 unit: func() file: pkg/controllers/secret_controller.go start line: 96 end line: 127 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 85 unit: func updateMySQLConfig() file: pkg/resources/configmap.go start line: 66 end line: 90 size: 20 LOC McCabe index: 5 number of parameters: 3 id: 86 unit: func Connect() file: pkg/mysqlclient/connect.go start line: 31 end line: 57 size: 20 LOC McCabe index: 5 number of parameters: 3 id: 87 unit: func() file: pkg/controllers/controller.go start line: 369 end line: 398 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 88 unit: func() file: pkg/mgmapi/mgmapi.go start line: 577 end line: 612 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 89 unit: func() file: pkg/apis/ndbcontroller/v1/zz_generated.deepcopy.go start line: 137 end line: 155 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 90 unit: func DeleteRootUserIfExists() file: pkg/mysqlclient/root_user.go start line: 70 end line: 93 size: 19 LOC McCabe index: 5 number of parameters: 3 id: 91 unit: func UpdateRootUser() file: pkg/mysqlclient/root_user.go start line: 96 end line: 116 size: 19 LOC McCabe index: 4 number of parameters: 4 id: 92 unit: func getPodErrors() file: pkg/controllers/common_utils.go start line: 152 end line: 184 size: 19 LOC McCabe index: 6 number of parameters: 1 id: 93 unit: func() file: pkg/controllers/controller.go start line: 444 end line: 462 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: func() file: pkg/controllers/secret_controller.go start line: 131 end line: 157 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 95 unit: func GetUpdatedConfigMap() file: pkg/resources/configmap.go start line: 115 end line: 149 size: 18 LOC McCabe index: 5 number of parameters: 3 id: 96 unit: func() file: pkg/controllers/ndbmtd_statefulset_controller.go start line: 194 end line: 221 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 97 unit: func() file: pkg/webhook/ndb_admission_controller.go start line: 78 end line: 101 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 98 unit: func() file: pkg/mgmapi/mgmapi.go start line: 489 end line: 524 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 99 unit: func isDnsUpdated() file: cmd/ndb-pod-initializer/main.go start line: 53 end line: 79 size: 18 LOC McCabe index: 6 number of parameters: 3 id: 100 unit: func waitForPodDNSUpdate() file: cmd/ndb-pod-initializer/main.go start line: 104 end line: 130 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 101 unit: func ValidateFlags() file: config/flags.go start line: 24 end line: 47 size: 17 LOC McCabe index: 8 number of parameters: 0 id: 102 unit: func updateHelperScripts() file: pkg/resources/configmap.go start line: 95 end line: 112 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 103 unit: func() file: pkg/resources/statefulset/mgmd_statefulset.go start line: 167 end line: 191 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 104 unit: func newBasicAuthSecretWithRandomPassword() file: pkg/resources/secret.go start line: 36 end line: 55 size: 17 LOC McCabe index: 1 number of parameters: 3 id: 105 unit: func() file: pkg/controllers/statefulset_control.go start line: 55 end line: 79 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 106 unit: func() file: pkg/controllers/sync_context.go start line: 652 end line: 674 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 107 unit: func NewMgmClient() file: pkg/mgmapi/mgmapi.go start line: 56 end line: 76 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 108 unit: func() file: pkg/mgmapi/clusterstatus.go start line: 116 end line: 137 size: 17 LOC McCabe index: 7 number of parameters: 1 id: 109 unit: func ServerSupportsV1Policy() file: pkg/controllers/poddisruptionbudget_controller.go start line: 19 end line: 36 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 110 unit: func() file: pkg/mgmapi/mgmapi.go start line: 81 end line: 110 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 111 unit: func validateNdbPodSpecResources() file: pkg/apis/ndbcontroller/v1/validation.go start line: 154 end line: 170 size: 15 LOC McCabe index: 4 number of parameters: 3 id: 112 unit: func() file: pkg/apis/ndbcontroller/v1/types.go start line: 401 end line: 417 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 113 unit: func newEventRecorder() file: pkg/controllers/events.go start line: 57 end line: 79 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: func() file: pkg/controllers/sync_context.go start line: 445 end line: 460 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 115 unit: func sendAdmissionResponse() file: pkg/webhook/server.go start line: 42 end line: 61 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 116 unit: func() file: pkg/mgmapi/clusterstatus.go start line: 194 end line: 216 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 117 unit: func() file: pkg/ndbconfig/configparser/config_parser.go start line: 76 end line: 96 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 118 unit: func() file: pkg/ndbconfig/config_summary.go start line: 194 end line: 217 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 119 unit: func validateConfigParams() file: pkg/apis/ndbcontroller/v1/validation.go start line: 40 end line: 53 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 120 unit: func newPVC() file: pkg/resources/statefulset/persistentVolumeClaim.go start line: 16 end line: 32 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 121 unit: func() file: pkg/resources/statefulset/mgmd_statefulset.go start line: 90 end line: 107 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 122 unit: func addResourcesToContainer() file: pkg/resources/statefulset/podspec_util.go start line: 12 end line: 28 size: 14 LOC McCabe index: 5 number of parameters: 2 id: 123 unit: func NewServiceAccount() file: pkg/resources/serviceaccount.go start line: 15 end line: 32 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: func Run() file: pkg/webhook/server.go start line: 219 end line: 240 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 125 unit: func() file: pkg/mgmapi/mgmapi.go start line: 361 end line: 385 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 126 unit: func() file: pkg/mgmapi/mgmapi.go start line: 695 end line: 711 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 127 unit: func isAllowedDNSError() file: cmd/ndb-pod-initializer/main.go start line: 32 end line: 49 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 128 unit: func ConfigEqual() file: pkg/ndbconfig/configparser/config_parser.go start line: 221 end line: 236 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 129 unit: func() file: pkg/apis/ndbcontroller/v1/zz_generated.deepcopy.go start line: 64 end line: 76 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 130 unit: func() file: pkg/controllers/sync_context.go start line: 677 end line: 691 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 131 unit: func SetupSignalHandler() file: pkg/signals/signal.go start line: 19 end line: 35 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 132 unit: func() file: pkg/webhook/ndb_admission_controller.go start line: 54 end line: 76 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 133 unit: func() file: pkg/mgmapi/clusterstatus.go start line: 25 end line: 37 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 134 unit: func isInitialFlagSet() file: pkg/controllers/common_utils.go start line: 61 end line: 77 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 135 unit: func() file: pkg/controllers/sync_context.go start line: 424 end line: 440 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 136 unit: func() file: pkg/controllers/sync_context.go start line: 464 end line: 486 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 137 unit: func newMySQLDStatefulSetController() file: pkg/controllers/mysqld_statefulset_controller.go start line: 37 end line: 48 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 138 unit: func() file: pkg/mgmapi/clusterstatus.go start line: 71 end line: 83 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 139 unit: func waitForNodeIdAvailability() file: cmd/ndb-pod-initializer/main.go start line: 199 end line: 216 size: 12 LOC McCabe index: 4 number of parameters: 3 id: 140 unit: func() file: pkg/ndbconfig/configparser/config_parser.go start line: 46 end line: 59 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 141 unit: func() file: pkg/apis/ndbcontroller/v1/types.go start line: 432 end line: 445 size: 11 LOC McCabe index: 5 number of parameters: 1 id: 142 unit: func() file: pkg/apis/ndbcontroller/v1/zz_generated.deepcopy.go start line: 168 end line: 178 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 143 unit: func() file: pkg/controllers/controller.go start line: 333 end line: 347 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 144 unit: func() file: pkg/controllers/ndbmtd_statefulset_controller.go start line: 45 end line: 61 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 145 unit: func GetBuildVersion() file: config/version.go start line: 13 end line: 23 size: 10 LOC McCabe index: 4 number of parameters: 0 id: 146 unit: func InitFlags() file: config/flags.go start line: 49 end line: 58 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 147 unit: func() file: pkg/resources/statefulset/ndbmtd_statefulset.go start line: 76 end line: 89 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 148 unit: func rootUserExists() file: pkg/mysqlclient/root_user.go start line: 17 end line: 27 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 149 unit: func() file: pkg/controllers/service_controller.go start line: 132 end line: 145 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 150 unit: func() file: pkg/controllers/controller.go start line: 352 end line: 363 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 151 unit: func() file: pkg/controllers/serviceaccount_controller.go start line: 88 end line: 101 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 152 unit: func() file: pkg/controllers/statefulset_control.go start line: 144 end line: 158 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 153 unit: func statusEqual() file: pkg/controllers/ndbcluster_status.go start line: 22 end line: 32 size: 10 LOC McCabe index: 8 number of parameters: 2 id: 154 unit: func newNdbmtdStatefulSetController() file: pkg/controllers/ndbmtd_statefulset_controller.go start line: 29 end line: 38 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 155 unit: func init() file: pkg/webhook/k8s_config.go start line: 36 end line: 50 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 156 unit: func requestAllowedWithPatch() file: pkg/webhook/responses.go start line: 53 end line: 62 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 157 unit: func() file: pkg/mgmapi/clusterstatus.go start line: 96 end line: 106 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 158 unit: func isSystemRestart() file: cmd/ndb-pod-initializer/main.go start line: 218 end line: 231 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 159 unit: func() file: pkg/apis/ndbcontroller/v1/types.go start line: 421 end line: 429 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 160 unit: func newMgmdStatefulSetController() file: pkg/controllers/statefulset_control.go start line: 33 end line: 41 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 161 unit: func() file: pkg/controllers/statefulset_control.go start line: 127 end line: 141 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 162 unit: func() file: pkg/controllers/sync_context.go start line: 82 end line: 92 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 163 unit: func GetCurrentNamespace() file: pkg/helpers/k8s_utils.go start line: 69 end line: 83 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 164 unit: func newFakeMgmServerAndClient() file: pkg/mgmapi/fake_mgm_server.go start line: 24 end line: 34 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 165 unit: func getMySQLVersionString() file: pkg/mgmapi/utils.go start line: 11 end line: 21 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 166 unit: func InternalError() file: config/debug/build.go start line: 20 end line: 27 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 167 unit: func addKnownTypes() file: pkg/apis/ndbcontroller/v1/register.go start line: 36 end line: 43 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 168 unit: func() file: pkg/apis/ndbcontroller/v1/types.go start line: 453 end line: 461 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 169 unit: func() file: pkg/apis/ndbcontroller/v1/zz_generated.deepcopy.go start line: 19 end line: 26 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 170 unit: func() file: pkg/apis/ndbcontroller/v1/zz_generated.deepcopy.go start line: 29 end line: 36 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 171 unit: func() file: pkg/apis/ndbcontroller/v1/zz_generated.deepcopy.go start line: 54 end line: 61 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 172 unit: func() file: pkg/apis/ndbcontroller/v1/zz_generated.deepcopy.go start line: 79 end line: 86 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 173 unit: func() file: pkg/apis/ndbcontroller/v1/zz_generated.deepcopy.go start line: 127 end line: 134 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 174 unit: func() file: pkg/apis/ndbcontroller/v1/zz_generated.deepcopy.go start line: 158 end line: 165 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 175 unit: func() file: pkg/apis/ndbcontroller/v1/zz_generated.deepcopy.go start line: 181 end line: 188 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 176 unit: func() file: pkg/apis/ndbcontroller/v1/zz_generated.deepcopy.go start line: 222 end line: 229 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 177 unit: func() file: pkg/apis/ndbcontroller/v1/zz_generated.deepcopy.go start line: 258 end line: 265 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 178 unit: func() file: pkg/apis/ndbcontroller/v1/zz_generated.deepcopy.go start line: 299 end line: 306 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 179 unit: func() file: pkg/resources/statefulset/ndb_statefulset_interface.go start line: 65 end line: 72 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 180 unit: func NewNdbmtdStatefulSet() file: pkg/resources/statefulset/ndbmtd_statefulset.go start line: 344 end line: 351 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 181 unit: func NewMySQLdStatefulSet() file: pkg/resources/statefulset/mysqld_statefulset.go start line: 371 end line: 378 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 182 unit: func statefulsetUpdateComplete() file: pkg/controllers/common_utils.go start line: 47 end line: 57 size: 8 LOC McCabe index: 6 number of parameters: 1 id: 183 unit: func getPodCondition() file: pkg/controllers/common_utils.go start line: 98 end line: 105 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 184 unit: func() file: pkg/controllers/secret_controller.go start line: 38 end line: 46 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 185 unit: func() file: pkg/controllers/secret_controller.go start line: 54 end line: 64 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 186 unit: func newPodDisruptionBudgetControl() file: pkg/controllers/poddisruptionbudget_controller.go start line: 49 end line: 56 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 187 unit: func IsAppRunningInsideK8s() file: pkg/helpers/k8s_utils.go start line: 15 end line: 25 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 188 unit: func getNewConfigReader() file: pkg/mgmapi/config_reader.go start line: 29 end line: 38 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 189 unit: func readConfigFromBase64EncodedData() file: pkg/mgmapi/config_reader.go start line: 279 end line: 288 size: 8 LOC McCabe index: 2 number of parameters: 4 id: 190 unit: func() file: pkg/ndbconfig/configparser/config_parser.go start line: 63 end line: 69 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 191 unit: func parseInt32() file: pkg/ndbconfig/config_summary.go start line: 59 end line: 65 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 192 unit: func parseBool() file: pkg/ndbconfig/config_summary.go start line: 68 end line: 74 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 193 unit: func() file: pkg/resources/statefulset/ndb_statefulset_interface.go start line: 37 end line: 43 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 194 unit: func NewMgmdStatefulSet() file: pkg/resources/statefulset/mgmd_statefulset.go start line: 194 end line: 200 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 195 unit: func generateRandomPassword() file: pkg/resources/secret.go start line: 26 end line: 32 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 196 unit: func NewConfigMapControl() file: pkg/controllers/configmap_controller.go start line: 37 end line: 43 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 197 unit: func() file: pkg/controllers/sync_context.go start line: 115 end line: 124 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 198 unit: func NewMySQLUserPasswordSecretInterface() file: pkg/controllers/secret_controller.go start line: 86 end line: 92 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 199 unit: func() file: pkg/webhook/json_patch_helper.go start line: 29 end line: 35 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 200 unit: func notAllowedAdmissionResponse() file: pkg/webhook/responses.go start line: 16 end line: 22 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 201 unit: func requestAllowed() file: pkg/webhook/responses.go start line: 43 end line: 49 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 202 unit: func() file: pkg/webhook/ndb_admission_controller.go start line: 24 end line: 30 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 203 unit: func() file: pkg/webhook/ndb_admission_controller.go start line: 32 end line: 38 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 204 unit: func() file: pkg/webhook/ndb_admission_controller.go start line: 44 end line: 52 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 205 unit: func() file: pkg/mgmapi/config_reader.go start line: 48 end line: 58 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 206 unit: func() file: pkg/mgmapi/mgmapi.go start line: 714 end line: 720 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 207 unit: func() file: pkg/mgmapi/mgmapi.go start line: 723 end line: 729 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 208 unit: func() file: pkg/mgmapi/mgmapi.go start line: 732 end line: 738 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 209 unit: func() file: pkg/apis/ndbcontroller/v1/types.go start line: 330 end line: 336 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 210 unit: func() file: pkg/apis/ndbcontroller/v1/types.go start line: 365 end line: 370 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 211 unit: func() file: pkg/apis/ndbcontroller/v1/types.go start line: 374 end line: 380 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 212 unit: func() file: pkg/apis/ndbcontroller/v1/types.go start line: 383 end line: 389 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 213 unit: func() file: pkg/apis/ndbcontroller/v1/types.go start line: 392 end line: 398 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 214 unit: func() file: pkg/apis/ndbcontroller/v1/zz_generated.deepcopy.go start line: 39 end line: 44 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 215 unit: func() file: pkg/apis/ndbcontroller/v1/zz_generated.deepcopy.go start line: 89 end line: 94 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 216 unit: func() file: pkg/resources/statefulset/ndb_statefulset_interface.go start line: 75 end line: 81 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 217 unit: func() file: pkg/resources/statefulset/ndb_statefulset_interface.go start line: 133 end line: 138 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 218 unit: func GetMySQLRootPasswordSecretName() file: pkg/resources/secret.go start line: 59 end line: 64 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 219 unit: func NewServiceControl() file: pkg/controllers/service_controller.go start line: 38 end line: 43 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 220 unit: func NewServiceAccountControl() file: pkg/controllers/serviceaccount_controller.go start line: 33 end line: 38 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 221 unit: func mandatoryParam() file: pkg/webhook/k8s_config.go start line: 24 end line: 29 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 222 unit: func() file: pkg/webhook/json_patch_helper.go start line: 48 end line: 53 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 223 unit: func() file: pkg/mgmapi/mgmapi.go start line: 164 end line: 169 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 224 unit: func Panic() file: config/debug/build.go start line: 13 end line: 17 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 225 unit: func() file: pkg/apis/ndbcontroller/v1/zz_generated.deepcopy.go start line: 47 end line: 51 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 226 unit: func() file: pkg/resources/statefulset/ndb_statefulset_interface.go start line: 46 end line: 50 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 227 unit: func() file: pkg/resources/statefulset/ndb_statefulset_interface.go start line: 53 end line: 57 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 228 unit: func() file: pkg/resources/statefulset/ndbmtd_statefulset.go start line: 291 end line: 296 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 229 unit: func() file: pkg/resources/statefulset/mysqld_statefulset.go start line: 311 end line: 316 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 230 unit: func() file: pkg/resources/statefulset/mgmd_statefulset.go start line: 159 end line: 164 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 231 unit: func ConnectToStatefulSet() file: pkg/mysqlclient/connect.go start line: 60 end line: 68 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 232 unit: func workloadHasConfigGeneration() file: pkg/controllers/common_utils.go start line: 90 end line: 95 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 233 unit: func NewValidatingWebhookConfigController() file: pkg/controllers/webhookconfig_controller.go start line: 31 end line: 35 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 234 unit: func NewMutatingWebhookConfigController() file: pkg/controllers/webhookconfig_controller.go start line: 43 end line: 47 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 235 unit: func NewTDESecretInterface() file: pkg/controllers/secret_controller.go start line: 67 end line: 71 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 236 unit: func GetWatchNamespaceFromEnvironment() file: pkg/helpers/k8s_utils.go start line: 85 end line: 89 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 237 unit: func requestDenied() file: pkg/webhook/responses.go start line: 25 end line: 29 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 238 unit: func unsupportedValidatorOperation() file: pkg/webhook/admission_controller_interface.go start line: 31 end line: 35 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 239 unit: func() file: pkg/mgmapi/config_reader.go start line: 41 end line: 45 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 240 unit: func() file: pkg/mgmapi/fake_mgm_server.go start line: 36 end line: 40 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 241 unit: func main() file: cmd/ndb-operator-webhook/main.go start line: 13 end line: 17 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 242 unit: func failOnError() file: cmd/ndb-pod-initializer/main.go start line: 26 end line: 30 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 243 unit: func init() file: hack/prettify-yaml.go start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 244 unit: func() file: pkg/ndbconfig/configparser/config_parser.go start line: 25 end line: 28 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 245 unit: func cannotUpdateFieldError() file: pkg/apis/ndbcontroller/v1/validation.go start line: 148 end line: 151 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 246 unit: func() file: pkg/apis/ndbcontroller/v1/types.go start line: 464 end line: 467 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 247 unit: func() file: pkg/resources/statefulset/mgmd_statefulset.go start line: 34 end line: 37 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 248 unit: func NewMySQLRootPasswordSecret() file: pkg/resources/secret.go start line: 67 end line: 70 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 249 unit: func NewMySQLNDBOperatorPasswordSecret() file: pkg/resources/secret.go start line: 78 end line: 81 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 250 unit: func statefulsetReady() file: pkg/controllers/common_utils.go start line: 83 end line: 86 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 251 unit: func() file: pkg/controllers/sync_context.go start line: 96 end line: 99 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 252 unit: func() file: pkg/controllers/sync_context.go start line: 103 end line: 106 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 253 unit: func requestDeniedNdbInvalid() file: pkg/webhook/responses.go start line: 37 end line: 40 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 254 unit: func getPodMySQLClusterNodeType() file: cmd/ndb-pod-initializer/main.go start line: 133 end line: 137 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 255 unit: func init() file: cmd/ndb-operator/main.go start line: 109 end line: 112 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 256 unit: func() file: pkg/ndbconfig/configparser/config_parser.go start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 257 unit: func() file: pkg/ndbconfig/configparser/config_parser.go start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 258 unit: func() file: pkg/ndbconfig/configparser/config_parser.go start line: 72 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 259 unit: func GetNumOfSectionsRequiredForMySQLServers() file: pkg/ndbconfig/common.go start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 260 unit: func GetTDESecretName() file: pkg/ndbconfig/common.go start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 261 unit: func Kind() file: pkg/apis/ndbcontroller/v1/register.go start line: 19 end line: 21 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 262 unit: func Resource() file: pkg/apis/ndbcontroller/v1/register.go start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 263 unit: func() file: pkg/apis/ndbcontroller/v1/types.go start line: 340 end line: 342 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 264 unit: func() file: pkg/apis/ndbcontroller/v1/types.go start line: 345 end line: 347 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 265 unit: func() file: pkg/apis/ndbcontroller/v1/types.go start line: 350 end line: 352 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 266 unit: func() file: pkg/apis/ndbcontroller/v1/types.go start line: 354 end line: 356 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 267 unit: func() file: pkg/apis/ndbcontroller/v1/types.go start line: 359 end line: 361 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 268 unit: func() file: pkg/apis/ndbcontroller/v1/types.go start line: 448 end line: 450 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 269 unit: func() file: pkg/resources/statefulset/ndb_statefulset_interface.go start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 270 unit: func() file: pkg/resources/statefulset/ndb_statefulset_interface.go start line: 251 end line: 253 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 271 unit: func() file: pkg/resources/statefulset/ndb_statefulset_interface.go start line: 256 end line: 258 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 272 unit: func() file: pkg/resources/statefulset/ndbmtd_statefulset.go start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 273 unit: func() file: pkg/resources/statefulset/mysqld_statefulset.go start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 274 unit: func GetMySQLNDBOperatorPasswordSecretName() file: pkg/resources/secret.go start line: 73 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 275 unit: func continueProcessing() file: pkg/controllers/sync_result.go start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 276 unit: func finishProcessing() file: pkg/controllers/sync_result.go start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 277 unit: func errorWhileProcessing() file: pkg/controllers/sync_result.go start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 278 unit: func getNamespacedName() file: pkg/controllers/common_utils.go start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 279 unit: func getNamespacedName2() file: pkg/controllers/common_utils.go start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 280 unit: func getNdbClusterKey() file: pkg/controllers/common_utils.go start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 281 unit: func() file: pkg/controllers/service_controller.go start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 282 unit: func() file: pkg/controllers/serviceaccount_controller.go start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 283 unit: func() file: pkg/controllers/configmap_controller.go start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 284 unit: func() file: pkg/controllers/configmap_controller.go start line: 50 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 285 unit: func() file: pkg/controllers/statefulset_control.go start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 286 unit: func() file: pkg/controllers/statefulset_control.go start line: 50 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 287 unit: func() file: pkg/controllers/sync_context.go start line: 72 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 288 unit: func() file: pkg/controllers/sync_context.go start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 289 unit: func() file: pkg/controllers/sync_context.go start line: 110 end line: 112 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 290 unit: func() file: pkg/controllers/sync_context.go start line: 128 end line: 130 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 291 unit: func() file: pkg/controllers/sync_context.go start line: 134 end line: 136 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 292 unit: func() file: pkg/controllers/secret_controller.go start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 293 unit: func() file: pkg/controllers/secret_controller.go start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 294 unit: func sendAdmissionResponsePathNotFound() file: pkg/webhook/server.go start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 295 unit: func validateCommandLineArgs() file: pkg/webhook/k8s_config.go start line: 31 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 296 unit: func() file: pkg/webhook/json_patch_helper.go start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 297 unit: func() file: pkg/webhook/json_patch_helper.go start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 298 unit: func() file: pkg/webhook/json_patch_helper.go start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 299 unit: func requestDeniedBad() file: pkg/webhook/responses.go start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 300 unit: func newNdbAdmissionController() file: pkg/webhook/ndb_admission_controller.go start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 301 unit: func() file: pkg/webhook/ndb_admission_controller.go start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 302 unit: func() file: pkg/mgmapi/mgmapi.go start line: 741 end line: 743 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 303 unit: func() file: pkg/mgmapi/mgmapi.go start line: 746 end line: 748 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 304 unit: func() file: pkg/mgmapi/mgmapi.go start line: 751 end line: 753 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 305 unit: func() file: pkg/mgmapi/mgmapi.go start line: 756 end line: 758 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 306 unit: func() file: pkg/mgmapi/mgmapi.go start line: 761 end line: 763 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 307 unit: func() file: pkg/mgmapi/mgmapi.go start line: 766 end line: 768 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 308 unit: func() file: pkg/mgmapi/mgmapi.go start line: 771 end line: 773 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 309 unit: func() file: pkg/mgmapi/mgmapi.go start line: 776 end line: 778 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 310 unit: func() file: pkg/mgmapi/mgmapi.go start line: 781 end line: 783 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 311 unit: func() file: pkg/mgmapi/mgmapi.go start line: 786 end line: 788 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 312 unit: func() file: pkg/mgmapi/mgmapi.go start line: 791 end line: 793 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 313 unit: func() file: pkg/mgmapi/mgmapi.go start line: 796 end line: 798 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 314 unit: func() file: pkg/mgmapi/mgmapi.go start line: 801 end line: 803 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 315 unit: func() file: pkg/mgmapi/mgmapi.go start line: 806 end line: 808 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 316 unit: func() file: pkg/mgmapi/clusterstatus.go start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 317 unit: func() file: pkg/mgmapi/clusterstatus.go start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 318 unit: func() file: pkg/mgmapi/clusterstatus.go start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 319 unit: func NewClusterStatus() file: pkg/mgmapi/clusterstatus.go start line: 89 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 320 unit: func() file: pkg/mgmapi/mgmapi.go start line: 187 end line: 188 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 321 unit: func() file: pkg/controllers/sync_result.go start line: 31 end line: 31 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 322 unit: func() file: pkg/controllers/sync_result.go start line: 32 end line: 32 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 323 unit: func() file: pkg/controllers/sync_result.go start line: 42 end line: 42 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 324 unit: func() file: pkg/controllers/sync_result.go start line: 54 end line: 54 size: 1 LOC McCabe index: 1 number of parameters: 1