{"modulePath":"github.com/codefresh-io/argo","version":"v2.5.2+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package k8sapi\n\n## Types\n\n```go\ntype K8sAPIExecutor struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewK8sAPIExecutor(clientset *kubernetes.Clientset, config *restclient.Config, podName, namespace string) (*K8sAPIExecutor, error)\n```\n\n```go\nfunc (k *K8sAPIExecutor) CopyFile(containerID string, sourcePath string, destPath string) error\n```\n\n```go\nfunc (k *K8sAPIExecutor) GetFileContents(containerID string, sourcePath string) (string, error)\n```\n\n```go\nfunc (k *K8sAPIExecutor) GetOutputStream(containerID string, combinedOutput bool) (io.ReadCloser, error)\n```\n\n```go\nfunc (k *K8sAPIExecutor) Kill(containerIDs []string) error\n```\nKill kills a list of containerIDs first with a SIGTERM then with a SIGKILL after a grace period\n\n```go\nfunc (k *K8sAPIExecutor) Wait(containerID string) error\n```\nWait for the container to complete\n\n```go\nfunc (k *K8sAPIExecutor) WaitInit() error\n```\n\n","path":"github.com/codefresh-io/argo/workflow/executor/k8sapi","name":"k8sapi","synopsis":"","isRedistributable":true}
