/dports/net/storj/storj-1.45.3/storagenode/trust/ |
H A D | satellite_url_test.go | 46 parsed trust.SatelliteURL 51 parsed: trust.SatelliteURL{ 60 parsed: trust.SatelliteURL{ 80 parsed trust.SatelliteURL
|
H A D | service_test.go | 44 SatelliteURL: trust.SatelliteURL{ 68 url := trust.SatelliteURL{ 82 source.entries = []trust.Entry{{SatelliteURL: url}} 110 source.entries = []trust.Entry{{SatelliteURL: url}} 126 SatelliteURL: trust.SatelliteURL{ 133 SatelliteURL: trust.SatelliteURL{ 161 SatelliteURL: trust.SatelliteURL{ 179 SatelliteURL: trust.SatelliteURL{
|
H A D | cache_test.go | 62 SatelliteURL: url1, 67 SatelliteURL: url2,
|
H A D | excluder.go | 42 url SatelliteURL 46 func NewURLExcluder(url SatelliteURL) *URLExcluder { argument 54 func (excluder *URLExcluder) IsTrusted(url SatelliteURL) bool { 77 func (excluder *IDExcluder) IsTrusted(url SatelliteURL) bool { 110 func (excluder *HostExcluder) IsTrusted(url SatelliteURL) bool { 131 func parseExcluderConfig(s string) (SatelliteURL, error) { 134 return SatelliteURL{}, ErrExclusion.Wrap(err) 142 return SatelliteURL{}, ErrExclusion.New("host exclusion must not include a port") 144 return SatelliteURL{ 149 return SatelliteURL{ [all …]
|
H A D | http_source.go | 89 SatelliteURL: url,
|
H A D | list.go | 57 if !list.rules.IsTrusted(entry.SatelliteURL) { 60 previousIdx, ok := byAddress[entry.SatelliteURL.Address()] 72 byAddress[entry.SatelliteURL.Address()] = len(entries) 78 urls = append(urls, entry.SatelliteURL.NodeURL())
|
H A D | static_source.go | 19 URL SatelliteURL 43 {SatelliteURL: source.URL, Authoritative: true},
|
H A D | source.go | 16 SatelliteURL SatelliteURL member
|
H A D | static_source_test.go | 35 SatelliteURL: url,
|
H A D | excluder_test.go | 155 isTrusted := excluder.IsTrusted(trust.SatelliteURL{Host: tt.host})
|
H A D | file_source.go | 50 SatelliteURL: url, 58 func LoadSatelliteURLList(ctx context.Context, path string) (_ []SatelliteURL, err error) {
|
H A D | file_source_test.go | 75 SatelliteURL: url1, 79 SatelliteURL: url2,
|
H A D | http_source_test.go | 115 SatelliteURL: url1, 119 SatelliteURL: url2,
|
H A D | common_test.go | 11 func makeSatelliteURL(host string) trust.SatelliteURL { 12 return trust.SatelliteURL{
|
H A D | list_test.go | 87 makeSatelliteURL := func(s string) trust.SatelliteURL { 95 SatelliteURL: makeSatelliteURL(s), 190 SatelliteURL: trust.SatelliteURL{ 195 url1 := entry1.SatelliteURL.NodeURL() 198 SatelliteURL: trust.SatelliteURL{ 203 url2 := entry2.SatelliteURL.NodeURL()
|
H A D | rule.go | 9 IsTrusted(url SatelliteURL) bool argument 19 func (rules Rules) IsTrusted(url SatelliteURL) bool { argument
|
H A D | rule_test.go | 34 func (rule fakeRule) IsTrusted(url trust.SatelliteURL) bool { argument
|
H A D | satellite_url.go | 25 type SatelliteURL struct { struct 32 func (u *SatelliteURL) Address() string { argument 37 func (u *SatelliteURL) NodeURL() storj.NodeURL { argument 45 func (u *SatelliteURL) String() string { argument 51 func ParseSatelliteURL(s string) (SatelliteURL, error) { 54 return SatelliteURL{}, ErrSatelliteURL.Wrap(err) 57 return SatelliteURL{}, ErrSatelliteURL.New("must contain an ID") 61 return SatelliteURL{}, ErrSatelliteURL.New("must specify the host:port") 69 return SatelliteURL{}, ErrSatelliteURL.New("must specify the port") 75 return SatelliteURL{}, ErrSatelliteURL.New("port is not numeric") [all …]
|
/dports/net/storj/storj-1.45.3/storagenode/payouts/ |
H A D | service_test.go | 44 SatelliteURL: trust.SatelliteURL{ 51 SatelliteURL: trust.SatelliteURL{ 58 SatelliteURL: trust.SatelliteURL{
|
H A D | payouts.go | 129 SatelliteURL string `json:"satelliteURL"` member
|
H A D | service.go | 279 payoutForPeriod.SatelliteURL = url.Address
|
/dports/net/storj/storj-1.45.3/storagenode/multinode/ |
H A D | payout_test.go | 63 …poolConfig.Sources = append(poolConfig.Sources, &trust.StaticURLSource{URL: trust.SatelliteURL{ID:… 156 …poolConfig.Sources = append(poolConfig.Sources, &trust.StaticURLSource{URL: trust.SatelliteURL{ID:… 227 …poolConfig.Sources = append(poolConfig.Sources, &trust.StaticURLSource{URL: trust.SatelliteURL{ID:…
|
/dports/net/storj/storj-1.45.3/storagenode/pieces/ |
H A D | store_test.go | 327 var satelliteURLs []trust.SatelliteURL 331 satelliteURLs = append(satelliteURLs, trust.SatelliteURL{
|
/dports/net/storj/storj-1.45.3/storagenode/preflight/ |
H A D | localtime_test.go | 97 url := trust.SatelliteURL{ 153 url := trust.SatelliteURL{
|
/dports/net/storj/storj-1.45.3/docs/blueprints/ |
H A D | uplink-scopes.md | 20 SatelliteURL string
|