forked from TrueCloudLab/restic
Update github.com/kurin/blazer to 0.5.1
This adds support for B2 application keys.
This commit is contained in:
parent
57873502f8
commit
2437f11af7
10 changed files with 276 additions and 24 deletions
2
vendor/github.com/kurin/blazer/b2/backend.go
generated
vendored
2
vendor/github.com/kurin/blazer/b2/backend.go
generated
vendored
|
@ -154,6 +154,7 @@ type beKeyInterface interface {
|
|||
name() string
|
||||
expires() time.Time
|
||||
secret() string
|
||||
id() string
|
||||
}
|
||||
|
||||
type beKey struct {
|
||||
|
@ -711,6 +712,7 @@ func (b *beKey) caps() []string { return b.k.caps() }
|
|||
func (b *beKey) name() string { return b.k.name() }
|
||||
func (b *beKey) expires() time.Time { return b.k.expires() }
|
||||
func (b *beKey) secret() string { return b.k.secret() }
|
||||
func (b *beKey) id() string { return b.k.id() }
|
||||
|
||||
func jitter(d time.Duration) time.Duration {
|
||||
f := float64(d)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue