workload

package
v0.83.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Anaconda

type Anaconda struct {
	BaseWorkload
}

TODO: replace the Anaconda pipeline by the OS pipeline with the anaconda workload.

type BaseWorkload

type BaseWorkload struct {
	Repos []rpmmd.RepoConfig
}

func (BaseWorkload) GetDisabledServices

func (p BaseWorkload) GetDisabledServices() []string

func (BaseWorkload) GetPackages

func (p BaseWorkload) GetPackages() []string

func (BaseWorkload) GetRepos

func (p BaseWorkload) GetRepos() []rpmmd.RepoConfig

func (BaseWorkload) GetServices

func (p BaseWorkload) GetServices() []string

type Custom

type Custom struct {
	BaseWorkload
	Packages         []string
	Services         []string
	DisabledServices []string
}

func (*Custom) GetDisabledServices

func (p *Custom) GetDisabledServices() []string

TODO: Does this belong here? What kind of workload requires services to be disabled?

func (*Custom) GetPackages

func (p *Custom) GetPackages() []string

func (*Custom) GetServices

func (p *Custom) GetServices() []string

type SAP

type SAP struct {
	BaseWorkload
}

TODO!

type StaticWebserver

type StaticWebserver struct {
	BaseWorkload
}

TODO: replace the CommitServerTree pipeline by the OS pipeline with the StaticWebserver workload.

type Workload

type Workload interface {
	GetPackages() []string
	GetRepos() []rpmmd.RepoConfig
	GetServices() []string
	GetDisabledServices() []string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL