Documentation
¶
Index ¶
- func GetDockerHostBoxIdentifier(ctx context.Context, executor executor.IExecCommander) (string, error)
- func GetHostIP(ctx context.Context, executor executor.IExecCommander) (string, error)
- func GetMacAddress(ctx context.Context, executor executor.IExecCommander) (string, error)
- func GetSatlabStartTime(ctx context.Context, executor executor.IExecCommander) (*timestamp.Timestamp, error)
- func GetSatlabVersion(ctx context.Context, executor executor.IExecCommander) (string, error)
- type Decision
- type OSVersion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDockerHostBoxIdentifier ¶
func GetDockerHostBoxIdentifier(ctx context.Context, executor executor.IExecCommander) (string, error)
GetHostIdentifier gets the host identifier value.
Note that this command always returns the identifier in lowercase.
func GetMacAddress ¶
GetMacAddress gets hostname and mac address of satlab.
func GetSatlabStartTime ¶
func GetSatlabStartTime(ctx context.Context, executor executor.IExecCommander) (*timestamp.Timestamp, error)
GetSatlabStartTime gets start time and uptime of satlab.
func GetSatlabVersion ¶
GetSatlabVersion gets the Satlab version from docker container `compose` label.
Types ¶
type Decision ¶
type Decision int
Decision is a classification of a line in a file. Lines may be kept, modified, or deleted. Functions that process lines of text are split conceptually into a decision which classifies lines and a transformation which only applies to selected lines.
Click to show internal directories.
Click to hide internal directories.