(c *LocalCluster)
| 167 | } |
| 168 | |
| 169 | func (z *zero) healthURL(c *LocalCluster) (string, error) { |
| 170 | publicPort, err := publicPort(c.dcli, z, zeroHttpPort) |
| 171 | if err != nil { |
| 172 | return "", err |
| 173 | } |
| 174 | return "http://0.0.0.0:" + publicPort + "/health", nil |
| 175 | } |
| 176 | |
| 177 | func (z *zero) changeStatus(isRunning bool) { |
| 178 | z.isRunning = isRunning |
nothing calls this directly
no test coverage detected