Help us shape the future of Go! Take the 2026 Go Developer Survey

enterpriseconnection

package
v1.57.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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

func ParseIdpGroupNames(idpGroupNames string) []string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL