Documentation
¶
Index ¶
- func CreateConnectionUpdateDto(defaultRole string, enforceGroupSync bool, groupMappings map[string][]string) qovery.EnterpriseConnectionDto
- func ParseIdpGroupNames(idpGroupNames string) []string
- type EnterpriseConnectionService
- func (s *EnterpriseConnectionService) DisplayEnterpriseConnection(connection *qovery.EnterpriseConnectionDto) error
- func (s *EnterpriseConnectionService) DisplayGroupMappingsTable(groupMappings map[string][]string) error
- func (s *EnterpriseConnectionService) GetEnterpriseConnection(connectionName string) (*qovery.EnterpriseConnectionDto, error)
- func (s *EnterpriseConnectionService) ListEnterpriseConnections(connectionName string) ([]qovery.EnterpriseConnectionDto, error)
- func (s *EnterpriseConnectionService) ResolveProvidedRoleNameOrCustomRoleId(roleName string) (string, error)
- func (s *EnterpriseConnectionService) ResolveRoleDisplayName(roleIdOrName string) string
- func (s *EnterpriseConnectionService) UpdateEnterpriseConnection(connectionName string, dto qovery.EnterpriseConnectionDto) (*qovery.EnterpriseConnectionDto, error)
- func (s *EnterpriseConnectionService) ValidateRole(roleName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateConnectionUpdateDto ¶
func CreateConnectionUpdateDto(defaultRole string, enforceGroupSync bool, groupMappings map[string][]string) qovery.EnterpriseConnectionDto
CreateConnectionUpdateDto creates a DTO for updating enterprise connection
func ParseIdpGroupNames ¶
ParseIdpGroupNames parses comma-separated IDP group names
Types ¶
type EnterpriseConnectionService ¶
type EnterpriseConnectionService struct {
// contains filtered or unexported fields
}
EnterpriseConnectionService provides centralized operations for enterprise connections
func NewEnterpriseConnectionService ¶
func NewEnterpriseConnectionService(organizationName string) (*EnterpriseConnectionService, error)
NewEnterpriseConnectionService creates a new service instance with authentication
func (*EnterpriseConnectionService) DisplayEnterpriseConnection ¶
func (s *EnterpriseConnectionService) DisplayEnterpriseConnection(connection *qovery.EnterpriseConnectionDto) error
DisplayEnterpriseConnection displays the complete enterprise connection information
func (*EnterpriseConnectionService) DisplayGroupMappingsTable ¶
func (s *EnterpriseConnectionService) DisplayGroupMappingsTable(groupMappings map[string][]string) error
func (*EnterpriseConnectionService) GetEnterpriseConnection ¶
func (s *EnterpriseConnectionService) GetEnterpriseConnection(connectionName string) (*qovery.EnterpriseConnectionDto, error)
GetEnterpriseConnection retrieves an enterprise connection by name
func (*EnterpriseConnectionService) ListEnterpriseConnections ¶ added in v1.49.0
func (s *EnterpriseConnectionService) ListEnterpriseConnections(connectionName string) ([]qovery.EnterpriseConnectionDto, error)
func (*EnterpriseConnectionService) ResolveProvidedRoleNameOrCustomRoleId ¶
func (s *EnterpriseConnectionService) ResolveProvidedRoleNameOrCustomRoleId(roleName string) (string, error)
ResolveProvidedRoleNameOrCustomRoleId resolves a role name to its ID (handles both regular and custom roles)
func (*EnterpriseConnectionService) ResolveRoleDisplayName ¶
func (s *EnterpriseConnectionService) ResolveRoleDisplayName(roleIdOrName string) string
ResolveRoleDisplayName converts role UUID to display name if applicable
func (*EnterpriseConnectionService) UpdateEnterpriseConnection ¶
func (s *EnterpriseConnectionService) UpdateEnterpriseConnection(connectionName string, dto qovery.EnterpriseConnectionDto) (*qovery.EnterpriseConnectionDto, error)
UpdateEnterpriseConnection updates an enterprise connection
func (*EnterpriseConnectionService) ValidateRole ¶
func (s *EnterpriseConnectionService) ValidateRole(roleName string) error
ValidateRole checks if a role exists in the organization