Documentation
¶
Index ¶
- func Authenticate(ctx *context.Context)
- func AuthenticateNotImplemented(ctx *context.Context)
- func DeleteBlob(ctx *context.Context)
- func DeleteBlobsUpload(ctx *context.Context)
- func DeleteManifest(ctx *context.Context)
- func DetermineSupport(ctx *context.Context)
- func GetBlob(ctx *context.Context)
- func GetBlobsUpload(ctx *context.Context)
- func GetManifest(ctx *context.Context)
- func GetRepositoryList(ctx *context.Context)
- func GetTagsList(ctx *context.Context)
- func HeadBlob(ctx *context.Context)
- func HeadManifest(ctx *context.Context)
- func PatchBlobsUpload(ctx *context.Context)
- func PostBlobsUploads(ctx *context.Context)
- func PutBlobsUpload(ctx *context.Context)
- func PutManifest(ctx *context.Context)
- func ReqContainerAccess(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
https://distribution.github.io/distribution/spec/auth/oauth/
func DeleteBlob ¶
https://github.com/opencontainers/distribution-spec/blob/main/spec.md#deleting-blobs
func DeleteManifest ¶
https://github.com/opencontainers/distribution-spec/blob/main/spec.md#deleting-tags https://github.com/opencontainers/distribution-spec/blob/main/spec.md#deleting-manifests
func DetermineSupport ¶
DetermineSupport is used to test if the registry supports OCI https://github.com/opencontainers/distribution-spec/blob/main/spec.md#determining-support
func GetBlobsUpload ¶
https://github.com/opencontainers/distribution-spec/blob/main/spec.md#pushing-a-blob-in-chunks
func GetManifest ¶
https://github.com/opencontainers/distribution-spec/blob/main/spec.md#pulling-manifests
func GetTagsList ¶
https://github.com/opencontainers/distribution-spec/blob/main/spec.md#content-discovery
func HeadManifest ¶
func PatchBlobsUpload ¶
https://github.com/opencontainers/distribution-spec/blob/main/spec.md#single-post https://github.com/opencontainers/distribution-spec/blob/main/spec.md#pushing-a-blob-in-chunks
func PostBlobsUploads ¶
https://github.com/opencontainers/distribution-spec/blob/main/spec.md#mounting-a-blob-from-another-repository https://github.com/opencontainers/distribution-spec/blob/main/spec.md#single-post https://github.com/opencontainers/distribution-spec/blob/main/spec.md#pushing-a-blob-in-chunks
func PutBlobsUpload ¶
https://github.com/opencontainers/distribution-spec/blob/main/spec.md#pushing-a-blob-in-chunks
func PutManifest ¶
https://github.com/opencontainers/distribution-spec/blob/main/spec.md#pushing-manifests
func ReqContainerAccess ¶
ReqContainerAccess is a middleware which checks the current user valid (real user or ghost if anonymous access is enabled)
func VerifyImageName ¶
VerifyImageName is a middleware which checks if the image name is allowed