wait

package
v0.114.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context) error

Run runs the container deployer sidecar.

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.

Jump to

Keyboard shortcuts

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