mirror of
https://github.com/drone/drone-cli.git
synced 2024-11-23 09:21:56 +01:00
some refactoring
This commit is contained in:
parent
8e44a09416
commit
4923cbe95b
17
common/step.go
Normal file
17
common/step.go
Normal file
@ -0,0 +1,17 @@
|
||||
package common
|
||||
|
||||
// A step represents a step in the build process, including
|
||||
// the execution environment and parameters.
|
||||
type Step struct {
|
||||
Name string
|
||||
Image string
|
||||
Environment []string
|
||||
Volumes []string
|
||||
Hostname string
|
||||
Privileged bool
|
||||
Net string
|
||||
|
||||
// Config represents the unique configuration details
|
||||
// for each plugin.
|
||||
Config map[string]interface{} `yaml:"config,inline"`
|
||||
}
|
Loading…
Reference in New Issue
Block a user