Blame internal/osbuild1/systemd_stage.go
|
Packit Service |
15f37d |
package osbuild1
|
|
Packit Service |
15f37d |
|
|
Packit Service |
15f37d |
type SystemdStageOptions struct {
|
|
Packit Service |
15f37d |
EnabledServices []string `json:"enabled_services,omitempty"`
|
|
Packit Service |
15f37d |
DisabledServices []string `json:"disabled_services,omitempty"`
|
|
Packit Service |
15f37d |
DefaultTarget string `json:"default_target,omitempty"`
|
|
Packit Service |
15f37d |
}
|
|
Packit Service |
15f37d |
|
|
Packit Service |
15f37d |
func (SystemdStageOptions) isStageOptions() {}
|
|
Packit Service |
15f37d |
|
|
Packit Service |
15f37d |
func NewSystemdStage(options *SystemdStageOptions) *Stage {
|
|
Packit Service |
15f37d |
return &Stage{
|
|
Packit Service |
15f37d |
Name: "org.osbuild.systemd",
|
|
Packit Service |
15f37d |
Options: options,
|
|
Packit Service |
15f37d |
}
|
|
Packit Service |
15f37d |
}
|