id: 1 unit: func runSignalWrapper() file: cmd/root.go start line: 1007 end line: 1193 size: 164 LOC McCabe index: 28 number of parameters: 1 id: 2 unit: func parseConfig() file: cmd/root.go start line: 787 end line: 971 size: 158 LOC McCabe index: 65 number of parameters: 3 id: 3 unit: func NewCommand() file: cmd/root.go start line: 493 end line: 647 size: 141 LOC McCabe index: 5 number of parameters: 1 id: 4 unit: func credentialsOpt() file: internal/proxy/proxy.go start line: 262 end line: 329 size: 64 LOC McCabe index: 13 number of parameters: 2 id: 5 unit: func() file: internal/proxy/proxy.go start line: 891 end line: 955 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: 649 end line: 703 size: 50 LOC McCabe index: 15 number of parameters: 1 id: 8 unit: func newSocketMount() file: internal/proxy/proxy.go start line: 759 end line: 827 size: 48 LOC McCabe index: 12 number of parameters: 4 id: 9 unit: func() file: internal/proxy/proxy_other.go start line: 103 end line: 161 size: 46 LOC McCabe index: 7 number of parameters: 1 id: 10 unit: func() file: internal/proxy/proxy.go start line: 538 end line: 582 size: 43 LOC McCabe index: 8 number of parameters: 1 id: 11 unit: func NewClient() file: internal/proxy/proxy.go start line: 484 end line: 534 size: 42 LOC McCabe index: 10 number of parameters: 4 id: 12 unit: func() file: internal/proxy/proxy.go start line: 333 end line: 378 size: 40 LOC McCabe index: 10 number of parameters: 1 id: 13 unit: func newUnixSocketMount() file: internal/proxy/proxy.go start line: 831 end line: 875 size: 35 LOC McCabe index: 10 number of parameters: 3 id: 14 unit: func loadConfig() file: cmd/root.go start line: 649 end line: 699 size: 34 LOC McCabe index: 10 number of parameters: 3 id: 15 unit: func initViper() file: cmd/root.go start line: 701 end line: 750 size: 33 LOC McCabe index: 9 number of parameters: 1 id: 16 unit: func() file: internal/proxy/proxy.go start line: 707 end line: 749 size: 32 LOC McCabe index: 8 number of parameters: 1 id: 17 unit: func() file: internal/proxy/proxy.go start line: 592 end line: 629 size: 30 LOC McCabe index: 7 number of parameters: 1 id: 18 unit: func() file: internal/healthcheck/healthcheck.go start line: 83 end line: 115 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: 463 end line: 490 size: 24 LOC McCabe index: 6 number of parameters: 2 id: 21 unit: func parseBoolOpt() file: cmd/root.go start line: 976 end line: 1004 size: 24 LOC McCabe index: 5 number of parameters: 2 id: 22 unit: func main() file: cmd/gendocs/main.go start line: 26 end line: 54 size: 22 LOC McCabe index: 5 number of parameters: 0 id: 23 unit: func instanceFromConfigFile() file: cmd/root.go start line: 752 end line: 777 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 24 unit: func startHTTPServer() file: cmd/root.go start line: 1212 end line: 1235 size: 21 LOC McCabe index: 4 number of parameters: 5 id: 25 unit: func instanceFromEnv() file: cmd/root.go start line: 429 end line: 455 size: 20 LOC McCabe index: 5 number of parameters: 1 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: 168 end line: 186 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 configureFUSE() file: internal/proxy/proxy_other.go start line: 37 end line: 55 size: 17 LOC McCabe index: 3 number of parameters: 2 id: 30 unit: func toFullURI() file: internal/proxy/proxy.go start line: 445 end line: 462 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 31 unit: func main() file: main_windows.go start line: 109 end line: 127 size: 14 LOC McCabe index: 4 number of parameters: 0 id: 32 unit: func quitquitquit() file: cmd/root.go start line: 1195 end line: 1210 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 33 unit: func parseImpersonationChain() file: internal/proxy/proxy.go start line: 247 end line: 260 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 34 unit: func() file: internal/proxy/proxy.go start line: 635 end line: 645 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 35 unit: func dialOptions() file: internal/proxy/proxy.go start line: 233 end line: 245 size: 10 LOC McCabe index: 9 number of parameters: 2 id: 36 unit: func NewCheck() file: internal/healthcheck/healthcheck.go start line: 41 end line: 50 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 37 unit: func() file: internal/healthcheck/healthcheck.go start line: 64 end line: 73 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 38 unit: func() file: internal/proxy/proxy_other.go start line: 188 end line: 196 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: func UnixSocketDir() file: internal/proxy/proxy.go start line: 428 end line: 441 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 40 unit: func Execute() file: cmd/root.go start line: 75 end line: 83 size: 9 LOC McCabe index: 3 number of parameters: 0 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: 198 end line: 205 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 Path() file: internal/gcloud/gcloud.go start line: 45 end line: 51 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 46 unit: func() file: internal/proxy/fuse.go start line: 65 end line: 71 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: func() file: internal/proxy/fuse.go start line: 74 end line: 80 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 48 unit: func ParseInstanceURI() file: internal/proxy/proxy.go start line: 409 end line: 415 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 49 unit: func ShortInstURI() file: internal/proxy/proxy.go start line: 418 end line: 424 size: 7 LOC McCabe index: 2 number of parameters: 1 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: 84 end line: 88 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 56 unit: func newPortConfig() file: internal/proxy/proxy.go start line: 384 end line: 388 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 57 unit: func() file: internal/proxy/proxy.go start line: 391 end line: 395 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 58 unit: func WithLogger() file: cmd/root.go start line: 98 end line: 102 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 59 unit: func WithDialer() file: cmd/root.go start line: 106 end line: 110 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 60 unit: func withUnixSocket() file: internal/proxy/proxy_other.go start line: 163 end line: 166 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 61 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: 62 unit: func() file: internal/healthcheck/healthcheck.go start line: 120 end line: 123 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 63 unit: func init() file: cmd/root.go start line: 58 end line: 61 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 64 unit: func main() file: main.go start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 65 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: 66 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: 67 unit: func() file: internal/proxy/fuse.go start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 68 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: 69 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: 70 unit: func() file: internal/proxy/proxy.go start line: 586 end line: 588 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 71 unit: func() file: internal/proxy/proxy.go start line: 877 end line: 879 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 72 unit: func() file: internal/proxy/proxy.go start line: 881 end line: 883 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 73 unit: func() file: internal/proxy/proxy.go start line: 886 end line: 888 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: func() file: internal/healthcheck/healthcheck.go start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 75 unit: func() file: internal/healthcheck/healthcheck.go start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 76 unit: func() file: internal/log/log.go start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: func() file: internal/log/log.go start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: func() file: internal/log/log.go start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: func() file: internal/log/log.go start line: 66 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: func() file: internal/log/log.go start line: 71 end line: 73 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 81 unit: func() file: internal/log/log.go start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: func userHasSetLocal() file: cmd/root.go start line: 779 end line: 781 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 83 unit: func userHasSetGlobal() file: cmd/root.go start line: 783 end line: 785 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 84 unit: func() file: internal/proxy/proxy_other.go start line: 207 end line: 207 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 85 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: 86 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: 87 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: 88 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: 89 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: 90 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: 91 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: 92 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: 93 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: 94 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: 95 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: 96 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: 97 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: 98 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: 99 unit: func() file: internal/proxy/fuse_windows.go start line: 47 end line: 47 size: 1 LOC McCabe index: 1 number of parameters: 1