code: func CreateConfig(tx Tx, c *api.Config) error {
  	// Ensure the name is not already in use.
  	if tx.lookup(tableConfig, indexName, strings.ToLower(c.Spec.Annotations.Name)) != nil {
  		return ErrNameConflict
  	}
  
  	return tx.create(tableConfig, c)
  }
docs: // CreateConfig adds a new config to the store.
  // Returns ErrExist if the ID is already taken.