os

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

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 {
	Client client.Client
}

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) *OSMaps

NewOSMapProvider creates new OSMapProvider

func (*OSMaps) GetOSMaps

func (o *OSMaps) GetOSMaps() (map[string]string, map[string]string, error)

GetOSMaps retrieve the OS mapping config map

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