code: func (s *Snapshot) CAProviderState() ([]*structs.CAConsulProviderState, error) {
  	ixns, err := s.tx.Get(caBuiltinProviderTableName, "id")
  	if err != nil {
  		return nil, err
  	}
  
  	var ret []*structs.CAConsulProviderState
  	for wrapped := ixns.Next(); wrapped != nil; wrapped = ixns.Next() {
  		ret = append(ret, wrapped.(*structs.CAConsulProviderState))
  	}
  
  	return ret, nil
  }
docs: // CAProviderState is used to pull the built-in provider states from the snapshot.