Documentation
¶
Index ¶
- func APIAnalytics(c *routing.Context) error
- func ActivePlugins(c *routing.Context) error
- func AddPermissionToApplicationGroupHandler(c *routing.Context) error
- func AddServiceToGroupHandler(c *routing.Context) error
- func AppGroupsMatches(c *routing.Context) error
- func ApplicationGroupAnalytics(c *routing.Context) error
- func AssociateServiceToAppGroup(c *routing.Context) error
- func AuthorizeTokenHandler(c *routing.Context) error
- func AutoDeRegisterHandler(c *routing.Context) error
- func AutoRegisterHandler(c *routing.Context) error
- func ContainsService(servicesList []service.Service, ...) bool
- func CreateAppGroup(c *routing.Context) error
- func CreateUserHandler(c *routing.Context) error
- func DeassociateServiceFromApplicationGroup(c *routing.Context) error
- func DeassociateServiceFromGroup(c *routing.Context) error
- func DeleteAppGroup(c *routing.Context) error
- func DeleteEndpointHandler(c *routing.Context) error
- func FindAppGroupForService(c *routing.Context) error
- func FindUsersHandler(c *routing.Context) error
- func GetAppGroupByID(c *routing.Context) error
- func GetAppGroups(c *routing.Context) error
- func GetEndpointHandler(c *routing.Context) error
- func GetHtml(url string) (*http.Response, string, error)
- func GetServiceDocumentationUrl(serviceIdentifier string) (string, error)
- func GetServiceGroupHandler(c *routing.Context) error
- func GetTokenHandler(c *routing.Context) error
- func GetUserHandler(c *routing.Context) error
- func GetUserPermissionsHandler(c *routing.Context) error
- func HandleServiceDocumentationJSRequest(c *routing.Context) error
- func HandleServiceDocumentationRequest(c *routing.Context) error
- func InternalServiceDiscovery() *servicediscovery.ServiceDiscovery
- func InvalidateCache(c *routing.Context) error
- func ListPluginsAvailable(c *routing.Context) error
- func ListServiceGroupsHandler(c *routing.Context) error
- func ListServicesHandler(c *routing.Context) error
- func Logs(c *routing.Context) error
- func ManageServiceHandler(c *routing.Context) error
- func ManageServiceTypesHandler(c *routing.Context) error
- func MeHandler(c *routing.Context) error
- func NormalizeServices(c *routing.Context) error
- func PermissionsServiceName() string
- func PluginsServiceName() string
- func ProfileGApiUsage(c *routing.Context) error
- func RegisterHandler(c *routing.Context) error
- func RegisterServiceGroupHandler(c *routing.Context) error
- func ReloadServices(c *routing.Context) error
- func RemovePermissionFromApplicationGroupHandler(c *routing.Context) error
- func RemoveServiceGroup(c *routing.Context) error
- func ServiceDiscovery(c *routing.Context) *servicediscovery.ServiceDiscovery
- func ServiceDiscoveryServiceName() string
- func ServiceNotFound(c *routing.Context) error
- func UngroupedApps(c *routing.Context) error
- func UpdateAppGroup(c *routing.Context) error
- func UpdateHandler(c *routing.Context) error
- func UpdateServiceGroup(c *routing.Context) error
- func UpdateUserByAdminHandler(c *routing.Context) error
- func UpdateUserHandler(c *routing.Context) error
- func UpdateUserPermissionHandler(c *routing.Context) error
- func UsersServiceName() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APIAnalytics ¶
func ActivePlugins ¶
func AddServiceToGroupHandler ¶
AddServiceToGroupHandler handle POST /service-groups
func AppGroupsMatches ¶
AppGroupsMatches handles GET /apps-groups/matches api endpoint. Finds possible matches for the group. Only available on mongo
func AssociateServiceToAppGroup ¶
AssociateServiceToAppGroup handles POST /apps-groups/<group_id>/<service_id> api endpoint
func AuthorizeTokenHandler ¶
func AutoDeRegisterHandler ¶
AutoDeRegisterHandler handles auto deregister post request
func AutoRegisterHandler ¶
AutoRegisterHandler handles auto register post request
func ContainsService ¶
func ContainsService(servicesList []service.Service, permission user_permission_models.UserPermission) bool
func CreateAppGroup ¶
CreateAppGroup handle POST /apps-groups
func CreateUserHandler ¶
CreateUserHandler handle POST /users
func DeassociateServiceFromApplicationGroup ¶
DeassociateServiceFromApplicationGroup handles DELETE /apps-groups/<group_id>/<service_id> api endpoint
func DeassociateServiceFromGroup ¶
DeassociateServiceFromGroup handle DELETE /
func DeleteAppGroup ¶
DeleteAppGroup handles DELETE /app-groups/<group_id> api endpoint
func DeleteEndpointHandler ¶
DeleteEndpointHandler handles DELETE /service/<service_id> request
func FindAppGroupForService ¶
FindAppGroupForService handles GET /apps-groups/search/<service_id> api endpoint. Finds the group for the given service id
func FindUsersHandler ¶
FindUsersHandler handle GET /users
func GetAppGroupByID ¶
GetAppGroupByID handles GET /app-groups/<group_id> api endpoint
func GetAppGroups ¶
GetAppGroups handle GET /apps-groups
func GetEndpointHandler ¶
GetEndpointHandler handles GET /endpoint request
func GetServiceGroupHandler ¶
GetServiceGroupHandler handle GET /
func GetTokenHandler ¶
func GetUserHandler ¶
GetUserHandler handle GET /user/<username>
func InternalServiceDiscovery ¶
func InternalServiceDiscovery() *servicediscovery.ServiceDiscovery
InternalServiceDiscovery return service discovery object as internal, with access to everything
func InvalidateCache ¶
func ListPluginsAvailable ¶
func ListServiceGroupsHandler ¶
ListServiceGroupsHandler handle GET /service-groups
func ListServicesHandler ¶
ListServicesHandler handles /services get request
func ManageServiceHandler ¶
ManageServiceHandler call management service
func ManageServiceTypesHandler ¶
ManageServiceTypesHandler call management service
func NormalizeServices ¶
NormalizeServices normalizes all services so theyt match the specified rules
func PermissionsServiceName ¶
func PermissionsServiceName() string
func PluginsServiceName ¶
func PluginsServiceName() string
func ProfileGApiUsage ¶
func RegisterHandler ¶
RegisterHandler handles register post request
func RegisterServiceGroupHandler ¶
RegisterServiceGroupHandler handle POST /service-groups
func ReloadServices ¶
func RemoveServiceGroup ¶
RemoveServiceGroup handle DELETE /
func ServiceDiscovery ¶
func ServiceDiscovery(c *routing.Context) *servicediscovery.ServiceDiscovery
ServiceDiscovery return service discovery object with user context, only with access to user's resources
func ServiceDiscoveryServiceName ¶
func ServiceDiscoveryServiceName() string
ServiceDiscoveryServiceName Name of group of services to use on log storage
func ServiceNotFound ¶
ServiceNotFound return Service not found response
func UngroupedApps ¶
UngroupedApps handles GET /apps-groups/ungrouped api endpoint. Gets all services that don't have an application group
func UpdateAppGroup ¶
UpdateAppGroup handles PUT /app-groups/<group_id> api endpoint
func UpdateServiceGroup ¶
UpdateServicecGroup handle PUT /
func UpdateUserByAdminHandler ¶
UpdateUserByAdminHandler handle PUT /users
func UpdateUserHandler ¶
UpdateUserHandler handle PUT /users
func UsersServiceName ¶
func UsersServiceName() string
UsersServiceName returns the name of this controller service group
Types ¶
This section is empty.