api

package
v0.0.0-...-c6b7d3a Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ManifestRegex = regexp.MustCompile(`^/cso/v1/repository/([^/]+/){2,}manifest/([^/]+)/security$`)

Functions

This section is empty.

Types

type Capabilities

type Capabilities struct {
	// contains filtered or unexported fields
}

func NewCapabilities

func NewCapabilities(dst adapter.Adapter) *Capabilities

func (*Capabilities) ServeHTTP

func (c *Capabilities) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Middleware

type Middleware struct {
	// contains filtered or unexported fields
}

func NewMiddleware

func NewMiddleware(dst adapter.Adapter) *Middleware

func (*Middleware) ServeHTTP

func (m *Middleware) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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