Documentation ¶
Index ¶
- Constants
- func DbusPropertiesGet() string
- func GenerateOEMTemplate() *schema.YipConfig
- func GetTimeDate1PropertiesNTP() (bool, error)
- func GetTimeDate1PropertiesNTPSynchronized() (bool, error)
- func GetTimesyncdConf() (*viper.Viper, error)
- func GetToMonitorServices() []string
- func LoadYipConfig(path string) (*schema.YipConfig, error)
- func LoadYipConfigToTarget(path string, config *schema.YipConfig) error
- func UpdateToOEMTemplate(stageName string, stage schema.Stage, oem *schema.YipConfig) (*schema.YipConfig, error)
- type NTPStatusAnnotation
Constants ¶
View Source
const ( AnnotationNTP = "node.harvesterhci.io/ntp-service" TimesyncdConfigName = "timesyncd.conf" SystemdConfigPath = "/host/etc/systemd/" DbusPropertiesIface = "org.freedesktop.DBus.Properties" DbusTimedate1Name = "org.freedesktop.timedate1" DbusTimesync1Name = "org.freedesktop.timesync1.Manager" DbusTimedate1ObjectPath = "/org/freedesktop/timedate1" DbusTimesync1ObjectPath = "/org/freedesktop/timesync1" )
Variables ¶
This section is empty.
Functions ¶
func DbusPropertiesGet ¶
func DbusPropertiesGet() string
func GenerateOEMTemplate ¶
return the empty OEM template for later use
func GetTimesyncdConf ¶
func GetToMonitorServices ¶
func GetToMonitorServices() []string
func LoadYipConfigToTarget ¶
Types ¶
type NTPStatusAnnotation ¶
Click to show internal directories.
Click to hide internal directories.