Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UploadExport ¶
func UploadExport(ctx context.Context, kubeClient client.Client, deployItemKey lsv1alpha1.ObjectReference, podKey lsv1alpha1.ObjectReference, exportFilePath string) error
UploadExport reads the export config from the given path and stores the data as secret in the host cluster
func WaitUntilMainContainerFinished ¶
func WaitUntilMainContainerFinished(ctx context.Context, kubeClient client.Client, podKey client.ObjectKey) error
WaitUntilMainContainerFinished waits until the main container of the pod has finished. For a comparison of different possibilities to wait for a container to finish see the argo doc: https://github.com/argoproj/argo/blob/master/docs/workflow-executors.md This method currently uses the k8s api method for simplicity and stability reasons.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.