dao

package
v0.0.0-...-8fb0621 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDomainLibrary

func AddDomainLibrary(database *gorm.DB, domain models.Domain, library models.Library) (err error)

func AddDomainTag

func AddDomainTag(database *gorm.DB, domain models.Domain, tag models.Tag) (err error)

func CreateAuthorization

func CreateAuthorization(database *gorm.DB, authorization *models.Authorization) (err error)

func CreateConnectorProduct

func CreateConnectorProduct(database *gorm.DB, connectorProduct *models.ConnectorProduct) (err error)

func CreateDomain

func CreateDomain(database *gorm.DB, domain *models.Domain, parentDomainID uuid.UUID) (err error)

func CreateEnvironment

func CreateEnvironment(database *gorm.DB, environment *models.Environment) (err error)

func CreateEnvironmentType

func CreateEnvironmentType(database *gorm.DB, environmentType *models.EnvironmentType) (err error)

func CreateEventType

func CreateEventType(database *gorm.DB, eventType *models.EventType) (err error)

func CreateEventTypeToPoll

func CreateEventTypeToPoll(database *gorm.DB, eventTypeToPoll *models.EventTypeToPoll) (err error)

func CreateLibrary

func CreateLibrary(database *gorm.DB, library *models.Library) (err error)

func CreateProduct

func CreateProduct(database *gorm.DB, product *models.Product) (err error)

func CreateResource

func CreateResource(database *gorm.DB, resource *models.Resource) (err error)

func CreateResourceAuthorization

func CreateResourceAuthorization(database *gorm.DB, resourceAuthorization *models.ResourceAuthorization) (err error)

func CreateResourceType

func CreateResourceType(database *gorm.DB, resourceType *models.ResourceType) (err error)

func CreateRole

func CreateRole(database *gorm.DB, role *models.Role) (err error)

func CreateSecretAssignement

func CreateSecretAssignement(database *gorm.DB, secretAssignement *models.SecretAssignement) (err error)

func CreateTag

func CreateTag(database *gorm.DB, tag *models.Tag, parentTagID uuid.UUID) (err error)

func CreateTenant

func CreateTenant(database *gorm.DB, tenant *models.Tenant) (err error)

func CreateUser

func CreateUser(database *gorm.DB, user *models.User) (err error)

func DeleteAuthorization

func DeleteAuthorization(database *gorm.DB, id uuid.UUID) (err error)

func DeleteConnectorProduct

func DeleteConnectorProduct(database *gorm.DB, id uuid.UUID) (err error)

func DeleteDomain

func DeleteDomain(database *gorm.DB, id uuid.UUID) (err error)

func DeleteEnvironment

func DeleteEnvironment(database *gorm.DB, id uuid.UUID) (err error)

func DeleteEnvironmentType

func DeleteEnvironmentType(database *gorm.DB, id uuid.UUID) (err error)

func DeleteEventType

func DeleteEventType(database *gorm.DB, id uuid.UUID) (err error)

func DeleteEventTypeToPoll

func DeleteEventTypeToPoll(database *gorm.DB, id uuid.UUID) (err error)

func DeleteLibrary

func DeleteLibrary(database *gorm.DB, id uuid.UUID) (err error)

func DeleteProduct

func DeleteProduct(database *gorm.DB, id uuid.UUID) (err error)

func DeleteResource

func DeleteResource(database *gorm.DB, id uuid.UUID) (err error)

func DeleteResourceAuthorization

func DeleteResourceAuthorization(database *gorm.DB, id uuid.UUID) (err error)

func DeleteResourceType

func DeleteResourceType(database *gorm.DB, id uuid.UUID) (err error)

func DeleteRole

func DeleteRole(database *gorm.DB, id uuid.UUID) (err error)

func DeleteSecretAssignement

func DeleteSecretAssignement(database *gorm.DB, secret string) (err error)

func DeleteTag

func DeleteTag(database *gorm.DB, id uuid.UUID) (err error)

func DeleteTenant

func DeleteTenant(database *gorm.DB, id uuid.UUID) (err error)

func DeleteUser

func DeleteUser(database *gorm.DB, id uuid.UUID) (err error)

func ListAuthorization

func ListAuthorization(database *gorm.DB) (authorizations []models.Authorization, err error)

func ListConnectorProduct

func ListConnectorProduct(database *gorm.DB) (connectorProducts []models.ConnectorProduct, err error)

func ListDomain

func ListDomain(database *gorm.DB) (domains []models.Domain, err error)

func ListDomainLibrary

func ListDomainLibrary(database *gorm.DB, domain models.Domain) (libraries []models.Library, err error)

func ListDomainTag

func ListDomainTag(database *gorm.DB, domain models.Domain) (tags []models.Tag, err error)

func ListEnvironment

func ListEnvironment(database *gorm.DB) (environments []models.Environment, err error)

func ListEnvironmentType

func ListEnvironmentType(database *gorm.DB) (environmentTypes []models.EnvironmentType, err error)

func ListEventType

func ListEventType(database *gorm.DB) (eventTypes []models.EventType, err error)

func ListEventTypeToPoll

func ListEventTypeToPoll(database *gorm.DB) (eventTypeToPolls []models.EventTypeToPoll, err error)

func ListLibrary

func ListLibrary(database *gorm.DB) (librarys []models.Library, err error)

func ListLogicalComponent

func ListLogicalComponent(database *gorm.DB) (logicalComponent []models.LogicalComponent, err error)

func ListLogicalComponentAggregator

func ListLogicalComponentAggregator(database *gorm.DB) (logicalComponent []models.LogicalComponent, err error)

func ListLogicalComponentConnector

func ListLogicalComponentConnector(database *gorm.DB) (logicalComponent []models.LogicalComponent, err error)

func ListProduct

func ListProduct(database *gorm.DB) (products []models.Product, err error)

func ListResource

func ListResource(database *gorm.DB) (resources []models.Resource, err error)

func ListResourceAuthorization

func ListResourceAuthorization(database *gorm.DB) (resourceAuthorizations []models.ResourceAuthorization, err error)

func ListResourceType

func ListResourceType(database *gorm.DB) (resourceTypes []models.ResourceType, err error)

func ListRole

func ListRole(database *gorm.DB) (roles []models.Role, err error)

func ListSecretAssignement

func ListSecretAssignement(database *gorm.DB) (secretAssignement []models.SecretAssignement, err error)

func ListTag

func ListTag(database *gorm.DB) (tags []models.Tag, err error)

func ListTenant

func ListTenant(database *gorm.DB) (tenants []models.Tenant, err error)

func ListUser

func ListUser(database *gorm.DB) (users []models.User, err error)

func ReadAdminByName

func ReadAdminByName(database *gorm.DB, name string) (user models.User, err error)

func ReadAuthorization

func ReadAuthorization(database *gorm.DB, id uuid.UUID) (authorization models.Authorization, err error)

func ReadConnectorProduct

func ReadConnectorProduct(database *gorm.DB, id uuid.UUID) (connectorProduct models.ConnectorProduct, err error)

func ReadDomain

func ReadDomain(database *gorm.DB, id uuid.UUID) (domain models.Domain, err error)

func ReadDomainByName

func ReadDomainByName(database *gorm.DB, name string) (domain models.Domain, err error)

func ReadEnvironment

func ReadEnvironment(database *gorm.DB, id uuid.UUID) (environment models.Environment, err error)

func ReadEnvironmentType

func ReadEnvironmentType(database *gorm.DB, id uuid.UUID) (environmentType models.EnvironmentType, err error)

func ReadEventType

func ReadEventType(database *gorm.DB, id uuid.UUID) (eventType models.EventType, err error)

func ReadEventTypeByName

func ReadEventTypeByName(database *gorm.DB, name string) (eventType models.EventType, err error)

func ReadEventTypeToPoll

func ReadEventTypeToPoll(database *gorm.DB, id uuid.UUID) (eventTypeToPoll models.EventTypeToPoll, err error)

func ReadLibrary

func ReadLibrary(database *gorm.DB, id uuid.UUID) (library models.Library, err error)

func ReadLogicalComponentByName

