Documentation
¶
Index ¶
- func ProjectDriftStateMachineApply(project models.Project, tfplan string, resourcesCreated uint, ...) error
- type DriftForOrgRequest
- type MainController
- func (mc MainController) Ping(c *gin.Context)
- func (mc MainController) ProcessAllDrift(c *gin.Context)
- func (mc MainController) ProcessAllNotifications(c *gin.Context)
- func (mc MainController) ProcessDriftForOrg(c *gin.Context)
- func (mc MainController) SendRealSlackNotificationForOrg(c *gin.Context)
- func (mc MainController) SendTestSlackNotificationForUrl(c *gin.Context)
- func (mc MainController) SetJobStatusForProject(c *gin.Context)
- func (mc MainController) TriggerDriftRunForProject(c *gin.Context)
- type RealSlackNotificationForOrgRequest
- type SetJobStatusRequest
- type TestSlackNotificationForUrl
- type TriggerDriftRunRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DriftForOrgRequest ¶
type DriftForOrgRequest struct {
OrgId uint `json:"org_id"`
}
type MainController ¶
type MainController struct {
GithubClientProvider utils.GithubClientProvider
CiBackendProvider ci_backends.CiBackendProvider
}
func (MainController) Ping ¶
func (mc MainController) Ping(c *gin.Context)
func (MainController) ProcessAllDrift ¶
func (mc MainController) ProcessAllDrift(c *gin.Context)
func (MainController) ProcessAllNotifications ¶
func (mc MainController) ProcessAllNotifications(c *gin.Context)
func (MainController) ProcessDriftForOrg ¶
func (mc MainController) ProcessDriftForOrg(c *gin.Context)
func (MainController) SendRealSlackNotificationForOrg ¶
func (mc MainController) SendRealSlackNotificationForOrg(c *gin.Context)
func (MainController) SendTestSlackNotificationForUrl ¶
func (mc MainController) SendTestSlackNotificationForUrl(c *gin.Context)
func (MainController) SetJobStatusForProject ¶
func (mc MainController) SetJobStatusForProject(c *gin.Context)
func (MainController) TriggerDriftRunForProject ¶
func (mc MainController) TriggerDriftRunForProject(c *gin.Context)
type RealSlackNotificationForOrgRequest ¶
type RealSlackNotificationForOrgRequest struct {
OrgId uint `json:"org_id"`
}
type SetJobStatusRequest ¶
type SetJobStatusRequest struct {
Status string `json:"status"`
Timestamp time.Time `json:"timestamp"`
JobSummary *iac_utils.IacSummary `json:"job_summary"`
Footprint *iac_utils.IacPlanFootprint `json:"job_plan_footprint"`
PrCommentUrl string `json:"pr_comment_url"`
TerraformOutput string `json:"terraform_output"`
}
type TestSlackNotificationForUrl ¶
type TestSlackNotificationForUrl struct {
SlackNotificationUrl string `json:"notification_url"`
}
type TriggerDriftRunRequest ¶
type TriggerDriftRunRequest struct {
ProjectId uint `json:"project_id"`
}
Click to show internal directories.
Click to hide internal directories.