Last active
February 4, 2020 06:15
-
-
Save ihcsim/a8a78cf054957343f97d159a62c2e2f7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // GetExec gets the endpoint the runtime will serve the exec request from. | |
| func (m *kubeGenericRuntimeManager) GetExec(id kubecontainer.ContainerID, cmd []string, stdin, stdout, stderr, tty bool) (*url.URL, error) { | |
| // ... | |
| resp, err := m.runtimeService.Exec(req) | |
| if err != nil { | |
| return nil, err | |
| } | |
| return url.Parse(resp.Url) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment