Documentation
¶
Index ¶
- type WOFClone
- func (c *WOFClone) CloneMetaFile(file string, skip_existing bool, force_updates bool) error
- func (c *WOFClone) ClonePath(rel_path string, ensure_changes bool) error
- func (c *WOFClone) EnsureFilehandles()
- func (c *WOFClone) Fetch(method string, remote string) (*http.Response, error)
- func (c *WOFClone) HasChanged(local string, remote string) (bool, error)
- func (c *WOFClone) HasHashChanged(local_hash string, remote string) (bool, error)
- func (c *WOFClone) Process(remote string, local string) error
- func (c *WOFClone) ProcessRetries() bool
- func (c *WOFClone) SetMaxFilehandles()
- func (c *WOFClone) Status()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WOFClone ¶
type WOFClone struct {
Source string
Dest string
Success int64
Error int64
Skipped int64
Scheduled int64
Completed int64
MaxFilehandles int64
Filehandles int64
MaxRetries float64 // max percentage of errors over scheduled
Failed []string
Logger *log.WOFLogger
// contains filtered or unexported fields
}
func NewWOFClone ¶
func (*WOFClone) CloneMetaFile ¶
func (*WOFClone) EnsureFilehandles ¶
func (c *WOFClone) EnsureFilehandles()
func (*WOFClone) HasChanged ¶
func (*WOFClone) HasHashChanged ¶
func (*WOFClone) ProcessRetries ¶
func (*WOFClone) SetMaxFilehandles ¶
func (c *WOFClone) SetMaxFilehandles()
Click to show internal directories.
Click to hide internal directories.