upload S3 object (not updated)

This commit is contained in:
kkb0318
2024-04-15 22:05:47 +09:00
parent 993b08a204
commit cf56936288
6 changed files with 132 additions and 108 deletions
@@ -108,7 +108,6 @@ var _ = Describe("IRSASetup Controller", func() {
for _, expect := range expected {
checkNoExist(expect, newSecret)
}
Expect(err).To(HaveOccurred())
})
})
})
@@ -144,6 +143,10 @@ func (m *mockAwsS3API) PutObject(ctx context.Context, params *s3.PutObjectInput,
return nil, nil
}
func (m *mockAwsS3API) HeadObject(ctx context.Context, params *s3.HeadObjectInput, optFns ...func(*s3.Options)) (*s3.HeadObjectOutput, error) {
return nil, nil
}
func (m *mockAwsS3API) DeletePublicAccessBlock(ctx context.Context, params *s3.DeletePublicAccessBlockInput, optFns ...func(*s3.Options)) (*s3.DeletePublicAccessBlockOutput, error) {
return nil, nil
}