Documentation ¶
Overview ¶
Abstraction for strings that implementors will likely wish to change.
Index ¶
- func BootKernel() string
- func ConfDir() string
- func ContinueLoggingEnv() string
- func CoreEnv() string
- func EmergPfx() string
- func EnvPrefix() string
- func EraseEnv() string
- func FRLogPfx() string
- func FlagFile() string
- func HostPrefix() string
- func ImgPrefix() string
- func IntegEnv() string
- func LogEnv() string
- func MacOUI() string
- func MacOUIBytes() []byte
- func MfgKernel() string
- func MfgLogPfx() string
- func MfgTestEnv() string
- func NoRebootEnv() string
- func PriVolName() string
- func RecVolName() string
- func RecoveryLogDir() string
- func SetStringer(b Stringer)
- func VerboseEnv() string
- type Stringer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfDir ¶
func ConfDir() string
Dir within the image where config data is stored. Likely under /etc.
func ContinueLoggingEnv ¶
func ContinueLoggingEnv() string
func HostPrefix ¶
func HostPrefix() string
Prefix used in creating hostname. Note hostname charset restrictions.
func ImgPrefix ¶
func ImgPrefix() string
Returns prefix for image name. 3 sections, 2 dots + 1 trailing. Otherwise sort function will fail.
func MfgTestEnv ¶
func MfgTestEnv() string
func NoRebootEnv ¶
func NoRebootEnv() string
func RecoveryLogDir ¶
func RecoveryLogDir() string
func VerboseEnv ¶
func VerboseEnv() string
Types ¶
type Stringer ¶
type Stringer interface { //Dir within the image where config data is stored. Likely under /etc. ConfDir() string //Prefix used for env vars. EnvPrefix() string //Name of the recovery volume. RecVolName() string //Name of the primary volume. PriVolName() string //Prefix used in creating hostname. Note hostname charset restrictions. HostPrefix() string //Name of file whose absence triggers factory restore. FlagFile() string //name of boot kernel BootKernel() string //name of provisioning/mfg kernel MfgKernel() string // Returns prefix for image name. 3 sections, 2 dots + 1 trailing. Otherwise // sort function will fail. ImgPrefix() string //prefix to require on MAC addresses MacOUI() string //like MacOUI, but as bytes MacOUIBytes() []byte //Filename prefix to match a file which can be used as an emergency image. EmergPfx() string //dir on recovery volume to use for logs RecoveryLogDir() string }
Abstraction for strings that implementors will likely wish to change.
Click to show internal directories.
Click to hide internal directories.