Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFound = errors.New("not found") ErrBadRequest = errors.New("bad request") )
Functions ¶
This section is empty.
Types ¶
type CompoundProxy ¶ added in v0.21.0
type CompoundProxy struct {
Proxies []LogoProxy
}
func (CompoundProxy) ServeLogo ¶ added in v0.21.0
func (p CompoundProxy) ServeLogo(w http.ResponseWriter, r *http.Request, reference oci.Reference) error
type LogoFSProxy ¶ added in v0.21.0
func (*LogoFSProxy) ServeLogo ¶ added in v0.21.0
func (p *LogoFSProxy) ServeLogo(w http.ResponseWriter, r *http.Request, reference oci.Reference) error
type LogoHTTPProxy ¶ added in v0.21.0
type LogoHTTPProxy struct { Client *httputil.Client GetURL func(context.Context, string) (string, error) }
func (*LogoHTTPProxy) ServeLogo ¶ added in v0.21.0
func (p *LogoHTTPProxy) ServeLogo(w http.ResponseWriter, r *http.Request, reference oci.Reference) error
Click to show internal directories.
Click to hide internal directories.