ac98256602
- pkg/cwhub: change file layout, rename functions - method Item.SubItems - cmd/crowdsec-cli: generic code for hub items - cscli: removing any type of items in a collection now requires --force - tests
17 lines
434 B
Go
17 lines
434 B
Go
// Package cwhub is responsible for installing and upgrading the local hub files.
|
|
//
|
|
// This includes retrieving the index, the items to install (parsers, scenarios, data files...)
|
|
// and managing the dependencies and taints.
|
|
package cwhub
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
var (
|
|
ErrMissingReference = errors.New("Reference(s) missing in collection")
|
|
|
|
RawFileURLTemplate = "https://hub-cdn.crowdsec.net/%s/%s"
|
|
HubBranch = "master"
|
|
)
|