Documentation
¶
Index ¶
- Constants
- func HEXIFY(cert *x509.Certificate, b []byte) string
- func Join(errs ...error) error
- func MultiWriter(writers ...io.WriteCloser) io.WriteCloser
- func New(args []string, opts ...Option) http.Handler
- type BlobSeeker
- type Cache
- type CosignTag
- type HandleFuncE
- type HeaderData
- type Landing
- type OauthData
- type Option
- type RepoParent
- type TitleData
Constants ¶
View Source
const (
CosignMediaType = `application/vnd.dev.cosign.simplesigning.v1+json`
)
Variables ¶
This section is empty.
Functions ¶
func MultiWriter ¶
func MultiWriter(writers ...io.WriteCloser) io.WriteCloser
Types ¶
type BlobSeeker ¶
type BlobSeeker struct {
Body io.ReadCloser
Status int
Url string
// contains filtered or unexported fields
}
func (*BlobSeeker) Close ¶
func (b *BlobSeeker) Close() error
func (*BlobSeeker) Reader ¶
func (b *BlobSeeker) Reader(ctx context.Context, off int64, end int64) (io.ReadCloser, error)
func (*BlobSeeker) Size ¶
func (b *BlobSeeker) Size() int64
type HandleFuncE ¶
type HandleFuncE func(http.ResponseWriter, *http.Request) error
type HeaderData ¶
type HeaderData struct {
ShowSearch bool
Expanded bool
Full bool
Search string
Depend string
Provide string
Repo string
CosignTags []CosignTag
Message string
JQ string
PAXRecords map[string]string
Reference string
Up *RepoParent
Descriptor *v1.Descriptor
Handler string
EscapedMediaType string
MediaTypeLink string
SizeLink string
Referrers bool
Subject string
}
type RepoParent ¶
Click to show internal directories.
Click to hide internal directories.