Documentation ¶
Index ¶
- type ActivityHandlers
- func (h *ActivityHandlers) GroupActivity(w http.ResponseWriter, req *http.Request)
- func (h *ActivityHandlers) ListGroups(w http.ResponseWriter, req *http.Request)
- func (h *ActivityHandlers) ListOrganizations(w http.ResponseWriter, req *http.Request)
- func (h *ActivityHandlers) ResetGroup(w http.ResponseWriter, req *http.Request)
- type ActivityResponse
- type GroupList
- type HealthData
- type HealthHandlers
- type OrgList
- type ProvisionHandlers
- func (h *ProvisionHandlers) CreateOrg(w http.ResponseWriter, req *http.Request)
- func (h *ProvisionHandlers) CreateUser(w http.ResponseWriter, req *http.Request)
- func (h *ProvisionHandlers) DeleteOrg(w http.ResponseWriter, req *http.Request)
- func (h *ProvisionHandlers) UpdateOrg(w http.ResponseWriter, req *http.Request)
- type ResetGroupRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityHandlers ¶
type ActivityHandlers struct { ContextExtractor middleware.UserContextExtractor // contains filtered or unexported fields }
func NewActivityHandlers ¶
func NewActivityHandlers(orgClient am.OrganizationService, scanGroupClient am.ScanGroupService, coordinatorClient am.CoordinatorService, systemContext am.UserContext) *ActivityHandlers
func (*ActivityHandlers) GroupActivity ¶
func (h *ActivityHandlers) GroupActivity(w http.ResponseWriter, req *http.Request)
func (*ActivityHandlers) ListGroups ¶
func (h *ActivityHandlers) ListGroups(w http.ResponseWriter, req *http.Request)
func (*ActivityHandlers) ListOrganizations ¶
func (h *ActivityHandlers) ListOrganizations(w http.ResponseWriter, req *http.Request)
func (*ActivityHandlers) ResetGroup ¶
func (h *ActivityHandlers) ResetGroup(w http.ResponseWriter, req *http.Request)
type ActivityResponse ¶
type ActivityResponse struct { Groups []*am.ScanGroup `json:"groups"` Stats map[int]*am.GroupStats `json:"group_stats"` }
type HealthData ¶
type HealthData struct { Status string `json:"status"` Services map[string]*health.ServiceHealth `json:"service_health"` }
type HealthHandlers ¶
type HealthHandlers struct { ContextExtractor middleware.UserContextExtractor // contains filtered or unexported fields }
func NewHealthHandlers ¶
func NewHealthHandlers() *HealthHandlers
func (*HealthHandlers) CheckHealth ¶
func (h *HealthHandlers) CheckHealth(w http.ResponseWriter, req *http.Request)
type OrgList ¶
type OrgList struct { Orgs []*am.Organization `json:"orgs"` Status string `json:"status"` }
type ProvisionHandlers ¶
type ProvisionHandlers struct { ContextExtractor middleware.UserContextExtractor // contains filtered or unexported fields }
func NewProvisionHandlers ¶
func NewProvisionHandlers(orgClient am.OrganizationService, provisioner provision.OrgProvisioner, roles map[string]string) *ProvisionHandlers
func (*ProvisionHandlers) CreateOrg ¶
func (h *ProvisionHandlers) CreateOrg(w http.ResponseWriter, req *http.Request)
func (*ProvisionHandlers) CreateUser ¶
func (h *ProvisionHandlers) CreateUser(w http.ResponseWriter, req *http.Request)
func (*ProvisionHandlers) DeleteOrg ¶
func (h *ProvisionHandlers) DeleteOrg(w http.ResponseWriter, req *http.Request)
func (*ProvisionHandlers) UpdateOrg ¶
func (h *ProvisionHandlers) UpdateOrg(w http.ResponseWriter, req *http.Request)
type ResetGroupRequest ¶
Click to show internal directories.
Click to hide internal directories.