Documentation ¶
Index ¶
Constants ¶
View Source
const ( SYSTEM_USER_ID = 1 PROJECT_TYPE = "team" ENV_TYPE = "environment" APP_TYPE = "app" WorkflowType = "workflow" CHART_GROUP_TYPE = "chart-group" MANAGER_TYPE RoleType = "manager" ADMIN_TYPE RoleType = "admin" TRIGGER_TYPE RoleType = "trigger" VIEW_TYPE RoleType = "view" ENTITY_ALL_TYPE RoleType = "entityAll" ENTITY_VIEW_TYPE RoleType = "entityView" ENTITY_SPECIFIC_TYPE RoleType = "entitySpecific" ENTITY_SPECIFIC_ADMIN_TYPE RoleType = "entitySpecificAdmin" ENTITY_SPECIFIC_VIEW_TYPE RoleType = "entitySpecificView" ROLE_SPECIFIC_TYPE RoleType = "roleSpecific" ENTITY_CLUSTER_ADMIN_TYPE RoleType = "clusterAdmin" ENTITY_CLUSTER_VIEW_TYPE RoleType = "clusterView" ADMIN_HELM_TYPE RoleType = "admin" EDIT_HELM_TYPE RoleType = "edit" VIEW_HELM_TYPE RoleType = "view" ENTITY_CLUSTER_EDIT_TYPE RoleType = "clusterEdit" SUPER_ADMIN = "super-admin" GLOBAL_ENTITY = "globalEntity" EMPTY_ROLEFILTER_ENTRY_PLACEHOLDER = "NONE" RoleNotFoundStatusPrefix = "role not fount for any given filter: " EmptyStringIndicatingAll = "" )
View Source
const ( ENTITY_APPS = "apps" EntityJobs = "jobs" CHART_GROUP_ENTITY = "chart-group" CLUSTER_ENTITIY = "cluster" )
View Source
const ( DEVTRON_APP = "devtron-app" APP_ACCESS_TYPE_HELM = "helm-app" )
View Source
const ( AdminUser string = "admin" SystemUser string = "system" )
View Source
const ( AdminUserId = 2 // we have established Admin user as 2 while setting up devtron SystemUserId = 1 // we have established System user as 1 while setting up devtron, which are being used for auto-trigger operations )
View Source
const ( API_TOKEN_USER_EMAIL_PREFIX = "API-TOKEN:" ApiTokenTableName = "api_token" )
View Source
const AnonymousUserEmail string = "anonymous"
View Source
const (
DefaultSize int = 20
)
View Source
const (
VALIDATION_FAILED_ERROR_MSG string = "validation failed: group name with , is not allowed"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MergingBaseKey ¶ added in v1.1.0
type MergingBaseKey string
const ( ApplicationBasedKey MergingBaseKey = "application" EnvironmentBasedKey MergingBaseKey = "environment" )
type RbacRoleDto ¶
type RbacRoleDto struct { Id int `json:"id"` // id of the default role RoleName string `json:"roleName"` RoleDisplayName string `json:"roleDisplayName"` RoleDescription string `json:"roleDescription"` *RbacPolicyEntityGroupDto }
Click to show internal directories.
Click to hide internal directories.