Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostAZExtractor ¶
type HostAZExtractor struct {
// Common base for all extractors that provides standard functionality.
plugins.BaseExtractor[
struct{},
shared.HostAZ,
]
}
func (*HostAZExtractor) Extract ¶
func (e *HostAZExtractor) Extract() ([]plugins.Feature, error)
Extract the traits of a compute host from the database.
func (*HostAZExtractor) GetName ¶
func (*HostAZExtractor) GetName() string
Name of this feature extractor that is used in the yaml config, for logging etc.
func (HostAZExtractor) Triggers ¶
func (HostAZExtractor) Triggers() []string
Get message topics that trigger a re-execution of this extractor.
type HostCapabilitiesExtractor ¶
type HostCapabilitiesExtractor struct {
// Common base for all extractors that provides standard functionality.
plugins.BaseExtractor[
struct{},
shared.HostCapabilities,
]
}
Extractor that extracts the traits of a compute host.
func (*HostCapabilitiesExtractor) Extract ¶
func (e *HostCapabilitiesExtractor) Extract() ([]plugins.Feature, error)
Extract the traits of a compute host from the database.
func (*HostCapabilitiesExtractor) GetName ¶
func (*HostCapabilitiesExtractor) GetName() string
Name of this feature extractor that is used in the yaml config, for logging etc.
func (HostCapabilitiesExtractor) Triggers ¶
func (HostCapabilitiesExtractor) Triggers() []string
Get message topics that trigger a re-execution of this extractor.
type HostPinnedProjectsExtractor ¶
type HostPinnedProjectsExtractor struct {
// Common base for all extractors that provides standard functionality.
plugins.BaseExtractor[
struct{},
shared.HostPinnedProjects,
]
}
Extractor that extracts the pinned projects of a compute host.
func (*HostPinnedProjectsExtractor) Extract ¶
func (e *HostPinnedProjectsExtractor) Extract() ([]plugins.Feature, error)
Extract the pinned projects of a compute host.
func (*HostPinnedProjectsExtractor) GetName ¶
func (*HostPinnedProjectsExtractor) GetName() string
Name of this feature extractor that is used in the yaml config, for logging etc.
func (HostPinnedProjectsExtractor) Triggers ¶
func (HostPinnedProjectsExtractor) Triggers() []string
Get message topics that trigger a re-execution of this extractor.
type HostUtilizationExtractor ¶
type HostUtilizationExtractor struct {
// Common base for all extractors that provides standard functionality.
plugins.BaseExtractor[
struct{},
shared.HostUtilization,
]
}
Extractor that extracts the utilization on a compute host.
func (*HostUtilizationExtractor) Extract ¶
func (e *HostUtilizationExtractor) Extract() ([]plugins.Feature, error)
Extract the utilization on a compute host. Depends on the OpenStack hypervisors to be synced.
func (*HostUtilizationExtractor) GetName ¶
func (*HostUtilizationExtractor) GetName() string
Name of this feature extractor that is used in the yaml config, for logging etc.
func (HostUtilizationExtractor) Triggers ¶
func (HostUtilizationExtractor) Triggers() []string
Get message topics that trigger a re-execution of this extractor.
type VMHostResidencyExtractor ¶
type VMHostResidencyExtractor struct {
// Common base for all extractors that provides standard functionality.
plugins.BaseExtractor[
struct{},
shared.VMHostResidency,
]
}
Extractor that extracts the time elapsed until the first migration of a virtual machine.
func (*VMHostResidencyExtractor) Extract ¶
func (e *VMHostResidencyExtractor) Extract() ([]plugins.Feature, error)
Extract the time elapsed until the first migration of a virtual machine. Depends on the OpenStack servers and migrations to be synced.
func (*VMHostResidencyExtractor) GetName ¶
func (*VMHostResidencyExtractor) GetName() string
Name of this feature extractor that is used in the yaml config, for logging etc.
func (VMHostResidencyExtractor) Triggers ¶
func (VMHostResidencyExtractor) Triggers() []string
Get message topics that trigger a re-execution of this extractor.
type VMLifeSpanHistogramExtractor ¶
type VMLifeSpanHistogramExtractor struct {
// Common base for all extractors that provides standard functionality.
plugins.BaseExtractor[
struct{},
shared.VMLifeSpanHistogramBucket,
]
}
Extractor that extracts the time elapsed until the vm was deleted.
func (*VMLifeSpanHistogramExtractor) Extract ¶
func (e *VMLifeSpanHistogramExtractor) Extract() ([]plugins.Feature, error)
Extract the time elapsed until the first migration of a virtual machine. Depends on the OpenStack servers and migrations to be synced.
func (*VMLifeSpanHistogramExtractor) GetName ¶
func (*VMLifeSpanHistogramExtractor) GetName() string
Name of this feature extractor that is used in the yaml config, for logging etc.
func (VMLifeSpanHistogramExtractor) Triggers ¶
func (VMLifeSpanHistogramExtractor) Triggers() []string
Get message topics that trigger a re-execution of this extractor.