Documentation ¶
Index ¶
- func RegisterRouterTdnf(router *mux.Router)
- func TdnfExec(options interface{}, args ...string) (string, error)
- func TdnfOptions(options interface{}) []string
- type AlterResult
- type ExecResult
- type Info
- type ListItem
- type ListOptions
- type ModeOptions
- type Options
- type QueryOptions
- type Repo
- type RepoQueryOptions
- type RepoQueryResult
- type ScopeOptions
- type SearchItem
- type UpdateInfo
- type UpdateInfoOptions
- type UpdateInfoSummary
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRouterTdnf ¶
func TdnfOptions ¶
func TdnfOptions(options interface{}) []string
Types ¶
type AlterResult ¶
type ListOptions ¶
type ListOptions struct { Options ScopeOptions }
type ModeOptions ¶
type Options ¶
type Options struct { AllowErasing bool `tdnf:"--allowerasing"` Best bool `tdnf:"--best"` CacheOnly bool `tdnf:"--cacheonly"` Config string `tdnf:"--config"` DisableRepo []string `tdnf:"--disablerepo"` DisableExcludes bool `tdnf:"--disableexcludes"` DownloadDir string `tdnf:"--downloaddir"` DownloadOnly bool `tdnf:"--downloadonly"` EnableRepo []string `tdnf:"--enablerepo"` Exclude string `tdnf:"--exclude"` InstallRoot string `tdnf:"--installroot"` NoAutoRemove bool `tdnf:"--noautoremove"` NoGPGCheck bool `tdnf:"--nogpgcheck"` NoPlugins bool `tdnf:"--noplugins"` RebootRequired bool `tdnf:"--rebootrequired"` Refresh bool `tdnf:"--refresh"` ReleaseVer string `tdnf:"--releasever"` RepoId string `tdnf:"--repoid"` RepoFromPath string `tdnf:"--repofrompath"` Security bool `tdnf:"--security"` SecSeverity string `tdnf:"--sec-severity"` SetOpt []string `tdnf:"--setopt"` SkipConflicts bool `tdnf:"--skipconflicts"` SkipDigest bool `tdnf:"--skipdigest"` SkipObsoletes bool `tdnf:"--skipobsoletes"` SkipSignature bool `tdnf:"--skipsignature"` }
type QueryOptions ¶
type QueryOptions struct { Available bool `tdnf:"--available"` Duplicates bool `tdnf:"--duplicates"` Extras bool `tdnf:"--extras"` Installed bool `tdnf:"--installed"` Upgrades bool `tdnf:"--upgrades"` File string `tdnf:"--file"` WhatProvides string `tdnf:"--whatprovides"` WhatObsoletes string `tdnf:"--whatobsoletes"` WhatConflicts string `tdnf:"--whatconflicts"` WhatRequires string `tdnf:"--whatrequires"` WhatRecommends string `tdnf:"--whatrecommends"` WhatSuggests string `tdnf:"--whatsuggests"` WhatSupplements string `tdnf:"--whatsupplements"` WhatEnhances string `tdnf:"--whatenhances"` WhatDepends string `tdnf:"--whatdepends"` ChangeLogs bool `tdnf:"--changelogs"` List bool `tdnf:"--list"` Source bool `tdnf:"--source"` Provides bool `tdnf:"--provides"` Obsoletes bool `tdnf:"--obsoletes"` Conflicts bool `tdnf:"--conflicts"` Requires bool `tdnf:"--requires"` Recommends bool `tdnf:"--recommends"` Suggests bool `tdnf:"--suggests"` Supplements bool `tdnf:"--supplements"` Enhances bool `tdnf:"--enhances"` Depends bool `tdnf:"--depends"` RequiresPre bool `tdnf:"--requires-pre"` }
type RepoQueryOptions ¶
type RepoQueryOptions struct { Options QueryOptions }
type RepoQueryResult ¶
type RepoQueryResult struct { Nevra string Name string Arch string Evr string Repo string Files []string Provides []string Obsoletes []string Conflicts []string Requires []string Recommends []string Suggests []string Supplements []string Enhances []string Depends []string RequiresPre []string ChangeLogs []struct { Time string Author string Text string } Source string }
type ScopeOptions ¶
type SearchItem ¶
type UpdateInfo ¶
type UpdateInfoOptions ¶
type UpdateInfoOptions struct { Options ScopeOptions ModeOptions }
type UpdateInfoSummary ¶
Click to show internal directories.
Click to hide internal directories.