2021-04-18 19:41:13 +00:00
|
|
|
// Copyright (c) 2015-2021 MinIO, Inc.
|
|
|
|
//
|
|
|
|
// This file is part of MinIO Object Storage stack
|
|
|
|
//
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU Affero General Public License as published by
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This program is distributed in the hope that it will be useful
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU Affero General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU Affero General Public License
|
|
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2016-09-19 20:14:55 +00:00
|
|
|
|
|
|
|
package cmd
|
|
|
|
|
|
|
|
import (
|
2019-08-28 23:12:57 +00:00
|
|
|
"errors"
|
2016-09-19 20:14:55 +00:00
|
|
|
)
|
|
|
|
|
2019-11-26 00:39:43 +00:00
|
|
|
var (
|
2020-09-23 19:00:29 +00:00
|
|
|
errLockConflict = errors.New("lock conflict")
|
|
|
|
errLockNotInitialized = errors.New("lock not initialized")
|
2021-03-04 02:36:43 +00:00
|
|
|
errLockNotFound = errors.New("lock not found")
|
2019-11-26 00:39:43 +00:00
|
|
|
)
|