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 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 EndUploadBlob ¶
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 GetTagList ¶
https://github.com/opencontainers/distribution-spec/blob/main/spec.md#content-discovery
func GetUploadBlob ¶
func HeadManifest ¶
func InitiateUploadBlob ¶
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 ReqContainerAccess ¶
ReqContainerAccess is a middleware which checks the current user valid (real user or ghost if anonymous access is enabled)
func UploadBlob ¶
https://github.com/opencontainers/distribution-spec/blob/main/spec.md#pushing-a-blob-in-chunks
func UploadManifest ¶
https://github.com/opencontainers/distribution-spec/blob/main/spec.md#pushing-manifests
func VerifyImageName ¶
VerifyImageName is a middleware which checks if the image name is allowed