package
0.13.0
Repository: https://github.com/shipwright-io/cli.git
Documentation: pkg.go.dev

# Functions

NewPodWatcher instantiate PodWatcher event-loop.

# Constants

ContextTimeoutMessage is the message for a context timeout.
RequestTimeoutMessage is the message for a request timeout.

# Structs

PodWatcher a simple function orchestrator based on watching a given pod and reacting upon the state modifications, should work as a helper to build business logic based on the build POD changes.

# Type aliases

NoPodEventsYetFn when the watch has not received the create event within a reasonable time, where a PodList is also provided in the off chance the Pod completed before the Watch was started.
OnPodEventFn when a pod is modified this method handles the event.
SkipPodFn a given pod instance is informed and expects a boolean as return.
TimeoutPodFn when either the context or request timeout expires before the Pod finishes.