Documentation
¶
Index ¶
- func Fail(c *gin.Context, status int, code, message string, retryable bool)
- func IdentityFailure(c *gin.Context, err error)
- func SessionFromContext(c *gin.Context) (auth.Session, bool)
- type Server
- func (s *Server) IdentitySession() gin.HandlerFunc
- func (s *Server) RegisterAgentAuth(service *agent.AuthService)
- func (s *Server) RegisterAgentQualification(qualifications *agent.QualificationService, ...)
- func (s *Server) RegisterAlerts(service *alerts.Service)
- func (s *Server) RegisterAutopilot(service *autopilot.Service)
- func (s *Server) RegisterBudget(service *budget.Service)
- func (s *Server) RegisterBuiltinRunner(service *runner.Service, secret string)
- func (s *Server) RegisterCampaigns(service *campaign.Service)
- func (s *Server) RegisterConnections(service *connections.Service)
- func (s *Server) RegisterCustomDispatch(dispatcher *customcmd.Dispatcher)
- func (s *Server) RegisterCustomProfiles(service *customcmd.Service)
- func (s *Server) RegisterDeployment(service *deployment.Service)
- func (s *Server) RegisterDiscovery(service *discovery.Service)
- func (s *Server) RegisterGitHubApp(service *githubapp.Service)
- func (s *Server) RegisterGitOps(service *gitops.Service)
- func (s *Server) RegisterIdentity(service *auth.Service)
- func (s *Server) RegisterInsights(service *insights.Service)
- func (s *Server) RegisterInventory(service *inventory.Service)
- func (s *Server) RegisterMerge(service *mergecontrol.Service)
- func (s *Server) RegisterModelBroker(service *modelbroker.Service)
- func (s *Server) RegisterOrgInvitations(service *auth.Service)
- func (s *Server) RegisterOrgOIDC()
- func (s *Server) RegisterPolicy(service *policy.Service)
- func (s *Server) RegisterPrivateConnector(connector *privateconnector.Connector)
- func (s *Server) RegisterRepair(service *repair.Service)
- func (s *Server) RegisterRunner(service *runner.Service)
- func (s *Server) RegisterSetup(service *insights.Service, resolve insights.PolicyResolver, ...)
- func (s *Server) RegisterWorkflow(service *workflow.Service)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IdentityFailure ¶
Types ¶
type Server ¶
type Server struct {
Config config.Config
Store *store.Store
Router *gin.Engine
Auth *auth.Service
}
func (*Server) IdentitySession ¶
func (s *Server) IdentitySession() gin.HandlerFunc
func (*Server) RegisterAgentAuth ¶
func (s *Server) RegisterAgentAuth(service *agent.AuthService)
func (*Server) RegisterAgentQualification ¶
func (s *Server) RegisterAgentQualification(qualifications *agent.QualificationService, connectionsService *connections.Service)
func (*Server) RegisterAlerts ¶
func (*Server) RegisterAutopilot ¶
func (*Server) RegisterBudget ¶
func (*Server) RegisterBuiltinRunner ¶
func (*Server) RegisterCampaigns ¶
func (*Server) RegisterConnections ¶
func (s *Server) RegisterConnections(service *connections.Service)
func (*Server) RegisterCustomDispatch ¶
func (s *Server) RegisterCustomDispatch(dispatcher *customcmd.Dispatcher)
func (*Server) RegisterCustomProfiles ¶
func (*Server) RegisterDeployment ¶
func (s *Server) RegisterDeployment(service *deployment.Service)
func (*Server) RegisterDiscovery ¶
func (*Server) RegisterGitHubApp ¶
func (*Server) RegisterGitOps ¶
func (*Server) RegisterIdentity ¶
func (*Server) RegisterInsights ¶
func (*Server) RegisterInventory ¶
func (*Server) RegisterMerge ¶
func (s *Server) RegisterMerge(service *mergecontrol.Service)
func (*Server) RegisterModelBroker ¶
func (s *Server) RegisterModelBroker(service *modelbroker.Service)
func (*Server) RegisterOrgInvitations ¶
func (*Server) RegisterOrgOIDC ¶
func (s *Server) RegisterOrgOIDC()
func (*Server) RegisterPolicy ¶
func (*Server) RegisterPrivateConnector ¶
func (s *Server) RegisterPrivateConnector(connector *privateconnector.Connector)
func (*Server) RegisterRepair ¶
func (*Server) RegisterRunner ¶
func (*Server) RegisterSetup ¶
func (*Server) RegisterWorkflow ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.