- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for validateStatus (0.35 sec)
-
internal/bucket/lifecycle/rule.go
) // validateID - checks if ID is valid or not. func (r Rule) validateID() error { if len(r.ID) > 255 { return errInvalidRuleID } return nil } // validateStatus - checks if status is valid or not. func (r Rule) validateStatus() error { // Status can't be empty if len(r.Status) == 0 { return errEmptyRuleStatus } // Status must be one of Enabled or Disabled
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Nov 21 17:48:06 GMT 2023 - 5K bytes - Viewed (0) -
internal/bucket/replication/rule.go
func (r Rule) validateID() error { // cannot be longer than 255 characters if len(r.ID) > 255 { return errInvalidRuleID } return nil } // validateStatus - checks if status is valid or not. func (r Rule) validateStatus() error { // Status can't be empty if len(r.Status) == 0 { return errEmptyRuleStatus } // Status must be one of Enabled or Disabled
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Jan 24 23:22:20 GMT 2022 - 8.3K bytes - Viewed (0)