Documentation ¶
Index ¶
- func GetWorkflowAttempt(ctx context.Context, conf config.ConfigType, attempt int64) (*github.WorkflowRun, error)
- func GetWorkflowAttemptJobs(ctx context.Context, conf config.ConfigType, attempt int64) ([]*github.WorkflowJob, github.Rate, error)
- func GetWorkflowStat(ctx context.Context, conf config.ConfigType) (*data.WorkflowRunRec, error)
- func InitGhClient(conf *config.ConfigType)
- func ListWorkflowRuns(ctx context.Context, conf config.ConfigType, start time.Time, end time.Time) (map[WorkflowRunAttemptKey]*github.WorkflowRun, github.Rate, error)
- type WorkflowRunAttemptKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetWorkflowAttempt ¶
func GetWorkflowAttempt(ctx context.Context, conf config.ConfigType, attempt int64) (*github.WorkflowRun, error)
func GetWorkflowAttemptJobs ¶
func GetWorkflowAttemptJobs(ctx context.Context, conf config.ConfigType, attempt int64) ([]*github.WorkflowJob, github.Rate, error)
func GetWorkflowStat ¶
func GetWorkflowStat(ctx context.Context, conf config.ConfigType) (*data.WorkflowRunRec, error)
func InitGhClient ¶
func InitGhClient(conf *config.ConfigType)
func ListWorkflowRuns ¶
func ListWorkflowRuns(ctx context.Context, conf config.ConfigType, start time.Time, end time.Time) (map[WorkflowRunAttemptKey]*github.WorkflowRun, github.Rate, error)
Types ¶
type WorkflowRunAttemptKey ¶
Click to show internal directories.
Click to hide internal directories.