SetObjectLockConfig sets object lock configuration in given bucket. mode, validity and unit are either all set or all nil.
(ctx context.Context, bucketName string, mode *RetentionMode, validity *uint, unit *ValidityUnit)
| 237 | |
| 238 | // SetObjectLockConfig sets object lock configuration in given bucket. mode, validity and unit are either all set or all nil. |
| 239 | func (c *Client) SetObjectLockConfig(ctx context.Context, bucketName string, mode *RetentionMode, validity *uint, unit *ValidityUnit) error { |
| 240 | return c.SetBucketObjectLockConfig(ctx, bucketName, mode, validity, unit) |
| 241 | } |
no test coverage detected