Documentation ¶
Index ¶
- type Context
- func (c *Context) Close()
- func (c *Context) Events() *events.Receiver
- func (c *Context) GetArchitecture() string
- func (c *Context) GetCacheDir() string
- func (c *Context) GetCommandLine() string
- func (c *Context) GetHomeDir() string
- func (c *Context) GetHostname() string
- func (c *Context) GetKeyFromFile() string
- func (c *Context) GetMachineID() string
- func (c *Context) GetNumCPU() int
- func (c *Context) GetOperatingSystem() string
- func (c *Context) GetProcessID() int
- func (c *Context) GetUsername() string
- func (c *Context) SetArchitecture(architecture string)
- func (c *Context) SetCacheDir(cacheDir string)
- func (c *Context) SetCommandLine(commandLine string)
- func (c *Context) SetHomeDir(homeDir string)
- func (c *Context) SetHostname(hostname string)
- func (c *Context) SetKeyFromFile(keyFromFile string)
- func (c *Context) SetMachineID(machineID string)
- func (c *Context) SetNumCPU(numCPU int)
- func (c *Context) SetOperatingSystem(operatingSystem string)
- func (c *Context) SetProcessID(processID int)
- func (c *Context) SetUsername(username string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func NewContext ¶
func NewContext() *Context
func (*Context) GetArchitecture ¶
func (*Context) GetCacheDir ¶
func (*Context) GetCommandLine ¶
func (*Context) GetHomeDir ¶
func (*Context) GetHostname ¶
func (*Context) GetKeyFromFile ¶
func (*Context) GetMachineID ¶
func (*Context) GetOperatingSystem ¶
func (*Context) GetProcessID ¶
func (*Context) GetUsername ¶
func (*Context) SetArchitecture ¶
func (*Context) SetCacheDir ¶
func (*Context) SetCommandLine ¶
func (*Context) SetHomeDir ¶
func (*Context) SetHostname ¶
func (*Context) SetKeyFromFile ¶
func (*Context) SetMachineID ¶
func (*Context) SetOperatingSystem ¶
func (*Context) SetProcessID ¶
func (*Context) SetUsername ¶
Click to show internal directories.
Click to hide internal directories.