id: 1 unit: func setupKMSPlugin() file: cmd/server/main.go start line: 64 end line: 187 size: 99 LOC McCabe index: 16 number of parameters: 0 id: 2 unit: func() file: pkg/plugin/healthz.go start line: 53 end line: 138 size: 64 LOC McCabe index: 10 number of parameters: 1 id: 3 unit: func GetServicePrincipalToken() file: pkg/auth/auth.go start line: 37 end line: 107 size: 64 LOC McCabe index: 15 number of parameters: 4 id: 4 unit: func NewKeyVaultClient() file: pkg/plugin/keyvault.go start line: 78 end line: 147 size: 60 LOC McCabe index: 12 number of parameters: 8 id: 5 unit: func initPrometheusExporter() file: pkg/metrics/prometheus_exporter.go start line: 21 end line: 59 size: 34 LOC McCabe index: 3 number of parameters: 1 id: 6 unit: func() file: pkg/plugin/keyvault.go start line: 150 end line: 187 size: 34 LOC McCabe index: 3 number of parameters: 1 id: 7 unit: func() file: pkg/plugin/keyvault.go start line: 235 end line: 271 size: 33 LOC McCabe index: 5 number of parameters: 1 id: 8 unit: func() file: pkg/plugin/kms_v2_server.go start line: 111 end line: 145 size: 31 LOC McCabe index: 3 number of parameters: 1 id: 9 unit: func() file: pkg/plugin/keyvault.go start line: 190 end line: 221 size: 29 LOC McCabe index: 5 number of parameters: 1 id: 10 unit: func() file: pkg/plugin/kms_v2_server.go start line: 43 end line: 77 size: 29 LOC McCabe index: 4 number of parameters: 1 id: 11 unit: func() file: pkg/plugin/server.go start line: 91 end line: 120 size: 28 LOC McCabe index: 3 number of parameters: 1 id: 12 unit: func() file: pkg/plugin/kms_v2_server.go start line: 80 end line: 108 size: 26 LOC McCabe index: 3 number of parameters: 1 id: 13 unit: func() file: pkg/plugin/healthz.go start line: 142 end line: 168 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 14 unit: func UnaryServerInterceptor() file: pkg/utils/grpc.go start line: 27 end line: 51 size: 23 LOC McCabe index: 4 number of parameters: 4 id: 15 unit: func() file: pkg/plugin/server.go start line: 64 end line: 88 size: 23 LOC McCabe index: 3 number of parameters: 1 id: 16 unit: func PrintVersion() file: pkg/version/version.go start line: 25 end line: 43 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 17 unit: func getKeyIDHash() file: pkg/plugin/keyvault.go start line: 313 end line: 331 size: 16 LOC McCabe index: 5 number of parameters: 3 id: 18 unit: func getVaultURL() file: pkg/plugin/keyvault.go start line: 273 end line: 292 size: 15 LOC McCabe index: 4 number of parameters: 3 id: 19 unit: func NewStatsReporter() file: pkg/metrics/stats_reporter.go start line: 39 end line: 53 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 20 unit: func() file: pkg/metrics/stats_reporter.go start line: 55 end line: 69 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 21 unit: func GetAzureConfig() file: pkg/config/azure_config.go start line: 24 end line: 36 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 22 unit: func() file: pkg/plugin/healthz.go start line: 40 end line: 51 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 23 unit: func addTargetTypeHeader() file: pkg/auth/auth.go start line: 143 end line: 154 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 24 unit: func NewKMSv1Server() file: pkg/plugin/server.go start line: 41 end line: 52 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 25 unit: func NewKMSv2Server() file: pkg/plugin/kms_v2_server.go start line: 29 end line: 40 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 26 unit: func decodePkcs12() file: pkg/auth/auth.go start line: 123 end line: 134 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 27 unit: func withShutdownSignal() file: cmd/server/main.go start line: 191 end line: 203 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 28 unit: func InitMetricsExporter() file: pkg/metrics/exporter.go start line: 15 end line: 26 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 29 unit: func ParseAzureEnvironment() file: pkg/auth/auth.go start line: 110 end line: 119 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 30 unit: func ParseEndpoint() file: pkg/utils/grpc.go start line: 16 end line: 24 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 31 unit: func() file: pkg/plugin/healthz.go start line: 170 end line: 178 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 32 unit: func getGRPCMethodName() file: pkg/utils/grpc.go start line: 53 end line: 61 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 33 unit: func GetKeyvaultToken() file: pkg/auth/auth.go start line: 27 end line: 34 size: 8 LOC McCabe index: 2 number of parameters: 4 id: 34 unit: func() file: pkg/plugin/server.go start line: 55 end line: 61 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 35 unit: func getVaultDNSSuffix() file: pkg/plugin/keyvault.go start line: 299 end line: 304 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 36 unit: func getVaultResourceIdentifier() file: pkg/plugin/keyvault.go start line: 306 end line: 311 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 37 unit: func main() file: cmd/server/main.go start line: 58 end line: 62 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 38 unit: func getProxiedVaultURL() file: pkg/plugin/keyvault.go start line: 294 end line: 297 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 39 unit: func redactClientCredentials() file: pkg/auth/auth.go start line: 137 end line: 140 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 40 unit: func SanitizeString() file: pkg/utils/sanitize.go start line: 6 end line: 8 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 41 unit: func() file: pkg/plugin/keyvault.go start line: 223 end line: 225 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 42 unit: func() file: pkg/plugin/keyvault.go start line: 227 end line: 229 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 43 unit: func GetUserAgent() file: pkg/version/version.go start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 0