@@ -51,7 +51,7 @@ type ContainerManager interface {
51
51
// If command exits with a non-zero exit code, an error is returned.
52
52
ExecSync (ctx context.Context , containerID string , cmd []string , timeout time.Duration ) (stdout []byte , stderr []byte , err error )
53
53
// Exec prepares a streaming endpoint to execute a command in the container, and returns the address.
54
- Exec (context.Context , * runtimeapi.ExecRequest ) (* runtimeapi.ExecResponse , error )
54
+ Exec (ctx context.Context , request * runtimeapi.ExecRequest ) (* runtimeapi.ExecResponse , error )
55
55
// Attach prepares a streaming endpoint to attach to a running container, and returns the address.
56
56
Attach (ctx context.Context , req * runtimeapi.AttachRequest ) (* runtimeapi.AttachResponse , error )
57
57
// ReopenContainerLog asks runtime to reopen the stdout/stderr log file
@@ -81,7 +81,7 @@ type PodSandboxManager interface {
81
81
// ListPodSandbox returns a list of Sandbox.
82
82
ListPodSandbox (ctx context.Context , filter * runtimeapi.PodSandboxFilter ) ([]* runtimeapi.PodSandbox , error )
83
83
// PortForward prepares a streaming endpoint to forward ports from a PodSandbox, and returns the address.
84
- PortForward (context.Context , * runtimeapi.PortForwardRequest ) (* runtimeapi.PortForwardResponse , error )
84
+ PortForward (ctx context.Context , request * runtimeapi.PortForwardRequest ) (* runtimeapi.PortForwardResponse , error )
85
85
}
86
86
87
87
// ContainerStatsManager contains methods for retrieving the container
0 commit comments