Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/allfro/traefikr
/ functions
Functions
221 in github.com/allfro/traefikr
⨍
Functions
221
◇
Types & classes
69
↓ 27 callers
Function
handleFieldChange
(path: string[], newValue: any)
frontend/src/components/SchemaForm.tsx:113
↓ 6 callers
Function
filterServices
(services: Resource[])
frontend/src/pages/Services.tsx:114
↓ 6 callers
Function
getFieldLabel
(key: string, prop: SchemaProperty)
frontend/src/components/SchemaForm.tsx:176
↓ 5 callers
Function
isValidProtocol
Helper functions
backend/handlers/resources.go:343
↓ 5 callers
Function
isValidType
(protocol, resourceType string)
backend/handlers/resources.go:347
↓ 5 callers
Function
renderObjectFields
(props: Record<string, SchemaProperty>, basePath: string[], requiredFields: string[])
frontend/src/components/SchemaForm.tsx:1430
↓ 4 callers
Function
filterMiddlewares
(middlewares: Resource[])
frontend/src/pages/Middlewares.tsx:157
↓ 4 callers
Function
getFieldValue
(path: string[])
frontend/src/components/SchemaForm.tsx:136
↓ 4 callers
Function
updateCondition
(groupId: string, conditionId: string, field: keyof RuleCondition, value: any)
frontend/src/components/HTTPRuleBuilder.tsx:77
↓ 3 callers
Method
Create
Create inserts a new User into the database
backend/dal/user_repository.go:20
↓ 3 callers
Method
FindByKey
FindByKey finds an API key by its key string
backend/dal/api_key_repository.go:25
↓ 3 callers
Method
IsEnabled
IsEnabled returns true if TRAEFIK_CONFIG_PATH is configured
backend/utils/toml_writer.go:27
↓ 3 callers
Method
Update
Update updates an existing User
backend/dal/user_repository.go:45
↓ 3 callers
Method
WriteServerTransport
WriteServerTransport writes a serverTransport configuration to a TOML file
backend/utils/toml_writer.go:39
↓ 3 callers
Function
handleDelete
(protocol: string, router: Resource)
frontend/src/pages/Routers.tsx:85
↓ 3 callers
Function
handleNestedArrayChange
(newArrayValue: any[])
frontend/src/components/SchemaForm.tsx:1340
↓ 3 callers
Function
handleRemoveItem
(index: number)
frontend/src/components/SchemaForm.tsx:674
↓ 3 callers
Function
handleView
(protocol: string, router: Resource)
frontend/src/pages/Routers.tsx:99
↓ 3 callers
Function
parseNameProvider
(nameProvider string)
backend/handlers/resources.go:367
↓ 3 callers
Function
renderServiceCard
(protocol: string, service: Resource)
frontend/src/pages/Services.tsx:127
↓ 3 callers
Function
updateCondition
(groupId: string, conditionId: string, field: keyof RuleCondition, value: any)
frontend/src/components/TCPRuleBuilder.tsx:73
↓ 3 callers
Function
useAuth
()
frontend/src/contexts/AuthContext.tsx:80
↓ 2 callers
Method
Count
Count returns the total number of users
backend/dal/user_repository.go:50
↓ 2 callers
Method
Delete
Delete removes a User by ID
backend/dal/user_repository.go:57
↓ 2 callers
Method
FindByID
FindByID finds a user by ID
backend/dal/user_repository.go:35
↓ 2 callers
Method
GetEntrypoints
GetEntrypoints fetches all entrypoints from Traefik
backend/utils/traefik_client.go:55
↓ 2 callers
Method
GetResources
GetResources fetches resources of a specific type from Traefik
backend/utils/traefik_client.go:100
↓ 2 callers
Function
buildRule
()
frontend/src/components/HTTPRuleBuilder.tsx:132
↓ 2 callers
Function
buildRule
()
frontend/src/components/TCPRuleBuilder.tsx:128
↓ 2 callers
Method
doRequest
doRequest performs an HTTP GET request with authentication headers if configured
backend/utils/traefik_client.go:38
↓ 2 callers
Method
generateFilename
generateFilename creates a filename using protocol, type, and SHA256 hash of the transport name
backend/utils/toml_writer.go:32
↓ 2 callers
Function
getMiddlewareType
(middleware: Resource)
frontend/src/pages/Middlewares.tsx:43
↓ 2 callers
Function
getPlaceholder
(type: string, isKey?: boolean)
frontend/src/components/HTTPRuleBuilder.tsx:205
↓ 2 callers
Function
handleItemChange
(index: number, newValue: any)
frontend/src/components/SchemaForm.tsx:679
↓ 2 callers
Function
handleKeyChange
(oldKey: string, newKey: string)
frontend/src/components/SchemaForm.tsx:849
↓ 2 callers
Function
handleRemoveEntry
(keyToRemove: string)
frontend/src/components/SchemaForm.tsx:843
↓ 2 callers
Function
handleValueChange
(entryKey: string, newValue: string)
frontend/src/components/SchemaForm.tsx:864
↓ 2 callers
Function
normalizeTraefikResource
normalizeTraefikResource transforms a Traefik API resource to match our database schema
backend/handlers/resources.go:376
↓ 2 callers
Function
renderArrayField
(key: string, prop: SchemaProperty, path: string[], isRequired: boolean)
frontend/src/components/SchemaForm.tsx:632
↓ 2 callers
Function
renderMiddlewareCard
(protocol: string, middleware: Resource)
frontend/src/pages/Middlewares.tsx:168
↓ 2 callers
Function
renderTransportTable
(protocol: string, transports: any[], isLoading: boolean)
frontend/src/pages/Transports.tsx:171
↓ 2 callers
Function
resolveSchema
(schema: any, rootSchema?: any)
frontend/src/lib/schemaResolver.ts:40
↓ 1 callers
Function
AuthMiddleware
AuthMiddleware checks for valid API key in x-traefikr-key header
backend/middleware/auth.go:13
↓ 1 callers
Method
DeleteServerTransport
DeleteServerTransport removes the TOML file for a serverTransport
backend/utils/toml_writer.go:77
↓ 1 callers
Method
FindAll
FindAll returns all API keys
backend/dal/api_key_repository.go:45
↓ 1 callers
Method
FindAllEnabled
FindAllEnabled finds all enabled TraefikConfigs
backend/dal/traefik_config_repository.go:44
↓ 1 callers
Method
FindByProtocolAndType
FindByProtocolAndType finds all enabled configs for a specific protocol and type
backend/dal/traefik_config_repository.go:36
↓ 1 callers
Method
FindByUsername
FindByUsername finds a user by username
backend/dal/user_repository.go:25
↓ 1 callers
Method
FindServerTransports
FindServerTransports finds all enabled serverTransport configs
backend/dal/traefik_config_repository.go:51
↓ 1 callers
Function
GetSchema
GetSchema returns the schema for a given protocol and type
backend/schemas/validator.go:82
↓ 1 callers
Method
MaskKey
MaskKey returns the first 8 characters followed by ellipsis
backend/models/api_key.go:29
↓ 1 callers
Method
ToResponse
ToResponse converts APIKey to APIKeyResponse with masked key
backend/models/api_key.go:37
↓ 1 callers
Function
addCondition
(groupId: string)
frontend/src/components/HTTPRuleBuilder.tsx:57
↓ 1 callers
Function
addCondition
(groupId: string)
frontend/src/components/TCPRuleBuilder.tsx:53
↓ 1 callers
Function
canDelete
(router: Resource)
frontend/src/pages/Routers.tsx:298
↓ 1 callers
Function
canEdit
(router: Resource)
frontend/src/pages/Routers.tsx:297
↓ 1 callers
Function
extractSubtypeSchema
( fullSchema: JsonSchema, subtype: 'loadBalancer' | 'weighted' | 'mirroring' | 'failover' )
frontend/src/lib/schemaResolver.ts:82
↓ 1 callers
Function
filterTransportsByProtocol
(protocol: string)
frontend/src/pages/Transports.tsx:130
↓ 1 callers
Function
generateAPIKey
Helper function to generate secure random API key
backend/handlers/provider.go:114
↓ 1 callers
Function
generateRandomPassword
(length int)
backend/main.go:88
↓ 1 callers
Function
getDefaultItemValue
()
frontend/src/components/SchemaForm.tsx:662
↓ 1 callers
Function
getDescription
(type: string)
frontend/src/components/HTTPRuleBuilder.tsx:247
↓ 1 callers
Function
getDescription
(type: string)
frontend/src/components/TCPRuleBuilder.tsx:191
↓ 1 callers
Function
getMiddlewareConfig
(middleware: Resource)
frontend/src/pages/Middlewares.tsx:68
↓ 1 callers
Function
getMiddlewareInfo
(name: string)
frontend/src/components/MiddlewareOrderList.tsx:81
↓ 1 callers
Function
getPlaceholder
(type: string)
frontend/src/components/TCPRuleBuilder.tsx:176
↓ 1 callers
Function
handleDelete
(protocol: string, service: Resource)
frontend/src/pages/Services.tsx:95
↓ 1 callers
Function
handleDelete
(protocol: string, nameProvider: string)
frontend/src/pages/Transports.tsx:72
↓ 1 callers
Function
handleDelete
(protocol: string, middleware: Resource)
frontend/src/pages/Middlewares.tsx:137
↓ 1 callers
Function
handleDeleteKey
(id: number, name: string)
frontend/src/pages/Settings.tsx:110
↓ 1 callers
Function
handleDownload
(transport: any)
frontend/src/pages/Transports.tsx:95
↓ 1 callers
Function
handleEdit
(protocol: string, service: Resource)
frontend/src/pages/Services.tsx:85
↓ 1 callers
Function
handleEdit
(protocol: string, middleware: Resource)
frontend/src/pages/Middlewares.tsx:127
↓ 1 callers
Function
handleItemFieldChange
(index: number, fieldPath: string[], newValue: any)
frontend/src/components/SchemaForm.tsx:685
↓ 1 callers
Function
handleRemove
(index: number)
frontend/src/components/MiddlewareOrderList.tsx:65
↓ 1 callers
Function
handleSort
(key: string)
frontend/src/components/DataTable.tsx:131
↓ 1 callers
Function
handleView
(protocol: string, service: Resource)
frontend/src/pages/Services.tsx:109
↓ 1 callers
Function
handleView
(protocol: string, middleware: Resource)
frontend/src/pages/Middlewares.tsx:152
↓ 1 callers
Function
hasProxyProtocol
(transport: any)
frontend/src/pages/Transports.tsx:163
↓ 1 callers
Function
hasSPIFFE
(transport: any)
frontend/src/pages/Transports.tsx:167
↓ 1 callers
Function
hasTLS
(transport: any)
frontend/src/pages/Transports.tsx:159
↓ 1 callers
Function
isSpecialField
(key: string, prop: SchemaProperty)
frontend/src/components/SchemaForm.tsx:145
↓ 1 callers
Function
login
(username: string, password: string)
frontend/src/contexts/AuthContext.tsx:46
↓ 1 callers
Function
logout
()
frontend/src/contexts/AuthContext.tsx:63
↓ 1 callers
Function
needsKeyValue
(type: string)
frontend/src/components/HTTPRuleBuilder.tsx:276
↓ 1 callers
Function
removeCondition
(groupId: string, conditionId: string)
frontend/src/components/HTTPRuleBuilder.tsx:94
↓ 1 callers
Function
removeCondition
(groupId: string, conditionId: string)
frontend/src/components/TCPRuleBuilder.tsx:90
↓ 1 callers
Function
removeGroup
(groupId: string)
frontend/src/components/HTTPRuleBuilder.tsx:117
↓ 1 callers
Function
removeGroup
(groupId: string)
frontend/src/components/TCPRuleBuilder.tsx:113
↓ 1 callers
Function
renderField
(key: string, prop: SchemaProperty, path: string[], isRequired: boolean)
frontend/src/components/SchemaForm.tsx:186
↓ 1 callers
Function
renderKeyValueField
(key: string, prop: SchemaProperty, path: string[], isRequired: boolean)
frontend/src/components/SchemaForm.tsx:809
↓ 1 callers
Function
renderNestedField
( key: string, prop: SchemaProperty, fieldPath: string[], isRequired: boolean, value: any,
frontend/src/components/SchemaForm.tsx:1037
↓ 1 callers
Function
renderParentRefsField
(key: string, prop: SchemaProperty, path: string[], isRequired: boolean)
frontend/src/components/SchemaForm.tsx:937
↓ 1 callers
Function
resolveRef
* Resolve a single $ref pointer
frontend/src/lib/schemaResolver.ts:22
↓ 1 callers
Function
setupRoutes
(r *gin.Engine, userRepo *dal.UserRepository, apiKeyRepo *dal.APIKeyRepository, configRepo *dal.TraefikConfigR
backend/main.go:96
↓ 1 callers
Function
updateGroupOperator
(groupId: string, operator: 'AND' | 'OR')
frontend/src/components/HTTPRuleBuilder.tsx:123
↓ 1 callers
Function
updateGroupOperator
(groupId: string, operator: 'AND' | 'OR')
frontend/src/components/TCPRuleBuilder.tsx:119
Function
App
()
frontend/src/App.tsx:32
Function
AuthProvider
({ children }: { children: ReactNode })
frontend/src/contexts/AuthContext.tsx:18
Function
BootstrapServerTransports
BootstrapServerTransports restores all serverTransport TOML files from database on startup This ensures the filesystem state matches the database (sou
backend/dal/bootstrap.go:11
next →
1–100 of 221, ranked by callers