Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextDataSupplier ¶
type ContextDataSupplier interface { RestConfig() *rest.Config RawConfig() *api.Config Client() client.PackageV1Alpha1Client K8sClient() *kubernetes.Clientset RepoClient() repoclient.RepoClientset }
type ContextEnrichingHandler ¶
type ContextEnrichingHandler struct { Source ContextDataSupplier Handler http.Handler }
func (*ContextEnrichingHandler) ServeHTTP ¶
func (enricher *ContextEnrichingHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type Precondition ¶
type PreconditionFailedHandleFunc ¶
type PreconditionFailedHandleFunc func(w http.ResponseWriter, r *http.Request, err error)
type PreconditionHandler ¶
type PreconditionHandler struct { Precondition Precondition Handler http.Handler FailedHandler PreconditionFailedHandleFunc }
func (*PreconditionHandler) ServeHTTP ¶
func (ph *PreconditionHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.