13497: Add controller, proxy to Rails API.
[arvados.git] / sdk / go / arvados / config.go
index 9ed0eacf23e6d753c1b6c2a0f781282c96dde8cc..2de13d784146fef8fcc58ed1e4b156605c624622 100644 (file)
@@ -90,6 +90,7 @@ func (cc *Cluster) GetSystemNode(node string) (*SystemNode, error) {
 }
 
 type SystemNode struct {
+       Controller  SystemServiceInstance `json:"arvados-controller"`
        Health      SystemServiceInstance `json:"arvados-health"`
        Keepproxy   SystemServiceInstance `json:"keepproxy"`
        Keepstore   SystemServiceInstance `json:"keepstore"`
@@ -105,6 +106,7 @@ type SystemNode struct {
 func (sn *SystemNode) ServicePorts() map[string]string {
        return map[string]string{
                "arvados-api-server":   sn.RailsAPI.Listen,
+               "arvados-controller":   sn.Controller.Listen,
                "arvados-node-manager": sn.Nodemanager.Listen,
                "arvados-workbench":    sn.Workbench.Listen,
                "arvados-ws":           sn.Websocket.Listen,