...
1 package remotecmd
2
3 import "context"
4
5
6
7 type RemoteProcessHandler interface {
8
9
10 GetProcessInfoForCommand(ctx context.Context, def CommandDefinition, podName string, containerName string) (RemoteProcessInfo, error)
11
12
13 StartProcessForCommand(ctx context.Context, def CommandDefinition, podName string, containerName string, outputHandler CommandOutputHandler) error
14
15
16 StopProcessForCommand(ctx context.Context, def CommandDefinition, podName string, containerName string) error
17 }
18
View as plain text