MCPcopy Create free account

hub / github.com/allfro/traefikr / functions

Functions221 in github.com/allfro/traefikr

↓ 27 callersFunctionhandleFieldChange
(path: string[], newValue: any)
frontend/src/components/SchemaForm.tsx:113
↓ 6 callersFunctionfilterServices
(services: Resource[])
frontend/src/pages/Services.tsx:114
↓ 6 callersFunctiongetFieldLabel
(key: string, prop: SchemaProperty)
frontend/src/components/SchemaForm.tsx:176
↓ 5 callersFunctionisValidProtocol
Helper functions
backend/handlers/resources.go:343
↓ 5 callersFunctionisValidType
(protocol, resourceType string)
backend/handlers/resources.go:347
↓ 5 callersFunctionrenderObjectFields
(props: Record<string, SchemaProperty>, basePath: string[], requiredFields: string[])
frontend/src/components/SchemaForm.tsx:1430
↓ 4 callersFunctionfilterMiddlewares
(middlewares: Resource[])
frontend/src/pages/Middlewares.tsx:157
↓ 4 callersFunctiongetFieldValue
(path: string[])
frontend/src/components/SchemaForm.tsx:136
↓ 4 callersFunctionupdateCondition
(groupId: string, conditionId: string, field: keyof RuleCondition, value: any)
frontend/src/components/HTTPRuleBuilder.tsx:77
↓ 3 callersMethodCreate
Create inserts a new User into the database
backend/dal/user_repository.go:20
↓ 3 callersMethodFindByKey
FindByKey finds an API key by its key string
backend/dal/api_key_repository.go:25
↓ 3 callersMethodIsEnabled
IsEnabled returns true if TRAEFIK_CONFIG_PATH is configured
backend/utils/toml_writer.go:27
↓ 3 callersMethodUpdate
Update updates an existing User
backend/dal/user_repository.go:45
↓ 3 callersMethodWriteServerTransport
WriteServerTransport writes a serverTransport configuration to a TOML file
backend/utils/toml_writer.go:39
↓ 3 callersFunctionhandleDelete
(protocol: string, router: Resource)
frontend/src/pages/Routers.tsx:85
↓ 3 callersFunctionhandleNestedArrayChange
(newArrayValue: any[])
frontend/src/components/SchemaForm.tsx:1340
↓ 3 callersFunctionhandleRemoveItem
(index: number)
frontend/src/components/SchemaForm.tsx:674
↓ 3 callersFunctionhandleView
(protocol: string, router: Resource)
frontend/src/pages/Routers.tsx:99
↓ 3 callersFunctionparseNameProvider
(nameProvider string)
backend/handlers/resources.go:367
↓ 3 callersFunctionrenderServiceCard
(protocol: string, service: Resource)
frontend/src/pages/Services.tsx:127
↓ 3 callersFunctionupdateCondition
(groupId: string, conditionId: string, field: keyof RuleCondition, value: any)
frontend/src/components/TCPRuleBuilder.tsx:73
↓ 3 callersFunctionuseAuth
()
frontend/src/contexts/AuthContext.tsx:80
↓ 2 callersMethodCount
Count returns the total number of users
backend/dal/user_repository.go:50
↓ 2 callersMethodDelete
Delete removes a User by ID
backend/dal/user_repository.go:57
↓ 2 callersMethodFindByID
FindByID finds a user by ID
backend/dal/user_repository.go:35
↓ 2 callersMethodGetEntrypoints
GetEntrypoints fetches all entrypoints from Traefik
backend/utils/traefik_client.go:55
↓ 2 callersMethodGetResources
GetResources fetches resources of a specific type from Traefik
backend/utils/traefik_client.go:100
↓ 2 callersFunctionbuildRule
()
frontend/src/components/HTTPRuleBuilder.tsx:132
↓ 2 callersFunctionbuildRule
()
frontend/src/components/TCPRuleBuilder.tsx:128
↓ 2 callersMethoddoRequest
doRequest performs an HTTP GET request with authentication headers if configured
backend/utils/traefik_client.go:38
↓ 2 callersMethodgenerateFilename
generateFilename creates a filename using protocol, type, and SHA256 hash of the transport name
backend/utils/toml_writer.go:32
↓ 2 callersFunctiongetMiddlewareType
(middleware: Resource)
frontend/src/pages/Middlewares.tsx:43
↓ 2 callersFunctiongetPlaceholder
(type: string, isKey?: boolean)
frontend/src/components/HTTPRuleBuilder.tsx:205
↓ 2 callersFunctionhandleItemChange
(index: number, newValue: any)
frontend/src/components/SchemaForm.tsx:679
↓ 2 callersFunctionhandleKeyChange
(oldKey: string, newKey: string)
frontend/src/components/SchemaForm.tsx:849
↓ 2 callersFunctionhandleRemoveEntry
(keyToRemove: string)
frontend/src/components/SchemaForm.tsx:843
↓ 2 callersFunctionhandleValueChange
(entryKey: string, newValue: string)
frontend/src/components/SchemaForm.tsx:864
↓ 2 callersFunctionnormalizeTraefikResource
normalizeTraefikResource transforms a Traefik API resource to match our database schema
backend/handlers/resources.go:376
↓ 2 callersFunctionrenderArrayField
(key: string, prop: SchemaProperty, path: string[], isRequired: boolean)
frontend/src/components/SchemaForm.tsx:632
↓ 2 callersFunctionrenderMiddlewareCard
(protocol: string, middleware: Resource)
frontend/src/pages/Middlewares.tsx:168
↓ 2 callersFunctionrenderTransportTable
(protocol: string, transports: any[], isLoading: boolean)
frontend/src/pages/Transports.tsx:171
↓ 2 callersFunctionresolveSchema
(schema: any, rootSchema?: any)
frontend/src/lib/schemaResolver.ts:40
↓ 1 callersFunctionAuthMiddleware
AuthMiddleware checks for valid API key in x-traefikr-key header
backend/middleware/auth.go:13
↓ 1 callersMethodDeleteServerTransport
DeleteServerTransport removes the TOML file for a serverTransport
backend/utils/toml_writer.go:77
↓ 1 callersMethodFindAll
FindAll returns all API keys
backend/dal/api_key_repository.go:45
↓ 1 callersMethodFindAllEnabled
FindAllEnabled finds all enabled TraefikConfigs
backend/dal/traefik_config_repository.go:44
↓ 1 callersMethodFindByProtocolAndType
FindByProtocolAndType finds all enabled configs for a specific protocol and type
backend/dal/traefik_config_repository.go:36
↓ 1 callersMethodFindByUsername
FindByUsername finds a user by username
backend/dal/user_repository.go:25
↓ 1 callersMethodFindServerTransports
FindServerTransports finds all enabled serverTransport configs
backend/dal/traefik_config_repository.go:51
↓ 1 callersFunctionGetSchema
GetSchema returns the schema for a given protocol and type
backend/schemas/validator.go:82
↓ 1 callersMethodMaskKey
MaskKey returns the first 8 characters followed by ellipsis
backend/models/api_key.go:29
↓ 1 callersMethodToResponse
ToResponse converts APIKey to APIKeyResponse with masked key
backend/models/api_key.go:37
↓ 1 callersFunctionaddCondition
(groupId: string)
frontend/src/components/HTTPRuleBuilder.tsx:57
↓ 1 callersFunctionaddCondition
(groupId: string)
frontend/src/components/TCPRuleBuilder.tsx:53
↓ 1 callersFunctioncanDelete
(router: Resource)
frontend/src/pages/Routers.tsx:298
↓ 1 callersFunctioncanEdit
(router: Resource)
frontend/src/pages/Routers.tsx:297
↓ 1 callersFunctionextractSubtypeSchema
( fullSchema: JsonSchema, subtype: 'loadBalancer' | 'weighted' | 'mirroring' | 'failover' )
frontend/src/lib/schemaResolver.ts:82
↓ 1 callersFunctionfilterTransportsByProtocol
(protocol: string)
frontend/src/pages/Transports.tsx:130
↓ 1 callersFunctiongenerateAPIKey
Helper function to generate secure random API key
backend/handlers/provider.go:114
↓ 1 callersFunctiongenerateRandomPassword
(length int)
backend/main.go:88
↓ 1 callersFunctiongetDefaultItemValue
()
frontend/src/components/SchemaForm.tsx:662
↓ 1 callersFunctiongetDescription
(type: string)
frontend/src/components/HTTPRuleBuilder.tsx:247
↓ 1 callersFunctiongetDescription
(type: string)
frontend/src/components/TCPRuleBuilder.tsx:191
↓ 1 callersFunctiongetMiddlewareConfig
(middleware: Resource)
frontend/src/pages/Middlewares.tsx:68
↓ 1 callersFunctiongetMiddlewareInfo
(name: string)
frontend/src/components/MiddlewareOrderList.tsx:81
↓ 1 callersFunctiongetPlaceholder
(type: string)
frontend/src/components/TCPRuleBuilder.tsx:176
↓ 1 callersFunctionhandleDelete
(protocol: string, service: Resource)
frontend/src/pages/Services.tsx:95
↓ 1 callersFunctionhandleDelete
(protocol: string, nameProvider: string)
frontend/src/pages/Transports.tsx:72
↓ 1 callersFunctionhandleDelete
(protocol: string, middleware: Resource)
frontend/src/pages/Middlewares.tsx:137
↓ 1 callersFunctionhandleDeleteKey
(id: number, name: string)
frontend/src/pages/Settings.tsx:110
↓ 1 callersFunctionhandleDownload
(transport: any)
frontend/src/pages/Transports.tsx:95
↓ 1 callersFunctionhandleEdit
(protocol: string, service: Resource)
frontend/src/pages/Services.tsx:85
↓ 1 callersFunctionhandleEdit
(protocol: string, middleware: Resource)
frontend/src/pages/Middlewares.tsx:127
↓ 1 callersFunctionhandleItemFieldChange
(index: number, fieldPath: string[], newValue: any)
frontend/src/components/SchemaForm.tsx:685
↓ 1 callersFunctionhandleRemove
(index: number)
frontend/src/components/MiddlewareOrderList.tsx:65
↓ 1 callersFunctionhandleSort
(key: string)
frontend/src/components/DataTable.tsx:131
↓ 1 callersFunctionhandleView
(protocol: string, service: Resource)
frontend/src/pages/Services.tsx:109
↓ 1 callersFunctionhandleView
(protocol: string, middleware: Resource)
frontend/src/pages/Middlewares.tsx:152
↓ 1 callersFunctionhasProxyProtocol
(transport: any)
frontend/src/pages/Transports.tsx:163
↓ 1 callersFunctionhasSPIFFE
(transport: any)
frontend/src/pages/Transports.tsx:167
↓ 1 callersFunctionhasTLS
(transport: any)
frontend/src/pages/Transports.tsx:159
↓ 1 callersFunctionisSpecialField
(key: string, prop: SchemaProperty)
frontend/src/components/SchemaForm.tsx:145
↓ 1 callersFunctionlogin
(username: string, password: string)
frontend/src/contexts/AuthContext.tsx:46
↓ 1 callersFunctionlogout
()
frontend/src/contexts/AuthContext.tsx:63
↓ 1 callersFunctionneedsKeyValue
(type: string)
frontend/src/components/HTTPRuleBuilder.tsx:276
↓ 1 callersFunctionremoveCondition
(groupId: string, conditionId: string)
frontend/src/components/HTTPRuleBuilder.tsx:94
↓ 1 callersFunctionremoveCondition
(groupId: string, conditionId: string)
frontend/src/components/TCPRuleBuilder.tsx:90
↓ 1 callersFunctionremoveGroup
(groupId: string)
frontend/src/components/HTTPRuleBuilder.tsx:117
↓ 1 callersFunctionremoveGroup
(groupId: string)
frontend/src/components/TCPRuleBuilder.tsx:113
↓ 1 callersFunctionrenderField
(key: string, prop: SchemaProperty, path: string[], isRequired: boolean)
frontend/src/components/SchemaForm.tsx:186
↓ 1 callersFunctionrenderKeyValueField
(key: string, prop: SchemaProperty, path: string[], isRequired: boolean)
frontend/src/components/SchemaForm.tsx:809
↓ 1 callersFunctionrenderNestedField
( key: string, prop: SchemaProperty, fieldPath: string[], isRequired: boolean, value: any,
frontend/src/components/SchemaForm.tsx:1037
↓ 1 callersFunctionrenderParentRefsField
(key: string, prop: SchemaProperty, path: string[], isRequired: boolean)
frontend/src/components/SchemaForm.tsx:937
↓ 1 callersFunctionresolveRef
* Resolve a single $ref pointer
frontend/src/lib/schemaResolver.ts:22
↓ 1 callersFunctionsetupRoutes
(r *gin.Engine, userRepo *dal.UserRepository, apiKeyRepo *dal.APIKeyRepository, configRepo *dal.TraefikConfigR
backend/main.go:96
↓ 1 callersFunctionupdateGroupOperator
(groupId: string, operator: 'AND' | 'OR')
frontend/src/components/HTTPRuleBuilder.tsx:123
↓ 1 callersFunctionupdateGroupOperator
(groupId: string, operator: 'AND' | 'OR')
frontend/src/components/TCPRuleBuilder.tsx:119
FunctionApp
()
frontend/src/App.tsx:32
FunctionAuthProvider
({ children }: { children: ReactNode })
frontend/src/contexts/AuthContext.tsx:18
FunctionBootstrapServerTransports
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