handler

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReferenceToURL added in v0.0.7

func ReferenceToURL(ref name.Reference) string

func WithCache added in v0.0.8

func WithCache(cache string) option

func WithClientset added in v0.0.8

func WithClientset(clientset *versioned.Clientset) option

func WithImageConfig added in v0.0.8

func WithImageConfig(imageConfig []*v1alpha1.Image) option

func WithRegistryConfig added in v0.0.8

func WithRegistryConfig(registryConfig []*v1alpha1.Registry) option

func WithStorageRegistry added in v0.0.9

func WithStorageRegistry(storageRegistry string) option

Types

type Handler

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

func NewHandler

func NewHandler(opts ...option) (*Handler, error)

func (*Handler) ServeHTTP

func (h *Handler) 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