diff --git a/internal/workload/anaconda.go b/internal/workload/anaconda.go deleted file mode 100644 index b4a5e50c0..000000000 --- a/internal/workload/anaconda.go +++ /dev/null @@ -1,7 +0,0 @@ -package workload - -// TODO: replace the Anaconda pipeline by the OS pipeline with the -// anaconda workload. -type Anaconda struct { - BaseWorkload -} diff --git a/internal/workload/custom.go b/internal/workload/custom.go deleted file mode 100644 index 47f5d3ee3..000000000 --- a/internal/workload/custom.go +++ /dev/null @@ -1,22 +0,0 @@ -package workload - -type Custom struct { - BaseWorkload - Packages []string - Services []string - DisabledServices []string -} - -func (p *Custom) GetPackages() []string { - return p.Packages -} - -func (p *Custom) GetServices() []string { - return p.Services -} - -// TODO: Does this belong here? What kind of workload requires -// services to be disabled? -func (p *Custom) GetDisabledServices() []string { - return p.DisabledServices -} diff --git a/internal/workload/sap.go b/internal/workload/sap.go deleted file mode 100644 index 0f066b78c..000000000 --- a/internal/workload/sap.go +++ /dev/null @@ -1,6 +0,0 @@ -package workload - -// TODO! -type SAP struct { - BaseWorkload -} diff --git a/internal/workload/static_webserver.go b/internal/workload/static_webserver.go deleted file mode 100644 index c06924050..000000000 --- a/internal/workload/static_webserver.go +++ /dev/null @@ -1,7 +0,0 @@ -package workload - -// TODO: replace the CommitServerTree pipeline by the OS pipeline with the -// StaticWebserver workload. -type StaticWebserver struct { - BaseWorkload -} diff --git a/internal/workload/workload.go b/internal/workload/workload.go deleted file mode 100644 index 24aa570f0..000000000 --- a/internal/workload/workload.go +++ /dev/null @@ -1,30 +0,0 @@ -package workload - -import "github.com/osbuild/images/pkg/rpmmd" - -type Workload interface { - GetPackages() []string - GetRepos() []rpmmd.RepoConfig - GetServices() []string - GetDisabledServices() []string -} - -type BaseWorkload struct { - Repos []rpmmd.RepoConfig -} - -func (p BaseWorkload) GetPackages() []string { - return []string{} -} - -func (p BaseWorkload) GetRepos() []rpmmd.RepoConfig { - return p.Repos -} - -func (p BaseWorkload) GetServices() []string { - return []string{} -} - -func (p BaseWorkload) GetDisabledServices() []string { - return []string{} -}