bootstrapManagerImpl is the implementation of the interface databaseBootstrapManager
| 33 | |
| 34 | // bootstrapManagerImpl is the implementation of the interface databaseBootstrapManager |
| 35 | type bootstrapManagerImpl struct { |
| 36 | sync.RWMutex |
| 37 | |
| 38 | opts bootstrap.Options |
| 39 | origin string |
| 40 | peerSource client.PeerSource |
| 41 | bootstrapable bootstrap.Bootstrapable |
| 42 | state bootstrap.BootstrapState |
| 43 | hasPending bool |
| 44 | bootstrapTableShards map[string]bootstrap.BootstrapDetails |
| 45 | lastBootstrapCompletionTime time.Time |
| 46 | topo topology.Topology |
| 47 | } |
| 48 | |
| 49 | // NewBootstrapManager creates bootstrap manager |
| 50 | func NewBootstrapManager(origin string, |
nothing calls this directly
no outgoing calls
no test coverage detected