Documentation
¶
Index ¶
- Constants
- func FindDestinationKey(ctx context.Context, client *s3.Client, bucket, prefix, fileName string) (string, error)
- func GetControllerConfigResource() *v1alpha1.ControllerConfig
- func GetUnstructuredDataPipelineResourceWithStage(name, namespace string) v1alpha1.UnstructuredDataPipeline
- func RandomStringGenerator(length int) string
- func WaitForResourceReady(ctx context.Context, condition, crdName, resourceName, namespace string) error
- func WaitForResourceReadyWithTimeout(ctx context.Context, ...) error
- type S3ObjectMetadata
Constants ¶
View Source
const DefaultE2ENamespace = "unstructured-controller-namespace"
DefaultE2ENamespace is the namespace used by e2e tests (must match test/e2e/main_test.go testNamespace).
Variables ¶
This section is empty.
Functions ¶
func FindDestinationKey ¶ added in v0.11.0
func FindDestinationKey(ctx context.Context, client *s3.Client, bucket, prefix, fileName string) (string, error)
FindDestinationKey lists objects under bucket/prefix and returns the .json key whose path contains fileName (e.g. "pdflatex-4-pages.pdf").
func GetControllerConfigResource ¶ added in v0.2.0
func GetControllerConfigResource() *v1alpha1.ControllerConfig
func GetUnstructuredDataPipelineResourceWithStage ¶ added in v0.8.0
func GetUnstructuredDataPipelineResourceWithStage(name, namespace string) v1alpha1.UnstructuredDataPipeline
GetUnstructuredDataPipelineResourceWithStage creates an UnstructuredDataPipeline CR for e2e tests
func RandomStringGenerator ¶ added in v0.8.0
RandomStringGenerator will return a random string of provided length
Types ¶
type S3ObjectMetadata ¶ added in v0.11.0
func GetS3ObjectMetadata ¶ added in v0.11.0
func GetS3ObjectMetadata(ctx context.Context, client *s3.Client, bucket, key string) (S3ObjectMetadata, error)
GetS3ObjectMetadata HeadObjects an S3 key with checksum enabled.
func WaitForS3ObjectHashChange ¶ added in v0.11.0
Click to show internal directories.
Click to hide internal directories.