Documentation ¶
Overview ¶
+gengo:operator:register=R +gengo:operator:tag=blob
Package blob GENERATED BY gengo:operator DON'T EDIT THIS FILE
Package blob GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var R = courier.NewRouter()
Functions ¶
This section is empty.
Types ¶
type StatBlob ¶
type StatBlob struct { courierhttp.MethodGet `path:"/blobs/:digest/stat"` Digest string `in:"path" name:"digest"` }
查询 blob 状态
func (*StatBlob) ResponseContent ¶
func (*StatBlob) ResponseErrors ¶
type UploadBlob ¶
type UploadBlob struct { courierhttp.MethodPut `path:"/blobs"` ContentType string `in:"header" name:"Content-Type"` Blob io.ReadCloser `in:"body" mime:"octet-stream"` }
上传 blob
func (*UploadBlob) ResponseContent ¶
func (*UploadBlob) ResponseContent() any
func (*UploadBlob) ResponseErrors ¶
func (*UploadBlob) ResponseErrors() []error
func (UploadBlob) RuntimeDoc ¶
func (v UploadBlob) RuntimeDoc(names ...string) ([]string, bool)
Click to show internal directories.
Click to hide internal directories.