id: 1 unit: func() file: pkg/agent/registration.go start line: 35 end line: 82 size: 40 LOC McCabe index: 5 number of parameters: 1 id: 2 unit: func() file: pkg/k8s/secret.go start line: 72 end line: 106 size: 30 LOC McCabe index: 3 number of parameters: 1 id: 3 unit: func init() file: cmd/init.go start line: 48 end line: 79 size: 30 LOC McCabe index: 2 number of parameters: 0 id: 4 unit: func() file: pkg/initializer/initializer.go start line: 36 end line: 69 size: 28 LOC McCabe index: 6 number of parameters: 1 id: 5 unit: func init() file: cmd/server.go start line: 42 end line: 70 size: 28 LOC McCabe index: 2 number of parameters: 0 id: 6 unit: func() file: pkg/initializer/initializer.go start line: 71 end line: 98 size: 27 LOC McCabe index: 6 number of parameters: 1 id: 7 unit: func() file: pkg/fsnotify/fsnotify.go start line: 85 end line: 116 size: 25 LOC McCabe index: 5 number of parameters: 1 id: 8 unit: func() file: pkg/proxy/proxy.go start line: 53 end line: 79 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 9 unit: func Deserialize() file: pkg/state/state.go start line: 18 end line: 41 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 10 unit: func() file: pkg/server/server.go start line: 25 end line: 50 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 11 unit: func() file: pkg/state/state.go start line: 43 end line: 67 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 12 unit: func() file: pkg/ssm/ssm.go start line: 52 end line: 75 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 13 unit: func() file: pkg/state/mock_persistence.go start line: 13 end line: 33 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 14 unit: func() file: pkg/config/mock_provider.go start line: 13 end line: 33 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 15 unit: func() file: pkg/agent/mock_registration.go start line: 16 end line: 36 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 16 unit: func() file: pkg/serviceaccount/mock_secret_provider.go start line: 13 end line: 33 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 17 unit: func() file: pkg/k8s/mock_secret.go start line: 13 end line: 33 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 18 unit: func NewSecretInCluster() file: pkg/k8s/secret.go start line: 26 end line: 43 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 19 unit: func() file: pkg/fsnotify/fsnotify.go start line: 58 end line: 81 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 20 unit: func() file: pkg/state/persistence_fs.go start line: 22 end line: 38 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 21 unit: func() file: pkg/ssm/mock_client.go start line: 27 end line: 45 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 22 unit: func() file: pkg/k8s/mock_pod_index_provider.go start line: 13 end line: 31 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 23 unit: func NewClient() file: pkg/ssm/ssm.go start line: 31 end line: 48 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 24 unit: func() file: pkg/k8s/podindex.go start line: 27 end line: 45 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 25 unit: func() file: pkg/serviceaccount/serviceaccount.go start line: 35 end line: 50 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 26 unit: func NewUnixListener() file: pkg/server/listener_unix.go start line: 12 end line: 24 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 27 unit: func NewWatcher() file: pkg/fsnotify/fsnotify.go start line: 36 end line: 50 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 28 unit: func() file: pkg/ssm/mock_aws_requester.go start line: 16 end line: 29 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 29 unit: func NewInitializer() file: pkg/initializer/initializer.go start line: 16 end line: 27 size: 12 LOC McCabe index: 1 number of parameters: 4 id: 30 unit: func() file: pkg/state/persistence_fs.go start line: 39 end line: 49 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 31 unit: func() file: pkg/state/state.go start line: 94 end line: 106 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 32 unit: func secretToState() file: pkg/state/persistence_secret.go start line: 49 end line: 59 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 33 unit: func() file: pkg/proxy/proxy.go start line: 107 end line: 119 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 34 unit: func() file: pkg/k8s/secret.go start line: 60 end line: 70 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 35 unit: func() file: pkg/state/mock_persistence.go start line: 36 end line: 47 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 36 unit: func() file: pkg/ssm/mock_client.go start line: 13 end line: 24 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 37 unit: func() file: pkg/ssm/mock_aws_request.go start line: 13 end line: 24 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 38 unit: func() file: pkg/k8s/mock_secret.go start line: 36 end line: 47 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: func NewListener() file: pkg/server/listener.go start line: 10 end line: 19 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 40 unit: func() file: pkg/initializer/mock_initializer.go start line: 13 end line: 24 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 41 unit: func() file: pkg/state/persistence_fs.go start line: 51 end line: 59 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 42 unit: func() file: pkg/state/persistence_secret.go start line: 24 end line: 32 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 43 unit: func createKeypair() file: pkg/agent/auth.go start line: 35 end line: 44 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 44 unit: func() file: pkg/proxy/proxy.go start line: 42 end line: 51 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 45 unit: func() file: pkg/proxy/proxy.go start line: 90 end line: 105 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 46 unit: func() file: pkg/serviceaccount/serviceaccount.go start line: 52 end line: 62 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 47 unit: func addKlogFlags() file: cmd/root.go start line: 26 end line: 34 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 48 unit: func() file: pkg/state/persistence_fs.go start line: 61 end line: 68 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 49 unit: func stateToSecret() file: pkg/state/persistence_secret.go start line: 40 end line: 47 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 50 unit: func() file: pkg/config/provider.go start line: 16 end line: 23 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 51 unit: func() file: pkg/proxy/proxy.go start line: 81 end line: 88 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 52 unit: func() file: pkg/state/state.go start line: 76 end line: 83 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 53 unit: func() file: pkg/state/state.go start line: 85 end line: 92 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 54 unit: func marshal() file: pkg/state/state.go start line: 108 end line: 114 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 55 unit: func createFingerPrint() file: pkg/agent/auth.go start line: 26 end line: 32 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 56 unit: func() file: pkg/agent/auth.go start line: 47 end line: 53 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 57 unit: func NewProxyHandler() file: pkg/proxy/proxy.go start line: 34 end line: 40 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 58 unit: func() file: pkg/serviceaccount/serviceaccount.go start line: 64 end line: 71 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 59 unit: func NewSecret() file: pkg/k8s/secret.go start line: 45 end line: 51 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 60 unit: func() file: pkg/state/state.go start line: 69 end line: 74 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 61 unit: func unmarshalIfNotEmpty() file: pkg/state/state.go start line: 116 end line: 121 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 62 unit: func NewRegistration() file: pkg/agent/registration.go start line: 28 end line: 33 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 63 unit: func() file: pkg/server/listener_unix.go start line: 26 end line: 31 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 64 unit: func main() file: cmd/root.go start line: 16 end line: 22 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 65 unit: func NewFileSystemPersistence() file: pkg/state/persistence_fs.go start line: 16 end line: 20 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 66 unit: func NewSecretPersistence() file: pkg/state/persistence_secret.go start line: 18 end line: 22 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 67 unit: func() file: pkg/state/persistence_secret.go start line: 34 end line: 38 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 68 unit: func NewProvider() file: pkg/serviceaccount/serviceaccount.go start line: 25 end line: 29 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 69 unit: func() file: pkg/server/server.go start line: 52 end line: 56 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: func() file: pkg/server/server.go start line: 58 end line: 63 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 71 unit: func() file: pkg/agent/auth.go start line: 56 end line: 60 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 72 unit: func() file: pkg/ssm/hack.go start line: 29 end line: 32 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 73 unit: func NewProvider() file: pkg/config/provider.go start line: 9 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 74 unit: func() file: pkg/ssm/ssm.go start line: 77 end line: 79 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 75 unit: func NewPodIndexProvider() file: pkg/k8s/podindex.go start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 76 unit: func NewTcpListener() file: pkg/server/listener_tcp.go start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: func getConfigFilePath() file: pkg/fsnotify/fsnotify.go start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: func mergeState() file: pkg/fsnotify/fsnotify.go start line: 118 end line: 121 size: 3 LOC McCabe index: 1 number of parameters: 2