context

package
v0.4.24-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2024 License: ISC Imports: 1 Imported by: 0

Documentation

Index

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) Close

func (c *Context) Close()

func (*Context) Events

func (c *Context) Events() *events.Receiver

func (*Context) GetArchitecture

func (c *Context) GetArchitecture() string

func (*Context) GetCacheDir

func (c *Context) GetCacheDir() string

func (*Context) GetCommandLine

func (c *Context) GetCommandLine() string

func (*Context) GetHomeDir

func (c *Context) GetHomeDir() string

func (*Context) GetHostname

func (c *Context) GetHostname() string

func (*Context) GetKeyFromFile

func (c *Context) GetKeyFromFile() string

func (*Context) GetMachineID

func (c *Context) GetMachineID() string

func (*Context) GetNumCPU

func (c *Context) GetNumCPU() int

func (*Context) GetOperatingSystem

func (c *Context) GetOperatingSystem() string

func (*Context) GetProcessID

func (c *Context) GetProcessID() int

func (*Context) GetUsername

func (c *Context) GetUsername() string

func (*Context) SetArchitecture

func (c *Context) SetArchitecture(architecture string)

func (*Context) SetCacheDir

func (c *Context) SetCacheDir(cacheDir string)

func (*Context) SetCommandLine

func (c *Context) SetCommandLine(commandLine string)

func (*Context) SetHomeDir

func (c *Context) SetHomeDir(homeDir string)

func (*Context) SetHostname

func (c *Context) SetHostname(hostname string)

func (*Context) SetKeyFromFile

func (c *Context) SetKeyFromFile(keyFromFile string)

func (*Context) SetMachineID

func (c *Context) SetMachineID(machineID string)

func (*Context) SetNumCPU

func (c *Context) SetNumCPU(numCPU int)

func (*Context) SetOperatingSystem

func (c *Context) SetOperatingSystem(operatingSystem string)

func (*Context) SetProcessID

func (c *Context) SetProcessID(processID int)

func (*Context) SetUsername

func (c *Context) SetUsername(username string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL