()
| 62 | } |
| 63 | |
| 64 | func getActualRawConfig() map[string]interface{} { |
| 65 | jsonStr := "{\n \"deployments\": {\n \"dev\": { \"helm\": { \"values\": { \"containers\": [{ \"image\": \"alpine\" },{ \"image\": \"ns\" }] } } }\n },\n \"name\": \"run-pipelines-demo\",\n \"pipelines\": {\n \"deploy\": \"create_deployments --all\",\n \"dev\": \"run_pipelines deploy --set deployments.dev.helm.values.containers[0].image=nginx --set-string deployments.dev.helm.values.containers[0].name=mynginx\"\n },\n \"version\": \"v2beta1\"\n}\n" |
| 66 | rawConfig := map[string]interface{}{} |
| 67 | err := json.Unmarshal([]byte(jsonStr), &rawConfig) |
| 68 | if err != nil { |
| 69 | fmt.Println(err) |
| 70 | } |
| 71 | return rawConfig |
| 72 | } |
no outgoing calls
no test coverage detected