{"action":"created","issue":{"url":"https://api.github.com/repos/NVIDIA/libnvidia-container/issues/24","repository_url":"https://api.github.com/repos/NVIDIA/libnvidia-container","labels_url":"https://api.github.com/repos/NVIDIA/libnvidia-container/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/NVIDIA/libnvidia-container/issues/24/comments","events_url":"https://api.github.com/repos/NVIDIA/libnvidia-container/issues/24/events","html_url":"https://github.com/NVIDIA/libnvidia-container/issues/24","id":324487997,"number":24,"title":"Add go bindings or go implementation","user":{"login":"crosbymichael","id":749551,"avatar_url":"https://avatars1.githubusercontent.com/u/749551?v=4","gravatar_id":"","url":"https://api.github.com/users/crosbymichael","html_url":"https://github.com/crosbymichael","followers_url":"https://api.github.com/users/crosbymichael/followers","following_url":"https://api.github.com/users/crosbymichael/following{/other_user}","gists_url":"https://api.github.com/users/crosbymichael/gists{/gist_id}","starred_url":"https://api.github.com/users/crosbymichael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crosbymichael/subscriptions","organizations_url":"https://api.github.com/users/crosbymichael/orgs","repos_url":"https://api.github.com/users/crosbymichael/repos","events_url":"https://api.github.com/users/crosbymichael/events{/privacy}","received_events_url":"https://api.github.com/users/crosbymichael/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-05-18T17:12:31Z","updated_at":"2018-05-21T19:33:33Z","closed_at":null,"author_association":"NONE","body":"As many container runtimes and platforms consume nvidia support, and many of these are written in go, it would be good to have go bindings or a go implementation of this lib so that we initialization checks and validation can be performed at the runtime/platform level for nvidia gpus.\r\n\r\nDoing this at the hook level where this lib us currently used is still late in the container lifecycle and we can provide quicker feedback for users by consuming this lib sooner in the stack. "},"comment":{"url":"https://api.github.com/repos/NVIDIA/libnvidia-container/issues/comments/390758345","html_url":"https://github.com/NVIDIA/libnvidia-container/issues/24#issuecomment-390758345","issue_url":"https://api.github.com/repos/NVIDIA/libnvidia-container/issues/24","id":390758345,"user":{"login":"crosbymichael","id":749551,"avatar_url":"https://avatars1.githubusercontent.com/u/749551?v=4","gravatar_id":"","url":"https://api.github.com/users/crosbymichael","html_url":"https://github.com/crosbymichael","followers_url":"https://api.github.com/users/crosbymichael/followers","following_url":"https://api.github.com/users/crosbymichael/following{/other_user}","gists_url":"https://api.github.com/users/crosbymichael/gists{/gist_id}","starred_url":"https://api.github.com/users/crosbymichael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crosbymichael/subscriptions","organizations_url":"https://api.github.com/users/crosbymichael/orgs","repos_url":"https://api.github.com/users/crosbymichael/repos","events_url":"https://api.github.com/users/crosbymichael/events{/privacy}","received_events_url":"https://api.github.com/users/crosbymichael/received_events","type":"User","site_admin":false},"created_at":"2018-05-21T19:33:33Z","updated_at":"2018-05-21T19:33:33Z","author_association":"NONE","body":"Like you said the Go threading issues are a problem and I don't think we need to support that.  \r\n\r\nSome of the functionality with this lib is determining the lib paths, versions, device paths and what devices that need to go into a container.  This stuff should be split out so that we can depend on it and make decisions before invoking the runtime.  Smaller surface area could help more. "}}
{"actor":{"display_login":"crosbymichael"}}