Documentation ¶
Index ¶
Constants ¶
View Source
const (
EnvPrivateRegistry = "PRIVATE_REGISTRY"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIResponse ¶
type APIResponse struct {
Status string `json:"status"`
}
type DebugHandler ¶
type DebugHandler struct{}
DebugHandler expose debug routes
func (DebugHandler) AddRoutes ¶
func (g DebugHandler) AddRoutes(router *mux.Router)
AddRoutes add debug routes on a router
type Opts ¶
type Opts struct { Port int // available providers Providers provider.Providers ApprovalManager approvals.Manager Authenticator auth.Authenticator GRC *k8s.GenericResourceCache KubernetesClient kubernetes.Implementer Store store.Store UIDir string AuthenticatedWebhooks bool }
Opts - http server options
type TriggerServer ¶
type TriggerServer struct {
// contains filtered or unexported fields
}
TriggerServer - webhook trigger & healthcheck server
func NewTriggerServer ¶
func NewTriggerServer(opts *Opts) *TriggerServer
NewTriggerServer - create new HTTP trigger based server
Source Files ¶
- approvals_endpoint.go
- audit_endpoint.go
- auth.go
- azure_webhook_trigger.go
- debug.go
- dockerhub_webhook_trigger.go
- github_webhook_trigger.go
- harbor_webhook_trigger.go
- http.go
- jfrog_webhook_trigger.go
- native_webhook_trigger.go
- policy_endpoint.go
- quay_webhook_trigger.go
- registry_notifications.go
- resources_endpoint.go
- stats_endpoint.go
- tracked_endpoint.go
Click to show internal directories.
Click to hide internal directories.