id: 1 unit: func() file: action/log/logadapter/loki.go start line: 17 end line: 92 size: 61 LOC McCabe index: 16 number of parameters: 1 id: 2 unit: func sendPostRequest() file: action/k8s/utils/http.go start line: 105 end line: 178 size: 57 LOC McCabe index: 11 number of parameters: 3 id: 3 unit: func DeployController() file: action/k8s/install.go start line: 53 end line: 120 size: 57 LOC McCabe index: 5 number of parameters: 0 id: 4 unit: func deploy() file: action/k8s/deploy.go start line: 32 end line: 80 size: 48 LOC McCabe index: 4 number of parameters: 0 id: 5 unit: func GetContextInfo() file: action/k8s/utils/http.go start line: 49 end line: 102 size: 46 LOC McCabe index: 13 number of parameters: 1 id: 6 unit: func() file: action/log/logadapter/local.go start line: 17 end line: 71 size: 43 LOC McCabe index: 11 number of parameters: 1 id: 7 unit: func createSampleConfig() file: action/config/config.go start line: 30 end line: 68 size: 39 LOC McCabe index: 1 number of parameters: 0 id: 8 unit: func GetStatus() file: seata/status.go start line: 41 end line: 79 size: 36 LOC McCabe index: 7 number of parameters: 0 id: 9 unit: func getLog() file: action/log/log.go start line: 32 end line: 70 size: 34 LOC McCabe index: 7 number of parameters: 0 id: 10 unit: func SetConfiguration() file: seata/config.go start line: 69 end line: 105 size: 33 LOC McCabe index: 8 number of parameters: 2 id: 11 unit: func ReadArgs() file: action/common/args.go start line: 29 end line: 67 size: 31 LOC McCabe index: 8 number of parameters: 1 id: 12 unit: func BeginTxn() file: seata/txn.go start line: 34 end line: 65 size: 30 LOC McCabe index: 6 number of parameters: 1 id: 13 unit: func CommitTxn() file: seata/txn.go start line: 67 end line: 98 size: 30 LOC McCabe index: 6 number of parameters: 1 id: 14 unit: func RollbackTxn() file: seata/txn.go start line: 100 end line: 131 size: 30 LOC McCabe index: 6 number of parameters: 1 id: 15 unit: func ReloadConfiguration() file: seata/config.go start line: 107 end line: 139 size: 30 LOC McCabe index: 6 number of parameters: 0 id: 16 unit: func getEsIndexList() file: action/log/logadapter/elasticsearch.go start line: 208 end line: 246 size: 29 LOC McCabe index: 6 number of parameters: 1 id: 17 unit: func createYMLFile() file: action/config/config.go start line: 71 end line: 112 size: 28 LOC McCabe index: 6 number of parameters: 1 id: 18 unit: func() file: action/log/logadapter/elasticsearch.go start line: 18 end line: 50 size: 28 LOC McCabe index: 6 number of parameters: 1 id: 19 unit: func Execute() file: cmd/root.go start line: 58 end line: 88 size: 28 LOC McCabe index: 10 number of parameters: 0 id: 20 unit: func ConvertAndSaveYamlToJSON() file: action/k8s/utils/yaml.go start line: 13 end line: 47 size: 26 LOC McCabe index: 7 number of parameters: 1 id: 21 unit: func init() file: action/root.go start line: 34 end line: 59 size: 26 LOC McCabe index: 1 number of parameters: 0 id: 22 unit: func GetConfigurations() file: seata/config.go start line: 39 end line: 67 size: 25 LOC McCabe index: 6 number of parameters: 1 id: 23 unit: func processSearchHits() file: action/log/logadapter/elasticsearch.go start line: 98 end line: 125 size: 25 LOC McCabe index: 9 number of parameters: 2 id: 24 unit: func getContext() file: action/log/log.go start line: 72 end line: 96 size: 25 LOC McCabe index: 5 number of parameters: 0 id: 25 unit: func scale() file: action/k8s/scale.go start line: 31 end line: 58 size: 24 LOC McCabe index: 4 number of parameters: 0 id: 26 unit: func CreateRequest() file: action/k8s/utils/request.go start line: 5 end line: 30 size: 23 LOC McCabe index: 6 number of parameters: 2 id: 27 unit: func getPodsStatusByLabel() file: action/k8s/status.go start line: 40 end line: 74 size: 23 LOC McCabe index: 5 number of parameters: 2 id: 28 unit: func queryPromMetric() file: action/prometheus/metrics.go start line: 94 end line: 120 size: 23 LOC McCabe index: 5 number of parameters: 2 id: 29 unit: func generateTerminalLineChart() file: action/prometheus/metrics.go start line: 123 end line: 153 size: 23 LOC McCabe index: 7 number of parameters: 2 id: 30 unit: func GetKubeConfigPath() file: action/k8s/utils/file.go start line: 16 end line: 41 size: 22 LOC McCabe index: 6 number of parameters: 0 id: 31 unit: func UninstallCRD() file: action/k8s/uninstall.go start line: 33 end line: 62 size: 22 LOC McCabe index: 4 number of parameters: 0 id: 32 unit: func getPrometheusAddress() file: action/prometheus/metrics.go start line: 55 end line: 79 size: 21 LOC McCabe index: 6 number of parameters: 0 id: 33 unit: func getFieldNames() file: action/log/logadapter/elasticsearch.go start line: 128 end line: 155 size: 20 LOC McCabe index: 7 number of parameters: 2 id: 34 unit: func createElasticClient() file: action/log/logadapter/elasticsearch.go start line: 53 end line: 72 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 35 unit: func undeploy() file: action/k8s/undeploy.go start line: 28 end line: 49 size: 18 LOC McCabe index: 3 number of parameters: 0 id: 36 unit: func() file: seata/auth.go start line: 62 end line: 78 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 37 unit: func UnDeploymentController() file: action/k8s/uninstall.go start line: 64 end line: 86 size: 17 LOC McCabe index: 4 number of parameters: 0 id: 38 unit: func createEsDefaultClient() file: action/log/logadapter/elasticsearch.go start line: 75 end line: 95 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: func buildQuery() file: action/log/logadapter/elasticsearch.go start line: 263 end line: 279 size: 17 LOC McCabe index: 5 number of parameters: 2 id: 40 unit: func FormatKVResponse() file: seata/api.go start line: 60 end line: 76 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 41 unit: func FormatDiffResponse() file: seata/api.go start line: 78 end line: 94 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 42 unit: func GetClient() file: action/k8s/utils/file.go start line: 44 end line: 62 size: 15 LOC McCabe index: 4 number of parameters: 0 id: 43 unit: func GetDynamicClient() file: action/k8s/utils/file.go start line: 65 end line: 82 size: 15 LOC McCabe index: 4 number of parameters: 0 id: 44 unit: func showMetrics() file: action/prometheus/metrics.go start line: 35 end line: 52 size: 14 LOC McCabe index: 4 number of parameters: 0 id: 45 unit: func init() file: cmd/root.go start line: 41 end line: 56 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 46 unit: func extractFields() file: action/log/logadapter/elasticsearch.go start line: 158 end line: 174 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 47 unit: func ParseJobString() file: action/log/logadapter/elasticsearch.go start line: 177 end line: 195 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 48 unit: func parseToTimestamp() file: action/log/logadapter/loki.go start line: 95 end line: 111 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 49 unit: func BuildPostRequestWithArrayData() file: seata/api.go start line: 30 end line: 43 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 50 unit: func BuildPostRequestWithMapData() file: seata/api.go start line: 45 end line: 58 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 51 unit: func LoadKubeConfig() file: action/k8s/utils/http.go start line: 33 end line: 45 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 52 unit: func buildLokiFilter() file: action/log/log.go start line: 104 end line: 114 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 53 unit: func init() file: action/login/login.go start line: 31 end line: 41 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 54 unit: func status() file: action/k8s/status.go start line: 28 end line: 38 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 55 unit: func removeKeywordSuffix() file: action/log/logadapter/elasticsearch.go start line: 249 end line: 260 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 56 unit: func buildLocalFilter() file: action/log/log.go start line: 116 end line: 125 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 57 unit: func InitLogger() file: tool/log.go start line: 13 end line: 20 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 58 unit: func Contains() file: action/log/logadapter/elasticsearch.go start line: 198 end line: 205 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 59 unit: func ParseDictArg() file: action/common/args.go start line: 69 end line: 75 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 60 unit: func ParseArrayArg() file: action/common/args.go start line: 77 end line: 83 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 61 unit: func DeployCRD() file: action/k8s/install.go start line: 44 end line: 50 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 62 unit: func init() file: action/log/log.go start line: 24 end line: 30 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 63 unit: func init() file: action/try/try.go start line: 25 end line: 31 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 64 unit: func() file: seata/auth.go start line: 47 end line: 52 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 65 unit: func Log() file: action/common/log.go start line: 24 end line: 29 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 66 unit: func init() file: action/k8s/deploy.go start line: 25 end line: 30 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 67 unit: func init() file: action/get/get.go start line: 25 end line: 31 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 68 unit: func init() file: action/set/config.go start line: 32 end line: 36 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 69 unit: func init() file: action/set/set.go start line: 25 end line: 29 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 70 unit: func init() file: action/k8s/install.go start line: 37 end line: 41 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 71 unit: func init() file: action/k8s/scale.go start line: 25 end line: 29 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 72 unit: func buildElasticSearchFilter() file: action/log/log.go start line: 98 end line: 102 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 73 unit: func init() file: action/try/begin.go start line: 30 end line: 34 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 74 unit: func init() file: action/try/rollback.go start line: 30 end line: 34 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 75 unit: func init() file: action/try/commit.go start line: 30 end line: 34 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 76 unit: func init() file: action/reload/reload.go start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 77 unit: func init() file: action/k8s/uninstall.go start line: 28 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 78 unit: func init() file: action/k8s/undeploy.go start line: 23 end line: 26 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 79 unit: func init() file: action/k8s/status.go start line: 23 end line: 26 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 80 unit: func init() file: action/quit.go start line: 27 end line: 30 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 81 unit: func() file: seata/auth.go start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: func GetAuth() file: seata/auth.go start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 83 unit: func GetUsageTmpl() file: action/common/template.go start line: 71 end line: 73 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: func GetHelpTmpl() file: action/common/template.go start line: 75 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 85 unit: func GetHelpTmplWithOnlyAvailableCmd() file: action/common/template.go start line: 79 end line: 81 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 86 unit: func init() file: action/config/config.go start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 87 unit: func Execute() file: action/root.go start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 88 unit: func init() file: action/get/config.go start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 89 unit: func init() file: action/prometheus/metrics.go start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 90 unit: func printPrompt() file: action/login/login.go start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: func main() file: main.go start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 92 unit: func init() file: cmd/version.go start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 93 unit: func printPrompt() file: cmd/root.go start line: 90 end line: 92 size: 3 LOC McCabe index: 1 number of parameters: 1