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

Break apart NewPipeIO to windows/unix #45

Merged
merged 2 commits into from
Aug 20, 2018
Merged

Break apart NewPipeIO to windows/unix #45

merged 2 commits into from
Aug 20, 2018

Conversation

jterry75
Copy link
Contributor

Moves NewPipeIO to GOOS specific to avoid setting the unix.Fchown flags
that dont apply on windows.

Signed-off-by: Justin Terry (VM) [email protected]

Moves NewPipeIO to GOOS specific to avoid setting the unix.Fchown flags
that dont apply on windows.

Signed-off-by: Justin Terry (VM) <[email protected]>
Signed-off-by: Justin Terry (VM) <[email protected]>
@crosbymichael
Copy link
Member

crosbymichael commented Aug 17, 2018

Which part of this pkg were you needing to depend on? Just the I/O part?

@jterry75
Copy link
Contributor Author

@crosbymichael - I decided to make the equivalent go-runhcs for a few reasons and rather than re-inventing the wheel I am trying to simply reuse the go-runc: Monitor, IO portions since they are already well written to be platform agnostic. This is a super early commit in my testing/impl but take a look at: Microsoft/hcsshim:go_runhcs. Then I can make the shim actually use this package and avoid all command logic in the shim at all.

@crosbymichael
Copy link
Member

LGTM

Copy link
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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 this pull request may close these issues.

3 participants