deb-bootc-image-builder/bib/cmd/bootc-image-builder/workload.go
robojerk be2b81ca6d
Some checks failed
Tests / test (1.21.x) (push) Failing after 1s
Tests / test (1.22.x) (push) Failing after 1s
Update Go code to remove Red Hat dependencies and use Debian equivalents
2025-08-11 09:39:18 -07:00

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
}