Documentation
¶
Index ¶
- func IndexHandler(w http.ResponseWriter, r *http.Request)
- func LoadHandlers(orchestratorUrl string, client Client) func(router *mux.Router)
- func NewApplicationsHandler(orchestratorUrl string, client Client) applicationsHandler
- func NewIntegrationsHandler(orchestratorUrl string, client Client) integrationsHandler
- func NewStatusHandler(orchestratorUrl string, client Client) statusHandler
- type Application
- type Client
- type HTTPClient
- type Integration
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IndexHandler ¶
func IndexHandler(w http.ResponseWriter, r *http.Request)
func LoadHandlers ¶
func NewApplicationsHandler ¶
func NewIntegrationsHandler ¶
func NewStatusHandler ¶
Types ¶
type Application ¶
type Client ¶
type Client interface { Health(url string) (string, error) Applications(url string) ([]Application, error) Application(url string) (Application, error) Integrations(url string) ([]Integration, error) CreateIntegration(url string, provider string, key []byte) error DeleteIntegration(url string) error }
func NewOrchestratorClient ¶
func NewOrchestratorClient(client HTTPClient, key string) Client
type HTTPClient ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.