Versions in this module Expand all Collapse all v0 v0.6.0 Jun 13, 2024 Changes in this version + func IndexHandler(w http.ResponseWriter, r *http.Request) + func LoadHandlers(orchestratorUrl string, client Client) func(router *mux.Router) + type Application struct + Description string + ID string + IntegrationId string + Name string + ObjectId string + ProviderName string + Service string + type ApplicationsHandler interface + Edit func(w http.ResponseWriter, r *http.Request) + List func(w http.ResponseWriter, r *http.Request) + Policies func(w http.ResponseWriter, r *http.Request) + Show func(w http.ResponseWriter, r *http.Request) + Update func(w http.ResponseWriter, r *http.Request) + func NewApplicationsHandler(orchestratorUrl string, client Client) ApplicationsHandler + type Check struct + Name string + Pass string + type Client interface + Application func(id string) (Application, error) + Applications func(refresh bool) ([]Application, error) + CreateIntegration func(name string, provider string, key []byte) error + DeleteIntegration func(id string) error + GetHttpClient func() HTTPClient + GetPolicies func(id string) ([]hexapolicy.PolicyInfo, string, error) + Health func() (string, error) + Integrations func() ([]Integration, error) + Orchestration func(from string, to string) error + SetPolicies func(id string, policies string) error + func NewOrchestratorClient(client HTTPClient, url string) Client + type HTTPClient interface + Do func(req *http.Request) (*http.Response, error) + Get func(url string) (resp *http.Response, err error) + type Integration struct + ID string + Key []byte + Name string + Provider string + type IntegrationHandler interface + CreateIntegration func(w http.ResponseWriter, r *http.Request) + Delete func(w http.ResponseWriter, r *http.Request) + List func(w http.ResponseWriter, r *http.Request) + New func(w http.ResponseWriter, r *http.Request) + func NewIntegrationsHandler(orchestratorUrl string, client Client) IntegrationHandler + type IntegrationProviderInterface interface + type OrchestrationHandler interface + New func(w http.ResponseWriter, r *http.Request) + Update func(w http.ResponseWriter, r *http.Request) + func NewOrchestrationHandler(orchestratorUrl string, client Client) OrchestrationHandler + type Status struct + Checks []Check + URL string + type StatusHandler struct + func NewStatusHandler(orchestratorUrl string, client Client) StatusHandler + func (p StatusHandler) StatusHandler(w http.ResponseWriter, _ *http.Request)