monitors

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2021 License: MPL-2.0 Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL