Documentation ¶
Index ¶
- Constants
- func DetectWorkflows(commit *git.Commit, triggedEvent webhook_module.HookEventType, ...) (map[string][]byte, error)
- func FormatLog(timestamp time.Time, content string) string
- func FullSteps(task *actions_model.ActionTask) []*actions_model.ActionTaskStep
- func ListWorkflows(commit *git.Commit) (git.Entries, error)
- func ParseLog(in string) (time.Time, string, error)
- func ReadLogs(ctx context.Context, inStorage bool, filename string, offset, limit int64) ([]*runnerv1.LogRow, error)
- func RemoveLogs(ctx context.Context, inStorage bool, filename string) error
- func TransferLogs(ctx context.Context, filename string) (func(), error)
- func WriteLogs(ctx context.Context, filename string, offset int64, rows []*runnerv1.LogRow) ([]int, error)
Constants ¶
View Source
const ( MaxLineSize = 64 * 1024 DBFSPrefix = "actions_log/" )
Variables ¶
This section is empty.
Functions ¶
func DetectWorkflows ¶
func DetectWorkflows(commit *git.Commit, triggedEvent webhook_module.HookEventType, payload api.Payloader) (map[string][]byte, error)
func FullSteps ¶
func FullSteps(task *actions_model.ActionTask) []*actions_model.ActionTaskStep
FullSteps returns steps with "Set up job" and "Complete job"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.