mirror of
https://github.com/project-zot/zot.git
synced 2026-06-18 05:28:07 +08:00
18 lines
478 B
Go
18 lines
478 B
Go
package constants
|
|
|
|
import "time"
|
|
|
|
// references type.
|
|
const (
|
|
Cosign = "CosignSignature"
|
|
OCI = "OCIReference"
|
|
Tag = "TagReference"
|
|
SyncBlobUploadDir = ".sync"
|
|
)
|
|
|
|
// Default timeout settings for sync operations.
|
|
const (
|
|
DefaultSyncTimeout = 3 * time.Hour // default timeout for all sync operations (on-demand and periodic)
|
|
DefaultResponseHeaderTimeout = 30 * time.Second // default timeout for reading response headers
|
|
)
|