Documentation ¶
Index ¶
- Constants
- func Add(mgr manager.Manager) error
- func CreateOrUpdateIAMPolicy(cr *v1alpha1.S3, iamClient iamiface.IAMAPI) error
- func DeleteBucket(bucketName string, s3Client s3iface.S3API) error
- func DeleteUser(username string, iamClient iamiface.IAMAPI) error
- func IAMPolicyMatchesDesiredPolicyDocument(desiredPolicyDocument, username, policyName string, iamClient iamiface.IAMAPI) (bool, error)
- func PutBucketPolicy(cr *v1alpha1.S3, s3Client s3iface.S3API) error
- type ReconcileS3
Constants ¶
View Source
const S3_CONTROLLER = "s3Controller"
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add creates a new S3 Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.
func CreateOrUpdateIAMPolicy ¶
func DeleteBucket ¶
Assumes empty the bucket , then delete
Types ¶
type ReconcileS3 ¶
type ReconcileS3 struct {
// contains filtered or unexported fields
}
ReconcileS3 reconciles a S3 object
Click to show internal directories.
Click to hide internal directories.