Documentation ¶
Index ¶
- func AddInMap(item string, m map[string]SubMap)
- func DecodeRRDPBase64(value string) ([]byte, error)
- func FetchFile(path string, conv bool) ([]byte, error)
- func FilterMatch(line string) (string, bool, error)
- func GetDownloadPath(sync string, trimFile bool) (string, error)
- func GetMatch(str string) bool
- func ParseMapDirectory(mapdir string) map[string]string
- func ParseNode(data string) ([]Cert, []Cert, error)
- func ReduceMap(m map[string]SubMap) []string
- func ReplacePath(file *pki.PKIFile, replace map[string]string) string
- func ReplaceString(pathRep string, replace map[string]string) string
- type Cert
- type Delta
- type ElNode
- type FileStat
- type HTTPFetcher
- type LocalFetch
- type Logger
- type Notification
- type RRDPFetcher
- type RRDPFile
- type RRDPSystem
- type RootNode
- type RsyncSystem
- type Snapshot
- type SubMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeRRDPBase64 ¶
func FilterMatch ¶
Determines if file has been deleted
func ParseMapDirectory ¶
Types ¶
type HTTPFetcher ¶
type LocalFetch ¶
func (*LocalFetch) GetFileConv ¶
func (*LocalFetch) GetRepository ¶
func (s *LocalFetch) GetRepository(file *pki.PKIFile, callback pki.CallbackExplore) error
type Notification ¶
type Notification struct { RootNode XMLName xml.Name `xml:"notification"` Snapshot ElNode `xml:"snapshot"` Deltas []ElNode `xml:"delta"` }
func ParseRoot ¶
func ParseRoot(data string) (Notification, error)
type RRDPFetcher ¶
type RRDPSystem ¶
type RRDPSystem struct { Log Logger Fetcher RRDPFetcher Callback RRDPFile Path string SessionID string Serial int64 }
func (*RRDPSystem) FetchRRDP ¶
func (s *RRDPSystem) FetchRRDP(cbArgs ...interface{}) error
type RsyncSystem ¶
type RsyncSystem struct {
Log Logger
}
Click to show internal directories.
Click to hide internal directories.