deb-bootc-image-builder/bib/cmd/bootc-image-builder/workload.go
robojerk 18e96a1c4b
Some checks failed
Tests / test (1.21.x) (push) Failing after 1s
Tests / test (1.22.x) (push) Failing after 1s
Fix compilation issues and update tests for Debian compatibility
2025-08-11 10:11:05 -07:00

24 lines
477 B
Go

package main
import "github.com/osbuild/images/pkg/rpmmd"
// 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() []rpmmd.RepoConfig {
return nil
}
func (p *NullWorkload) GetPackages() []string {
return nil
}
func (p *NullWorkload) GetServices() []string {
return nil
}
func (p *NullWorkload) GetDisabledServices() []string {
return nil
}