Logo
Explore Help
Register Sign In
actions/act
2
0
Fork 0
You've already forked act
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
409446211fe99420d5d3761b04f491f8ef52412d
act/pkg/model/job_context.go

13 lines
256 B
Go
Raw Normal View History

refactor: export and move shared contexts into pkg/model (#931) This commit moves the githubContext, jobContext and stepResult structs from the runner package to the model package in preparation for #908 because the expression.go file lives in the runner package and would introduce cyclic dependencies with the exprparser package. Co-authored-by: Markus Wolf <markus.wolf@new-work.se> Co-authored-by: Markus Wolf <markus.wolf@new-work.se> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-12-22 20:52:09 +01:00
package model
type JobContext struct {
Status string `json:"status"`
Container struct {
ID string `json:"id"`
Network string `json:"network"`
} `json:"container"`
Services map[string]struct {
ID string `json:"id"`
} `json:"services"`
}
Reference in New Issue Copy Permalink
Powered by DevStar Version: 4f60c15 Page: 20ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API ©Mengning Software . 2024-2025 All rights reserved. 苏ICP备2024068144号-3