code: func NewConfigMapPayload(cm *apiv1.ConfigMap) (Payload, error) {
  	if cm == nil {
  		return nil, fmt.Errorf("ConfigMap must be non-nil")
  	} else if cm.ObjectMeta.UID == "" {
  		return nil, fmt.Errorf("ConfigMap must have a non-empty UID")
  	} else if cm.ObjectMeta.ResourceVersion == "" {
  		return nil, fmt.Errorf("ConfigMap must have a non-empty ResourceVersion")
  	}
  
  	return &configMapPayload{cm}, nil
  }
docs: // NewConfigMapPayload constructs a Payload backed by a ConfigMap, which must have a non-empty UID