blob

package
v0.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 11 Imported by: 0

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

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) Output

func (req *StatBlob) Output(ctx context.Context) (any, error)

func (*StatBlob) ResponseContent

func (*StatBlob) ResponseContent() any

func (*StatBlob) ResponseErrors

func (*StatBlob) ResponseErrors() []error

func (StatBlob) RuntimeDoc

func (v StatBlob) RuntimeDoc(names ...string) ([]string, bool)

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) Output

func (req *UploadBlob) Output(ctx context.Context) (any, error)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL