code: func (ps partitions) Partitions() []Partition {
  	parts := make([]Partition, 0, len(ps))
  	for i := 0; i < len(ps); i++ {
  		parts = append(parts, ps[i].Partition())
  	}
  
  	return parts
  }
docs: // Partitions satisfies the EnumPartitions interface and returns a list
  // of Partitions representing each partition represented in the SDK's
  // endpoints model.