Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Execution ¶ added in v1.1.1
type Execution struct {
ExecutionID string `json:"execution_id,omitempty"`
MachineID string `json:"machine_id"`
Hostname string `json:"hostname"`
ExecutedAt *time.Time `json:"executed_at"`
Success bool `json:"success"`
Details string `json:"details,omitempty"`
TransactionsProcessed int `json:"transactions_processed,omitempty"`
TransactionsSent int `json:"transactions_sent,omitempty"`
AgentVersion string `json:"agent_version,omitempty"`
OS string `json:"os,omitempty"`
}
type Package ¶
type Package struct {
Action string `json:"action"`
Name string `json:"name"`
Version string `json:"version"`
Release string `json:"release"`
Epoch string `json:"epoch"`
Arch string `json:"arch"`
Repo string `json:"repo"`
FromRepo string `json:"from_repo,omitempty"`
}
Package represents a single package in a transaction entry.
type ServerVersion ¶ added in v1.1.1
type ServerVersion struct {
Version string `json:"version"`
}
type Transaction ¶ added in v1.1.1
type Transaction struct {
TransactionID string `json:"transaction_id"`
MachineID string `json:"machine_id,omitempty"`
Hostname string `json:"hostname"`
BeginTime *time.Time `json:"begin_time"`
EndTime *time.Time `json:"end_time"`
Actions string `json:"actions"`
Altered string `json:"altered"`
User string `json:"user"`
ReturnCode string `json:"return_code"`
ReleaseVersion string `json:"release_version"`
CommandLine string `json:"command_line"`
Comment string `json:"comment"`
ScriptletOutput string `json:"scriptlet_output"`
Items []TransactionItem `json:"items"`
}
type TransactionDetail ¶
type TransactionDetail struct {
TransactionID string `json:"transaction_id"`
BeginTime string `json:"begin_time"`
BeginRPMDB string `json:"begin_rpmdb"`
EndTime string `json:"end_time"`
EndRPMDB string `json:"end_rpmdb"`
User string `json:"user"`
ReturnCode string `json:"return_code"`
Releasever string `json:"releasever"`
CommandLine string `json:"command_line"`
Comment string `json:"comment"`
PackagesAltered []Package `json:"packages_altered"`
ScriptletOutput []string `json:"scriptlet_output"`
}
TransactionDetail represents a detailed transaction entry, as shown in the 'dnf history info' command.
type TransactionItem ¶ added in v1.1.1
Click to show internal directories.
Click to hide internal directories.