Documentation ¶
Overview ¶
+gengo:operator:tag=store +gengo:operator:register=R
Package store GENERATED BY gengo:operator DON'T EDIT THIS FILE
Package store GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var R = courierhttp.GroupRouter("/store")
Functions ¶
This section is empty.
Types ¶
type GetStoreBlob ¶
type GetStoreBlob struct { courierhttp.MethodGet `path:"/{scope...}/blobs/{digest}"` Scope string `name:"scope" in:"path"` Digest string `name:"digest" in:"path"` }
获取 blob
func (*GetStoreBlob) ResponseContent ¶
func (*GetStoreBlob) ResponseContent() any
func (*GetStoreBlob) ResponseData ¶
func (*GetStoreBlob) ResponseData() *string
func (GetStoreBlob) RuntimeDoc ¶
func (v GetStoreBlob) RuntimeDoc(names ...string) ([]string, bool)
type UploadStoreBlob ¶
type UploadStoreBlob struct { courierhttp.MethodPost `path:"/{scope...}/blobs/uploads"` Scope string `name:"scope" in:"path"` Blob io.ReadCloser `in:"body" mime:"octet-stream"` }
上传 blob
func (*UploadStoreBlob) Output ¶
func (req *UploadStoreBlob) Output(ctx context.Context) (any, error)
func (*UploadStoreBlob) ResponseContent ¶
func (*UploadStoreBlob) ResponseContent() any
func (*UploadStoreBlob) ResponseData ¶
func (*UploadStoreBlob) ResponseData() *courier.NoContent
func (UploadStoreBlob) RuntimeDoc ¶
func (v UploadStoreBlob) RuntimeDoc(names ...string) ([]string, bool)
Click to show internal directories.
Click to hide internal directories.