Documentation ¶
Index ¶
- func Authenticate(ctx *context.Context)
- func AuthenticateNotImplemented(ctx *context.Context)
- func CancelUploadBlob(ctx *context.Context)
- func DeleteBlob(ctx *context.Context)
- func DeleteManifest(ctx *context.Context)
- func DetermineSupport(ctx *context.Context)
- func EndUploadBlob(ctx *context.Context)
- func GetBlob(ctx *context.Context)
- func GetManifest(ctx *context.Context)
- func GetRepositoryList(ctx *context.Context)
- func GetTagList(ctx *context.Context)
- func GetUploadBlob(ctx *context.Context)
- func HeadBlob(ctx *context.Context)
- func HeadManifest(ctx *context.Context)
- func InitiateUploadBlob(ctx *context.Context)
- func ReqContainerAccess(ctx *context.Context)
- func UploadBlob(ctx *context.Context)
- func UploadManifest(ctx *context.Context)
- func VerifyImageName(ctx *context.Context)
- type Auth
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authenticate ¶
Authenticate creates a token for the current user If the current user is anonymous, the ghost user is used unless RequireSignInView is enabled.
func AuthenticateNotImplemented ¶ added in v1.21.3
func CancelUploadBlob ¶ added in v1.17.4
https://docs.docker.com/registry/spec/api/#delete-blob-upload
func DeleteManifest ¶
https://.com/opencontainers/distribution-spec/blob/main/spec.md#deleting-tags https://.com/opencontainers/distribution-spec/blob/main/spec.md#deleting-manifests
func DetermineSupport ¶
DetermineSupport is used to test if the registry supports OCI https://.com/opencontainers/distribution-spec/blob/main/spec.md#determining-support
func EndUploadBlob ¶
https://.com/opencontainers/distribution-spec/blob/main/spec.md#pushing-a-blob-in-chunks
func GetManifest ¶
https://.com/opencontainers/distribution-spec/blob/main/spec.md#pulling-manifests
func GetUploadBlob ¶ added in v1.17.4
https://.com/opencontainers/distribution-spec/blob/main/spec.md#pushing-a-blob-in-chunks
func HeadManifest ¶
func InitiateUploadBlob ¶
https://.com/opencontainers/distribution-spec/blob/main/spec.md#mounting-a-blob-from-another-repository https://.com/opencontainers/distribution-spec/blob/main/spec.md#single-post https://.com/opencontainers/distribution-spec/blob/main/spec.md#pushing-a-blob-in-chunks
func ReqContainerAccess ¶
ReqContainerAccess is a middleware which checks the current user valid (real user or ghost if anonymous access is enabled)
func UploadBlob ¶
https://.com/opencontainers/distribution-spec/blob/main/spec.md#single-post https://.com/opencontainers/distribution-spec/blob/main/spec.md#pushing-a-blob-in-chunks
func UploadManifest ¶
https://.com/opencontainers/distribution-spec/blob/main/spec.md#pushing-manifests
func VerifyImageName ¶
VerifyImageName is a middleware which checks if the image name is allowed