Documentation
¶
Index ¶
- Constants
- func GenerateCreateCheckRunOptions(baseURL string, sha string, option *RenderCheckRunOptions) (github.CreateCheckRunOptions, error)
- func GenerateUpdateCheckRunOptions(baseURL string, option *RenderCheckRunOptions) (github.UpdateCheckRunOptions, error)
- type App
- func (h *App) GetLogHandler(ctx *gin.Context)
- func (h *App) GetRunnerHandler(ctx context.Context) (gin.HandlerFunc, error)
- func (h *App) Handle(ctx context.Context, eventType, deliveryID string, payload []byte) error
- func (h *App) Handles() []string
- func (h *App) RefreshJobExecution(ctx context.Context, id int64) error
- type GetLogRequest
- type GetLogResponse
- type RenderCheckRunOptions
- type RenderJob
- type RenderStep
Constants ¶
View Source
const ( CloneURLEnvKey = "CI_CLONE_URL" RefEnvKey = "CI_REF" )
Variables ¶
This section is empty.
Functions ¶
func GenerateCreateCheckRunOptions ¶
func GenerateCreateCheckRunOptions(baseURL string, sha string, option *RenderCheckRunOptions) (github.CreateCheckRunOptions, error)
func GenerateUpdateCheckRunOptions ¶
func GenerateUpdateCheckRunOptions(baseURL string, option *RenderCheckRunOptions) (github.UpdateCheckRunOptions, error)
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (*App) GetLogHandler ¶
func (*App) GetRunnerHandler ¶
type GetLogRequest ¶
type GetLogResponse ¶
type RenderCheckRunOptions ¶
type RenderCheckRunOptions struct { RunnerJob *api.JobExecution RenderJob *RenderJob }
type RenderJob ¶
type RenderJob struct { UID string Name string Steps []*RenderStep }
type RenderStep ¶
type RenderStep struct {
Name string
}
Click to show internal directories.
Click to hide internal directories.