Home
last modified time | relevance | path

Searched refs:FeedMeta (Results 1 – 22 of 22) sorted by relevance

/dports/security/vuls/vuls-0.13.7/vendor/github.com/kotakanbe/go-cve-dictionary/models/
H A Dmodels.go13 type FeedMeta struct { struct
25 func (f FeedMeta) UpToDate() bool { argument
30 func (f FeedMeta) OutDated() bool { argument
35 func (f FeedMeta) Newly() bool { argument
40 func (f FeedMeta) StatusForStdout() string { argument
57 func (f FeedMeta) color(str string) string { argument
66 func (f FeedMeta) source() string { argument
76 func (f FeedMeta) FetchOption() string { argument
88 func (f FeedMeta) Year() (year string, xml bool, err error) { argument
107 func (f FeedMeta) modifiedTimesToStrs() (fetched, latest string) { argument
[all …]
H A Dmodels_test.go9 in FeedMeta
15 in: FeedMeta{
24 in: FeedMeta{
33 in: FeedMeta{
/dports/security/go-cve-dictionary/go-cve-dictionary-0.5.5/models/
H A Dmodels.go13 type FeedMeta struct { struct
25 func (f FeedMeta) UpToDate() bool { argument
30 func (f FeedMeta) OutDated() bool { argument
35 func (f FeedMeta) Newly() bool { argument
40 func (f FeedMeta) StatusForStdout() string { argument
57 func (f FeedMeta) color(str string) string { argument
66 func (f FeedMeta) source() string { argument
76 func (f FeedMeta) FetchOption() string { argument
88 func (f FeedMeta) Year() (year string, xml bool, err error) { argument
107 func (f FeedMeta) modifiedTimesToStrs() (fetched, latest string) { argument
[all …]
H A Dmodels_test.go9 in FeedMeta
15 in: FeedMeta{
24 in: FeedMeta{
33 in: FeedMeta{
/dports/security/vuls/vuls-0.13.7/vendor/github.com/kotakanbe/go-cve-dictionary/commands/
H A Dlist.go119 metas := []models.FeedMeta{}
120 for _, mm := range [][]models.FeedMeta{jsonMetas, jvnMetas} {
140 for _, mm := range [][]models.FeedMeta{jsonMetas, jvnMetas} {
157 func getUpdateCommand(metas []models.FeedMeta) string { argument
H A Dfetchjvn.go183 needUpdates := []models.FeedMeta{}
H A Dfetchnvd.go186 needUpdates := []models.FeedMeta{}
/dports/security/go-cve-dictionary/go-cve-dictionary-0.5.5/commands/
H A Dlist.go119 metas := []models.FeedMeta{}
120 for _, mm := range [][]models.FeedMeta{jsonMetas, jvnMetas} {
140 for _, mm := range [][]models.FeedMeta{jsonMetas, jvnMetas} {
157 func getUpdateCommand(metas []models.FeedMeta) string { argument
H A Dfetchjvn.go181 needUpdates := []models.FeedMeta{}
H A Dfetchnvd.go184 needUpdates := []models.FeedMeta{}
/dports/security/vuls/vuls-0.13.7/vendor/github.com/kotakanbe/go-cve-dictionary/fetcher/nvd/
H A Dutil.go16 func ListFetchedFeeds(driver db.DB) (jsonMetas []models.FeedMeta, err error) {
77 func FetchLatestFeedMeta(driver db.DB, years []int) (metas []models.FeedMeta, err error) {
118 func UpdateMeta(driver db.DB, metas []models.FeedMeta) error { argument
/dports/security/go-cve-dictionary/go-cve-dictionary-0.5.5/fetcher/nvd/
H A Dutil.go16 func ListFetchedFeeds(driver db.DB) (jsonMetas []models.FeedMeta, err error) {
77 func FetchLatestFeedMeta(driver db.DB, years []int) (metas []models.FeedMeta, err error) {
118 func UpdateMeta(driver db.DB, metas []models.FeedMeta) error { argument
/dports/security/vuls/vuls-0.13.7/vendor/github.com/kotakanbe/go-cve-dictionary/db/
H A Ddb.go28 UpsertFeedHash(models.FeedMeta) error argument
29 GetFetchedFeedMeta(string) (*models.FeedMeta, error)
30 GetFetchedFeedMetas() ([]models.FeedMeta, error)
H A Dredis.go386 func (r *RedisDriver) GetFetchedFeedMeta(url string) (*models.FeedMeta, error) {
392 meta := &models.FeedMeta{}
403 func (r *RedisDriver) UpsertFeedHash(m models.FeedMeta) error {
422 func (r *RedisDriver) GetFetchedFeedMetas() (metas []models.FeedMeta, err error) {
429 m := models.FeedMeta{}
H A Drdb.go85 &models.FeedMeta{},
834 func (r *RDBDriver) GetFetchedFeedMeta(url string) (*models.FeedMeta, error) {
835 meta := models.FeedMeta{}
836 m := &models.FeedMeta{
847 func (r *RDBDriver) UpsertFeedHash(mm models.FeedMeta) error {
848 meta := models.FeedMeta{}
849 m := &models.FeedMeta{
883 func (r *RDBDriver) GetFetchedFeedMetas() ([]models.FeedMeta, error) {
884 metas := []models.FeedMeta{}
/dports/security/go-cve-dictionary/go-cve-dictionary-0.5.5/db/
H A Ddb.go28 UpsertFeedHash(models.FeedMeta) error argument
29 GetFetchedFeedMeta(string) (*models.FeedMeta, error)
30 GetFetchedFeedMetas() ([]models.FeedMeta, error)
H A Dredis.go386 func (r *RedisDriver) GetFetchedFeedMeta(url string) (*models.FeedMeta, error) {
392 meta := &models.FeedMeta{}
403 func (r *RedisDriver) UpsertFeedHash(m models.FeedMeta) error {
422 func (r *RedisDriver) GetFetchedFeedMetas() (metas []models.FeedMeta, err error) {
429 m := models.FeedMeta{}
H A Drdb.go85 &models.FeedMeta{},
834 func (r *RDBDriver) GetFetchedFeedMeta(url string) (*models.FeedMeta, error) {
835 meta := models.FeedMeta{}
836 m := &models.FeedMeta{
847 func (r *RDBDriver) UpsertFeedHash(mm models.FeedMeta) error {
848 meta := models.FeedMeta{}
849 m := &models.FeedMeta{
883 func (r *RDBDriver) GetFetchedFeedMetas() ([]models.FeedMeta, error) {
884 metas := []models.FeedMeta{}
/dports/security/vuls/vuls-0.13.7/vendor/github.com/kotakanbe/go-cve-dictionary/fetcher/jvn/xml/
H A Djvn.go78 func ListFetchedFeeds(driver db.DB) (metas []models.FeedMeta, err error) {
122 func FetchLatestFeedMeta(driver db.DB, years []int) (metas []models.FeedMeta, err error) {
172 func UpdateMeta(driver db.DB, metas []models.FeedMeta) error { argument
186 func Fetch(metas []models.FeedMeta) ([]Item, error) { argument
214 func FetchConvert(metas []models.FeedMeta) (cves []models.CveDetail, err error) { argument
/dports/security/go-cve-dictionary/go-cve-dictionary-0.5.5/fetcher/jvn/xml/
H A Djvn.go78 func ListFetchedFeeds(driver db.DB) (metas []models.FeedMeta, err error) {
122 func FetchLatestFeedMeta(driver db.DB, years []int) (metas []models.FeedMeta, err error) {
172 func UpdateMeta(driver db.DB, metas []models.FeedMeta) error { argument
186 func Fetch(metas []models.FeedMeta) ([]Item, error) { argument
214 func FetchConvert(metas []models.FeedMeta) (cves []models.CveDetail, err error) { argument
/dports/security/vuls/vuls-0.13.7/vendor/github.com/kotakanbe/go-cve-dictionary/fetcher/nvd/json/
H A Dnvd.go24 func FetchConvert(metas []models.FeedMeta) (cves []models.CveDetail, err error) { argument
/dports/security/go-cve-dictionary/go-cve-dictionary-0.5.5/fetcher/nvd/json/
H A Dnvd.go24 func FetchConvert(metas []models.FeedMeta) (cves []models.CveDetail, err error) { argument