Documentation
¶
Overview ¶
Package setup provides some simple facilities to help bootstrap things.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
}
Config is a struct of all the configuration values which are shared by all of the setup utilities. By including this as a separate struct, it can be used as part of the API if we want.
type Firstboot ¶
type Firstboot struct {
*cliUtil.SetupFirstbootArgs // embedded config
Config // embedded Config
// Program is the name of this program, usually set at compile time.
Program string
// Version is the version of this program, usually set at compile time.
Version string
// Debug represents if we're running in debug mode or not.
Debug bool
// Logf is a logger which should be used.
Logf func(format string, v ...interface{})
}
Firstboot is the standalone entry program for the firstboot setup component.
type Pkg ¶
type Pkg struct {
*cliUtil.SetupPkgArgs // embedded config
Config // embedded Config
// Program is the name of this program, usually set at compile time.
Program string
// Version is the version of this program, usually set at compile time.
Version string
// Debug represents if we're running in debug mode or not.
Debug bool
// Logf is a logger which should be used.
Logf func(format string, v ...interface{})
}
Pkg is the standalone entry program for the pkg setup component.
type Svc ¶
type Svc struct {
*cliUtil.SetupSvcArgs // embedded config
Config // embedded Config
// Program is the name of this program, usually set at compile time.
Program string
// Version is the version of this program, usually set at compile time.
Version string
// Debug represents if we're running in debug mode or not.
Debug bool
// Logf is a logger which should be used.
Logf func(format string, v ...interface{})
}
Svc is the standalone entry program for the svc setup component.
Click to show internal directories.
Click to hide internal directories.