Documentation
¶
Index ¶
Constants ¶
This section is empty.
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
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
Click to show internal directories.
Click to hide internal directories.