Documentation
¶
Index ¶
Constants ¶
View Source
const (
// GuestOsToCommonKey represents the element key in OS map of guest OS to common template mapping
GuestOsToCommonKey = "guestos2common"
// OsInfoToCommonKey represents the element key in OS map of OS type to common template mapping
OsInfoToCommonKey = "osinfo2common"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OSMapProvider ¶
type OSMapProvider interface {
GetOSMaps() (map[string]string, map[string]string, error)
}
OSMapProvider is responsible for getting the operating systems maps
type OSMaps ¶
type OSMaps struct {
// contains filtered or unexported fields
}
OSMaps is responsible for getting the operating systems maps which contain mapping of GuestOS to common templates and mapping of osinfo to common templates
func NewOSMapProvider ¶
func NewOSMapProvider(client client.Client, osConfigMapName string, osConfigMapNamespace string) *OSMaps
NewOSMapProvider creates new OSMapProvider
Click to show internal directories.
Click to hide internal directories.