24 lines
529 B
Go
24 lines
529 B
Go
package main
|
|
|
|
import "github.com/particle-os/debian-bootc-image-builder/bib/internal/debian-patch"
|
|
|
|
// NullWorkload implements the images Workload interface but returns only nil
|
|
// from all its methods and holds no data.
|
|
type NullWorkload struct {
|
|
}
|
|
|
|
func (p *NullWorkload) GetRepos() []debianpatch.DebianRepoConfig {
|
|
return nil
|
|
}
|
|
|
|
func (p *NullWorkload) GetPackages() []string {
|
|
return nil
|
|
}
|
|
|
|
func (p *NullWorkload) GetServices() []string {
|
|
return nil
|
|
}
|
|
|
|
func (p *NullWorkload) GetDisabledServices() []string {
|
|
return nil
|
|
}
|