Skip to content

utils: export ParseCgroupFile()#197

Merged
fuweid merged 1 commit into
containerd:masterfrom
thaJeztah:export_parseCgroupFile
Jun 6, 2021
Merged

utils: export ParseCgroupFile()#197
fuweid merged 1 commit into
containerd:masterfrom
thaJeztah:export_parseCgroupFile

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

this exports the ParseCgroupFile() function, so that external consumers (such as moby) can use this function, instead of the implementation in runc's libcontainer (which is not intended for external consumers).

The GoDoc documentation was borrowed from runc opencontainers/runc@d244b40 (added @kolyshkin as co-author)

Relates to moby/moby#42071 (https://github.com/moby/moby/pull/42071/files#r585767248)
Relates to moby/moby#42452

this exports the ParseCgroupFile() function, so that external
consumers (such as moby) can use this function, instead of the
implementation in runc's libcontainer (which is not intended for
external consumers).

The GoDoc documentation was borrowed from runc:
opencontainers/runc@d244b40

Co-authored-by: Kir Kolyshkin <kolyshkin@gmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
Copy link
Copy Markdown
Member Author

@AkihiroSuda @estesp @crosbymichael ptal

@fuweid fuweid merged commit ca6254f into containerd:master Jun 6, 2021
@thaJeztah thaJeztah deleted the export_parseCgroupFile branch February 23, 2022 17:58
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