func (c *ClusterManager) getSelf() *api.Node { var node = api.Node{} // Get physical node info. node.Id = c.config.NodeId node.Status = api.StatusOk node.Ip, _ = externalIp() node.Timestamp = time.Now() return &node }