func ReadLogicalComponentByName(database *gorm.DB, name string) (logicalComponent models.LogicalComponent, err error)

func ReadProduct

func ReadProduct(database *gorm.DB, id uuid.UUID) (product models.Product, err error)

func ReadResource

func ReadResource(database *gorm.DB, id uuid.UUID) (resource models.Resource, err error)

func ReadResourceAuthorization

func ReadResourceAuthorization(database *gorm.DB, id uuid.UUID) (resourceAuthorization models.ResourceAuthorization, err error)

func ReadResourceByName

func ReadResourceByName(database *gorm.DB, name string) (resource models.Resource, err error)

func ReadResourceType

func ReadResourceType(database *gorm.DB, id uuid.UUID) (resourceType models.ResourceType, err error)

func ReadResourceTypeByName

func ReadResourceTypeByName(database *gorm.DB, name string) (resourceType models.ResourceType, err error)

func ReadRole

func ReadRole(database *gorm.DB, id uuid.UUID) (role models.Role, err error)

func ReadTag

func ReadTag(database *gorm.DB, id uuid.UUID) (tag models.Tag, err error)

func ReadTagByName

func ReadTagByName(database *gorm.DB, name string) (tag models.Tag, err error)

func ReadTenant

func ReadTenant(database *gorm.DB, id uuid.UUID) (tenant models.Tenant, err error)

func ReadUser

func ReadUser(database *gorm.DB, id uuid.UUID) (user models.User, err error)

func ReadUserByEmail

func ReadUserByEmail(database *gorm.DB, email string) (user models.User, err error)

func ReadUserByName

func ReadUserByName(database *gorm.DB, name string) (user models.User, err error)

func RemoveDomainLibrary

func RemoveDomainLibrary(database *gorm.DB, domain models.Domain, library models.Library) (err error)

func RemoveDomainTag

func RemoveDomainTag(database *gorm.DB, domain models.Domain, tag models.Tag) (err error)

func TreeDomain

func TreeDomain(database *gorm.DB) (result *models.Domain, err error)

func TreeRecursiveDomain

func TreeRecursiveDomain(domain *models.Domain, results []*models.Domain)

func TreeRecursiveTag

func TreeRecursiveTag(tag *models.Tag, results []*models.Tag)

func TreeTag

func TreeTag(database *gorm.DB) (result *models.Tag, err error)

func UpdateAuthorization

func UpdateAuthorization(database *gorm.DB, authorization models.Authorization) (err error)

func UpdateConnectorProduct

func UpdateConnectorProduct(database *gorm.DB, connectorProduct models.ConnectorProduct) (err error)

func UpdateDomain

func UpdateDomain(database *gorm.DB, domain models.Domain) (err error)

func UpdateEnvironment

func UpdateEnvironment(database *gorm.DB, environment models.Environment) (err error)

func UpdateEnvironmentType

func UpdateEnvironmentType(database *gorm.DB, environmentType models.EnvironmentType) (err error)

func UpdateEventType

func UpdateEventType(database *gorm.DB, eventType models.EventType) (err error)

func UpdateEventTypeToPoll

func UpdateEventTypeToPoll(database *gorm.DB, eventTypeToPoll models.EventTypeToPoll) (err error)

func UpdateLibrary

func UpdateLibrary(database *gorm.DB, library models.Library) (err error)

func UpdateProduct

func UpdateProduct(database *gorm.DB, product models.Product) (err error)

func UpdateResource

func UpdateResource(database *gorm.DB, resource models.Resource) (err error)

func UpdateResourceAuthorization

func UpdateResourceAuthorization(database *gorm.DB, resourceAuthorization models.ResourceAuthorization) (err error)

func UpdateResourceType

func UpdateResourceType(database *gorm.DB, resourceType models.ResourceType) (err error)

func UpdateRole

func UpdateRole(database *gorm.DB, role models.Role) (err error)

func UpdateTag

func UpdateTag(database *gorm.DB, tag models.Tag) (err error)

func UpdateTenant

func UpdateTenant(database *gorm.DB, tenant models.Tenant) (err error)

func UpdateUser

func UpdateUser(database *gorm.DB, user models.User) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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