workload

package
v0.169.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2025 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 BaseWorkload

type BaseWorkload struct {
	Repos []rpmmd.RepoConfig
}

func (BaseWorkload) GetDisabledServices

func (p BaseWorkload) GetDisabledServices() []string

func (BaseWorkload) GetEnabledModules added in v0.40.2

func (p BaseWorkload) GetEnabledModules() []string

func (BaseWorkload) GetMaskedServices added in v0.40.2

func (p BaseWorkload) GetMaskedServices() []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
	EnabledModules   []string
	Services         []string
	DisabledServices []string
	MaskedServices   []string
}

func (*Custom) GetDisabledServices

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

TODO: Do these belong here? What kind of workload requires services to be disabled or masked?

func (*Custom) GetEnabledModules added in v0.40.2

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

func (*Custom) GetMaskedServices added in v0.40.2

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

func (*Custom) GetPackages

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

func (*Custom) GetServices

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

type Workload

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

Jump to

Keyboard shortcuts

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