Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateSource ¶
func MigrateSource(source *Source)
Types ¶
type HandlerSource ¶
type HandlerSource struct { Type string `json:"type"` Include RegexpList `json:"include,omitempty"` Exclude RegexpList `json:"exclude,omitempty"` Options map[string]interface{} `json:"options,omitempty"` }
type MirrorFileParams ¶
type Regexp ¶
func (*Regexp) UnmarshalJSON ¶
type RegexpList ¶
type RegexpList []*Regexp
func (RegexpList) AsRegexp ¶
func (rl RegexpList) AsRegexp() []*regexp.Regexp
type Source ¶
type Source struct { URI string `json:"uri"` Options map[string]interface{} `json:"options,omitempty"` SkipHashVerification bool `json:"skip_hash_verification,omitempty"` SkipSignatureVerification bool `json:"skip_signature_verification,omitempty"` SignatureTrustStore string `json:"signature_trust_store,omitempty"` URLHandlers []HandlerSource `json:"url_handlers,omitempty"` MirrorFiles []MirrorFileParams `json:"mirror_files,omitempty"` IncludeFiles []string `json:"include_files,omitempty"` ExcludeFiles []string `json:"exclude_files,omitempty"` Version string `json:"version,omitempty"` Filters []map[string]string `json:"filters,omitempty"` }
Click to show internal directories.
Click to hide internal directories.