id: 1 unit: func parseConfig() file: cmd/root.go start line: 713 end line: 929 size: 183 LOC McCabe index: 85 number of parameters: 3 id: 2 unit: func runSignalWrapper() file: cmd/root.go start line: 963 end line: 1162 size: 177 LOC McCabe index: 30 number of parameters: 1 id: 3 unit: func NewCommand() file: cmd/root.go start line: 390 end line: 545 size: 138 LOC McCabe index: 5 number of parameters: 1 id: 4 unit: func credentialsOpt() file: internal/proxy/proxy.go start line: 316 end line: 405 size: 85 LOC McCabe index: 16 number of parameters: 2 id: 5 unit: func() file: internal/proxy/proxy.go start line: 937 end line: 1001 size: 60 LOC McCabe index: 14 number of parameters: 1 id: 6 unit: func() file: main_windows.go start line: 32 end line: 107 size: 53 LOC McCabe index: 9 number of parameters: 1 id: 7 unit: func() file: internal/proxy/proxy.go start line: 797 end line: 871 size: 53 LOC McCabe index: 10 number of parameters: 1 id: 8 unit: func() file: internal/proxy/proxy_other.go start line: 103 end line: 164 size: 49 LOC McCabe index: 7 number of parameters: 1 id: 9 unit: func() file: internal/proxy/proxy.go start line: 676 end line: 731 size: 46 LOC McCabe index: 14 number of parameters: 1 id: 10 unit: func() file: internal/proxy/proxy.go start line: 567 end line: 610 size: 43 LOC McCabe index: 8 number of parameters: 1 id: 11 unit: func NewClient() file: internal/proxy/proxy.go start line: 514 end line: 563 size: 42 LOC McCabe index: 10 number of parameters: 5 id: 12 unit: func() file: internal/proxy/proxy.go start line: 735 end line: 780 size: 35 LOC McCabe index: 9 number of parameters: 1 id: 13 unit: func loadConfig() file: cmd/root.go start line: 547 end line: 597 size: 34 LOC McCabe index: 10 number of parameters: 3 id: 14 unit: func initViper() file: cmd/root.go start line: 599 end line: 648 size: 33 LOC McCabe index: 9 number of parameters: 1 id: 15 unit: func newUnixSocketMount() file: internal/proxy/proxy.go start line: 875 end line: 921 size: 31 LOC McCabe index: 9 number of parameters: 3 id: 16 unit: func() file: internal/proxy/proxy.go start line: 409 end line: 445 size: 30 LOC McCabe index: 8 number of parameters: 1 id: 17 unit: func() file: internal/proxy/proxy.go start line: 620 end line: 657 size: 30 LOC McCabe index: 7 number of parameters: 1 id: 18 unit: func() file: internal/healthcheck/healthcheck.go start line: 81 end line: 111 size: 27 LOC McCabe index: 5 number of parameters: 1 id: 19 unit: func NewStructuredLogger() file: internal/log/log.go start line: 81 end line: 114 size: 27 LOC McCabe index: 2 number of parameters: 1 id: 20 unit: func runWaitCmd() file: cmd/root.go start line: 358 end line: 385 size: 24 LOC McCabe index: 6 number of parameters: 2 id: 21 unit: func parseBoolOpt() file: cmd/root.go start line: 935 end line: 960 size: 22 LOC McCabe index: 5 number of parameters: 2 id: 22 unit: func instanceFromConfigFile() file: cmd/root.go start line: 678 end line: 703 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 23 unit: func startHTTPServer() file: cmd/root.go start line: 1181 end line: 1204 size: 21 LOC McCabe index: 4 number of parameters: 5 id: 24 unit: func instanceFromEnv() file: cmd/root.go start line: 650 end line: 676 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 25 unit: func main() file: cmd/gendocs/gen_cloud-sql-proxy_docs.go start line: 26 end line: 51 size: 20 LOC McCabe index: 4 number of parameters: 0 id: 26 unit: func() file: internal/gcloud/gcloud.go start line: 57 end line: 77 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 27 unit: func() file: internal/proxy/proxy_other.go start line: 171 end line: 190 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 28 unit: func() file: internal/proxy/proxy_other.go start line: 78 end line: 96 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 29 unit: func() file: internal/proxy/proxy.go start line: 470 end line: 488 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 30 unit: func configureFUSE() file: internal/proxy/proxy_other.go start line: 37 end line: 55 size: 17 LOC McCabe index: 3 number of parameters: 2 id: 31 unit: func parseConnName() file: internal/proxy/proxy.go start line: 59 end line: 75 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 32 unit: func dialOptions() file: internal/proxy/proxy.go start line: 274 end line: 297 size: 16 LOC McCabe index: 11 number of parameters: 2 id: 33 unit: func main() file: main_windows.go start line: 109 end line: 127 size: 14 LOC McCabe index: 4 number of parameters: 0 id: 34 unit: func quitquitquit() file: cmd/root.go start line: 1164 end line: 1179 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 35 unit: func parseImpersonationChain() file: internal/proxy/proxy.go start line: 299 end line: 312 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 36 unit: func() file: internal/proxy/proxy.go start line: 663 end line: 673 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 37 unit: func NewCheck() file: internal/healthcheck/healthcheck.go start line: 40 end line: 49 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 38 unit: func() file: internal/healthcheck/healthcheck.go start line: 62 end line: 71 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: func Execute() file: cmd/root.go start line: 75 end line: 84 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 40 unit: func() file: internal/proxy/proxy_other.go start line: 192 end line: 200 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 41 unit: func TokenSource() file: internal/gcloud/gcloud.go start line: 80 end line: 87 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 42 unit: func() file: internal/proxy/proxy_other.go start line: 202 end line: 209 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 43 unit: func SupportsFUSE() file: internal/proxy/fuse_darwin.go start line: 29 end line: 41 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 44 unit: func SupportsFUSE() file: internal/proxy/fuse_linux.go start line: 24 end line: 33 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 45 unit: func newPortConfig() file: internal/proxy/proxy.go start line: 454 end line: 461 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 46 unit: func Path() file: internal/gcloud/gcloud.go start line: 45 end line: 51 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 47 unit: func() file: internal/proxy/fuse.go start line: 71 end line: 77 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 48 unit: func() file: internal/proxy/fuse.go start line: 80 end line: 86 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 49 unit: func networkType() file: internal/proxy/proxy.go start line: 789 end line: 795 size: 7 LOC McCabe index: 6 number of parameters: 2 id: 50 unit: func NewStdLogger() file: internal/log/log.go start line: 37 end line: 43 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 51 unit: func semanticVersion() file: cmd/root.go start line: 65 end line: 71 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 52 unit: func() file: internal/gcloud/gcloud.go start line: 36 end line: 41 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 53 unit: func newBadCommandError() file: cmd/errors.go start line: 43 end line: 48 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 54 unit: func() file: cmd/errors.go start line: 57 end line: 62 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 55 unit: func() file: internal/proxy/fuse.go start line: 90 end line: 94 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 56 unit: func() file: internal/proxy/proxy.go start line: 464 end line: 468 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 57 unit: func WithLogger() file: cmd/options.go start line: 23 end line: 27 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 58 unit: func WithDialer() file: cmd/options.go start line: 31 end line: 35 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 59 unit: func WithFuseDir() file: cmd/options.go start line: 39 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 60 unit: func WithFuseTempDir() file: cmd/options.go start line: 47 end line: 51 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 61 unit: func WithMaxConnections() file: cmd/options.go start line: 55 end line: 59 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 62 unit: func WithUserAgent() file: cmd/options.go start line: 64 end line: 68 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 63 unit: func WithAutoIP() file: cmd/options.go start line: 73 end line: 77 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 64 unit: func WithQuietLogging() file: cmd/options.go start line: 80 end line: 84 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 65 unit: func WithDebugLogging() file: cmd/options.go start line: 87 end line: 91 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 66 unit: func WithLazyRefresh() file: cmd/options.go start line: 95 end line: 99 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 67 unit: func WithConnRefuseNotify() file: cmd/options.go start line: 103 end line: 107 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 68 unit: func withUnixSocket() file: internal/proxy/proxy_other.go start line: 166 end line: 169 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 69 unit: func UnixAddress() file: internal/proxy/fuse_windows.go start line: 33 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 70 unit: func() file: internal/healthcheck/healthcheck.go start line: 116 end line: 119 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 71 unit: func init() file: cmd/root.go start line: 58 end line: 61 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 72 unit: func main() file: main.go start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 73 unit: func UnixAddress() file: internal/proxy/unix.go start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 74 unit: func SupportsFUSE() file: internal/proxy/fuse_openbsd.go start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 75 unit: func() file: internal/proxy/fuse.go start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 76 unit: func SupportsFUSE() file: internal/proxy/fuse_freebsd.go start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 77 unit: func SupportsFUSE() file: internal/proxy/fuse_windows.go start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 78 unit: func() file: internal/proxy/proxy.go start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: func() file: internal/proxy/proxy.go start line: 614 end line: 616 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: func() file: internal/proxy/proxy.go start line: 923 end line: 925 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 81 unit: func() file: internal/proxy/proxy.go start line: 927 end line: 929 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: func() file: internal/proxy/proxy.go start line: 932 end line: 934 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: func() file: internal/healthcheck/healthcheck.go start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: func() file: internal/healthcheck/healthcheck.go start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: func() file: internal/log/log.go start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 86 unit: func() file: internal/log/log.go start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: func() file: internal/log/log.go start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 88 unit: func() file: internal/log/log.go start line: 66 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: func() file: internal/log/log.go start line: 71 end line: 73 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 90 unit: func() file: internal/log/log.go start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: func userHasSetLocal() file: cmd/root.go start line: 705 end line: 707 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 92 unit: func userHasSetGlobal() file: cmd/root.go start line: 709 end line: 711 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 93 unit: func() file: internal/proxy/proxy_other.go start line: 211 end line: 211 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: func configureFUSE() file: internal/proxy/fuse_openbsd.go start line: 34 end line: 34 size: 1 LOC McCabe index: 1 number of parameters: 2 id: 95 unit: func() file: internal/proxy/fuse_openbsd.go start line: 35 end line: 35 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: func() file: internal/proxy/fuse_openbsd.go start line: 36 end line: 36 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: func() file: internal/proxy/fuse_openbsd.go start line: 37 end line: 37 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: func() file: internal/proxy/fuse_openbsd.go start line: 38 end line: 38 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: func configureFUSE() file: internal/proxy/fuse_freebsd.go start line: 34 end line: 34 size: 1 LOC McCabe index: 1 number of parameters: 2 id: 100 unit: func() file: internal/proxy/fuse_freebsd.go start line: 35 end line: 35 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 101 unit: func() file: internal/proxy/fuse_freebsd.go start line: 36 end line: 36 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: func() file: internal/proxy/fuse_freebsd.go start line: 37 end line: 37 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: func() file: internal/proxy/fuse_freebsd.go start line: 38 end line: 38 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: func configureFUSE() file: internal/proxy/fuse_windows.go start line: 43 end line: 43 size: 1 LOC McCabe index: 1 number of parameters: 2 id: 105 unit: func() file: internal/proxy/fuse_windows.go start line: 44 end line: 44 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: func() file: internal/proxy/fuse_windows.go start line: 45 end line: 45 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 107 unit: func() file: internal/proxy/fuse_windows.go start line: 46 end line: 46 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 108 unit: func() file: internal/proxy/fuse_windows.go start line: 47 end line: 47 size: 1 LOC McCabe index: 1 number of parameters: 1