Documentation ¶
Index ¶
- type PkgInfo
- type PkgMatchFunc
- type Repo
- func (r *Repo) FetchPackage(pkgMatcher PkgMatchFunc) (*PkgInfo, []byte, error)
- func (r *Repo) FetchPackagesLists(httpClient *http.Client, repoMd *types.Repomd) ([]*types.Package, error)
- func (r *Repo) FetchRepoMD(httpClient *http.Client) (*types.Repomd, error)
- func (r *Repo) FetchURL(httpClient *http.Client) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PkgMatchFunc ¶
type Repo ¶
type Repo struct { SectionName string Name string BaseURL string MirrorList string MetaLink string Type string Enabled bool GpgCheck bool GpgKeys []string SSLVerify bool SSLClientKey string SSLClientCert string SSLCaCert string }
func ReadFromDir ¶
func (*Repo) FetchPackage ¶
func (r *Repo) FetchPackage(pkgMatcher PkgMatchFunc) (*PkgInfo, []byte, error)
func (*Repo) FetchPackagesLists ¶
func (*Repo) FetchRepoMD ¶
Click to show internal directories.
Click to hide internal directories.