Basic config package to parse NTP Pool system config
This commit is contained in:
31
config/config_accessor.go
Normal file
31
config/config_accessor.go
Normal file
@@ -0,0 +1,31 @@
|
||||
// Code generated by accessory; DO NOT EDIT.
|
||||
|
||||
package config
|
||||
|
||||
func (c *Config) DeploymentMode() string {
|
||||
if c == nil {
|
||||
return ""
|
||||
}
|
||||
return c.deploymentMode
|
||||
}
|
||||
|
||||
func (c *Config) ManageHostname() string {
|
||||
if c == nil {
|
||||
return ""
|
||||
}
|
||||
return c.manageHostname
|
||||
}
|
||||
|
||||
func (c *Config) WebHostname() string {
|
||||
if c == nil {
|
||||
return ""
|
||||
}
|
||||
return c.webHostname
|
||||
}
|
||||
|
||||
func (c *Config) Valid() bool {
|
||||
if c == nil {
|
||||
return false
|
||||
}
|
||||
return c.valid
|
||||
}
|
Reference in New Issue
Block a user