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

org

package
v0.5.14 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchMembersOfOrganization added in v0.5.1

func FetchMembersOfOrganization(ctx core.Context) ([]core.User, error)

func NewHttpController

func NewHttpController(repository repository, rbacProvider accesscontrol.RBACProvider, projectService projectService, invitationRepository invitationRepository) *httpController

Types

type OrgDTO added in v0.5.14

type OrgDTO struct {
	models.Model
	Name                   string           `json:"name" gorm:"type:text"`
	ContactPhoneNumber     *string          `json:"contactPhoneNumber" gorm:"type:text"`
	NumberOfEmployees      *int             `json:"numberOfEmployees"`
	Country                *string          `json:"country" gorm:"type:text"`
	Industry               *string          `json:"industry" gorm:"type:text"`
	CriticalInfrastructure bool             `json:"criticalInfrastructure"`
	ISO27001               bool             `json:"iso27001"`
	NIST                   bool             `json:"nist"`
	Grundschutz            bool             `json:"grundschutz"`
	Projects               []models.Project `json:"projects" gorm:"foreignKey:OrganizationID;"`
	Slug                   string           `json:"slug" gorm:"type:text;unique;not null;index"`
	Description            string           `json:"description" gorm:"type:text"`

	GithubAppInstallations []models.GithubAppInstallation `json:"githubAppInstallations" gorm:"foreignKey:OrgID;"`

	GitLabIntegrations []obj.GitlabIntegrationDTO `json:"gitLabIntegrations" gorm:"foreignKey:OrgID;"`

	IsPublic bool `json:"isPublic" gorm:"default:false;"`
}

Jump to

Keyboard shortcuts

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