code: func (b *Bundler) GetStreamDescs() map[string]*logpb.LogStreamDescriptor {
  	b.streamsLock.Lock()
  	defer b.streamsLock.Unlock()
  
  	if len(b.streams) == 0 {
  		return nil
  	}
  
  	streams := make(map[string]*logpb.LogStreamDescriptor, len(b.streams))
  	for k, s := range b.streams {
  		streams[k] = s.streamDesc()
  	}
  	return streams
  }
docs: // GetStreamDescs returns the set of registered stream names mapped to their
  // descriptors.
  //
  // This is intended for testing purposes. DO NOT modify the resulting
  // descriptors.