Documentation
¶
Index ¶
- func CheckUploadProgress(ctx context.Context, httpClient *safeClient.SafeClient, targetURL string) (int64, error)
- func CreateDataImport(ctx context.Context, name, namespace, ttl string, ...) error
- func DeleteDataImport(ctx context.Context, diName, namespace string, rtClient ctrlrtclient.Client) error
- func GetDataImport(ctx context.Context, diName, namespace string, rtClient ctrlrtclient.Client) (*v1alpha1.DataImport, error)
- func GetDataImportWithRestart(ctx context.Context, diName, namespace string, rtClient ctrlrtclient.Client) (*v1alpha1.DataImport, error)
- func PrepareUpload(ctx context.Context, _ *slog.Logger, diName, namespace string, publish bool, ...) (string, string, *safeClient.SafeClient, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckUploadProgress ¶
func CheckUploadProgress(ctx context.Context, httpClient *safeClient.SafeClient, targetURL string) (int64, error)
func CreateDataImport ¶
func CreateDataImport( ctx context.Context, name, namespace, ttl string, publish, waitForFirstConsumer bool, pvcTpl *v1alpha1.PersistentVolumeClaimTemplateSpec, rtClient ctrlrtclient.Client, ) error
func DeleteDataImport ¶
func GetDataImport ¶
func GetDataImport(ctx context.Context, diName, namespace string, rtClient ctrlrtclient.Client) (*v1alpha1.DataImport, error)
func GetDataImportWithRestart ¶
func GetDataImportWithRestart( ctx context.Context, diName, namespace string, rtClient ctrlrtclient.Client, ) (*v1alpha1.DataImport, error)
func PrepareUpload ¶
func PrepareUpload( ctx context.Context, _ *slog.Logger, diName, namespace string, publish bool, sClient *safeClient.SafeClient, ) (string, string, *safeClient.SafeClient, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.