code: func NewSAMLConnector(name string, spec SAMLConnectorSpecV2) SAMLConnector {
  	return &SAMLConnectorV2{
  		Kind:    KindSAMLConnector,
  		Version: V2,
  		Metadata: Metadata{
  			Name:      name,
  			Namespace: defaults.Namespace,
  		},
  		Spec: spec,
  	}
  }
docs: // NewSAMLConnector returns a new SAMLConnector based off a name and SAMLConnectorSpecV2.