Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Produce containers topology from endpoints via processes... #228

Closed
tomwilkie opened this issue Jun 15, 2015 · 1 comment · Fixed by #248
Closed

Produce containers topology from endpoints via processes... #228

tomwilkie opened this issue Jun 15, 2015 · 1 comment · Fixed by #248
Assignees
Milestone

Comments

@tomwilkie
Copy link
Contributor

Mainly just refactoring:

  • Allow the Renderers to recurse
  • Add detailednode -> detailed node mappers
@tomwilkie
Copy link
Contributor Author

This is the aim:

render.Reduce{
    render.LeafMap{Selector: report.SelectContainer, Mapper: report.MapContainerIdentity, Pseudo: report.InternetOnlyPseudoNode},
    render.Map{
        Mapper: report.MapProcess2Container,
        Renderer: render.Reduce{
            render.LeafMap{Selector: report.SelectProcess, Mapper: report.MapProcessIdentity, Pseudo: report.InternetOnlyPseudoNode},
            render.Map{
                Mapper: report.MapEndpoint2Process,
                Renderer: render.LeafMap{Selector: report.SelectEndpoint, Mapper: report.MapEndpointIdentity, Pseudo: report.InternetOnlyPseudoNode},
            }
        }
    }
}

As part of this change, I'll be moving all the rendering code from report to render/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant