1
0
Files
vault_totp/internal/types.go
brent saner d94a46af0b initial
2025-12-16 21:45:08 -05:00

37 lines
667 B
Go

package internal
import (
`context`
`sync`
`github.com/hashicorp/vault-client-go`
`r00t2.io/gosecret`
`r00t2.io/goutils/multierr`
)
type (
Client struct {
lastIdx int
vtok string
vaddr string
scollNm string
vmnt string
errsDone chan bool
errChan chan error
vc *vault.Client
wg sync.WaitGroup
ctx context.Context
ssvc *gosecret.Service
scoll *gosecret.Collection
mErr *multierr.MultiError
inSS map[string]wrappedSsSecret
inVault map[string]map[string]interface{}
}
wrappedSsSecret struct {
id int
strippedNm string
nm string
secret *gosecret.Item
}
)