Hello,
I am trying to create a file writer with minio source using NewS3FileWriterWithClient.
fileWriter, err := minio.NewS3FileWriterWithClient(
context.Background(),
minioClient,
bucketName,
objectName,
)
As minio client I am using the minio go client :
minioClient, err := origMinio.New("<minio-endpoint>", &origMinio.Options{
Creds: credentials.NewStaticV4("<access-key-id>", "<access-key>", ""),
Secure: true,
Transport: &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
},
})
I am using self signed certificates that is why I am using InsecureSkipVerify for my testing purposes right now.
For some reason NewS3FileWriterWithClient() does not return anything, neither an error nor anything else. Does anybody know what I could do?
Thanks for helping :)