Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExitMonitor ¶
func ExitMonitor(ctx context.Context, client kubernetes.Interface, name, namespace, container string) chan error
Wait for the pod to complete and propagate its error, if it has one. The error implements errors.ExitError if there is an error, which contains the non-zero exit code of the container. Non-blocking, the error is reported via the returned error channel.
func RunExitMonitor ¶ added in v0.0.7
func RunExitMonitor(ctx context.Context, client etokclient.Interface, namespace, name string) chan error
Wait for the run to complete and propagate its error, if it has one. The error implements errors.ExitError if there is an error, which contains the non-zero exit code of the container. Non-blocking, the error is reported via the returned error channel.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.