A container registry that uses the AT Protocol for manifest storage and S3 for blob storage. atcr.io
docker container atproto go
81
fork

Configure Feed

Select the types of activity you want to include in your feed.

fmt

+7 -7
+2 -2
.golangci.yml
··· 1 1 # golangci-lint configuration for ATCR 2 2 # See: https://golangci-lint.run/usage/configuration/ 3 3 version: "2" 4 - linters: 4 + linters: 5 5 settings: 6 6 staticcheck: 7 7 checks: ··· 23 23 formatters: 24 24 enable: 25 25 - gofmt 26 - - goimports 26 + - goimports
+2 -2
pkg/appview/handlers/storage.go
··· 25 25 UserDID string `json:"userDid"` 26 26 UniqueBlobs int `json:"uniqueBlobs"` 27 27 TotalSize int64 `json:"totalSize"` 28 - Limit *int64 `json:"limit,omitempty"` // nil = unlimited 29 - Berth string `json:"berth,omitempty"` // e.g., "deckhand", "bosun", "owner" 28 + Limit *int64 `json:"limit,omitempty"` // nil = unlimited 29 + Berth string `json:"berth,omitempty"` // e.g., "deckhand", "bosun", "owner" 30 30 } 31 31 32 32 func (h *StorageHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
+1 -1
pkg/hold/pds/layer.go
··· 66 66 UserDID string `json:"userDid"` 67 67 UniqueBlobs int `json:"uniqueBlobs"` 68 68 TotalSize int64 `json:"totalSize"` 69 - Limit *int64 `json:"limit,omitempty"` // nil = unlimited 69 + Limit *int64 `json:"limit,omitempty"` // nil = unlimited 70 70 Berth string `json:"berth,omitempty"` // nautical rank for quota tier 71 71 } 72 72
+2 -2
pkg/hold/pds/xrpc.go
··· 47 47 s3Service s3.S3Service 48 48 storageDriver driver.StorageDriver 49 49 broadcaster *EventBroadcaster 50 - httpClient HTTPClient // For testing - allows injecting mock HTTP client 51 - quotaMgr *quota.Manager // Quota manager for tier-based limits 50 + httpClient HTTPClient // For testing - allows injecting mock HTTP client 51 + quotaMgr *quota.Manager // Quota manager for tier-based limits 52 52 } 53 53 54 54 // PartInfo represents a completed part in a multipart upload