package
2.4.0-rc1+incompatible
Repository: https://github.com/benjaminws/argo.git
Documentation: pkg.go.dev
# Functions
CopyArchive downloads files and directories as a tarball and saves it to a specified path.
GetContainerID returns container ID of a ContainerStatus resource.
KillGracefully kills a container gracefully.
TerminatePodWithContainerID invoke the given SIG against the PID1 of the container.
WaitForTermination of the given containerID, set the timeout to 0 to discard it.
# Constants
killGracePeriod is the time in seconds after sending SIGTERM before forcefully killing the sidecar with SIGKILL (value matches k8s).
# Interfaces
KubernetesClientInterface is the interface to implement getContainerStatus method.