Documentation ¶
Index ¶
- func GithubSSOToken(c *gin.Context)
- func ParamsAvailableForPipeline(c *gin.Context)
- func ParseResponse(response *http.Response) (map[string]interface{}, error)
- func PipelineForBuildType(c *gin.Context)
- func PipelineTrigger(c *gin.Context)
- func PipelinesShow(c *gin.Context)
- func RequestResult(c *gin.Context)
- func RequestRotation(c *gin.Context)
- type ParamsAvailableForPipelineStruct
- type PipelineForBuildTypeStruct
- type PipelineTriggerStruct
- type PipelinesListShowRequest
- type RequestResultRequestStruct
- type RequestRotationRequestStruct
- type TestGithubSSO
- type TibuildInfo
- type TriggerRes
- type WhiteList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GithubSSOToken ¶
func PipelineForBuildType ¶
func PipelineTrigger ¶
func PipelinesShow ¶
func RequestResult ¶
func RequestRotation ¶
Types ¶
type ParamsAvailableForPipelineStruct ¶
type ParamsAvailableForPipelineStruct struct {
PipelineId int `form:"pipeline_id"`
}
type PipelineForBuildTypeStruct ¶
type PipelineForBuildTypeStruct struct {
BuildType string `form:"build_type"`
}
type PipelineTriggerStruct ¶
type PipelineTriggerStruct struct { Arch string `form:"arch" json:"arch" validate:"required"` ArtifactType string `form:"artifact_type" json:"artifact_type" validate:"required"` Branch string `form:"branch" json:"branch" validate:"required"` Component string `form:"component" json:"component" validate:"required"` PipelineId int `form:"pipeline_id" json:"pipeline_id" validate:"required,numeric"` Version string `form:"version" json:"version" validate:"required,startswith=v"` TriggeredBy string `form:"triggered_by" json:"triggered_by" validate:"required"` PushGCR string `form:"push_gcr" json:"push_gcr" validate:"required"` }
type RequestResultRequestStruct ¶
type RequestResultRequestStruct struct {
PipelineBuildId int `form:"pipeline_build_id"`
}
type RequestRotationRequestStruct ¶
type RequestRotationRequestStruct struct {
PipelineBuildId int `form:"pipeline_build_id"`
}
type TestGithubSSO ¶
type TestGithubSSO struct { ClientId string `json:"client_id" form:"client_id" uri:"client_id"` ClientSecret string `json:"client_secret" form:"client_secret" uri:"client_secret"` Code string `json:"code" form:"code" uri:"code"` RedirectUri string `json:"redirect_uri" form:"redirect_uri" uri:"redirect_uri"` }
type TibuildInfo ¶
type TibuildInfo struct { PipelineId int `form:"pipeline_id"` BuildType string `form:"build_type"` TabName string `form:"tab_name"` Component string `form:"component"` Branch string `form:"branch"` Version string `form:"version"` Arch string `form:"arch"` PushGCR string `form:"push_gcr"` ArtifactType string `form:"artifact_type"` Pipeline string `form:"pipeline"` ArtifactMeta string `form:"artifact_meta"` }
func (TibuildInfo) TableName ¶
func (TibuildInfo) TableName() string
type TriggerRes ¶
type TriggerRes struct {
PipelineBuildId int `json:"pipeline_build_id" form:"pipeline_build_id" uri:"pipeline_build_id"`
}
Click to show internal directories.
Click to hide internal directories.