AuthDir returns the local directory containing mirrored auth files.
()
| 132 | |
| 133 | // AuthDir returns the local directory containing mirrored auth files. |
| 134 | func (s *ObjectTokenStore) AuthDir() string { |
| 135 | if s == nil { |
| 136 | return "" |
| 137 | } |
| 138 | return s.authDir |
| 139 | } |
| 140 | |
| 141 | // Bootstrap ensures the target bucket exists and synchronizes data from the object storage backend. |
| 142 | func (s *ObjectTokenStore) Bootstrap(ctx context.Context, exampleConfigPath string) error { |