MCPcopy Create free account

hub / github.com/allfro/traefikr / functions

Functions221 in github.com/allfro/traefikr

MethodChangePassword
ChangePassword allows authenticated users to change their password
backend/handlers/auth.go:81
FunctionChangePasswordModal
({ opened, onClose }: ChangePasswordModalProps)
frontend/src/components/ChangePasswordModal.tsx:11
FunctionConditionalAuthMiddleware
ConditionalAuthMiddleware applies auth only if API keys exist in database
backend/middleware/auth.go:41
MethodCount
Count returns the total number of API keys
backend/dal/api_key_repository.go:52
MethodCount
Count returns the total number of TraefikConfigs
backend/dal/traefik_config_repository.go:70
MethodCreate
Create inserts a new APIKey into the database
backend/dal/api_key_repository.go:20
MethodCreate
Create inserts a new TraefikConfig into the database
backend/dal/traefik_config_repository.go:20
MethodCreateAPIKey
CreateAPIKey handles POST /api/http/provider
backend/handlers/provider.go:41
MethodCreateResource
CreateResource handles POST /api/{protocol}/{type}
backend/handlers/resources.go:156
FunctionDashboard
()
frontend/src/pages/Dashboard.tsx:6
FunctionDataTable
({ columns, data, isLoading = false, onRowClick, onEdit, onDelete, onView, getRowKey, canEdi
frontend/src/components/DataTable.tsx:52
MethodDelete
Delete removes an API key by ID
backend/dal/api_key_repository.go:59
MethodDelete
Delete removes a TraefikConfig by its composite primary key
backend/dal/traefik_config_repository.go:63
MethodDeleteAPIKey
DeleteAPIKey handles DELETE /api/http/provider/{id}
backend/handlers/provider.go:89
MethodDeleteResource
DeleteResource handles DELETE /api/{protocol}/{type}/{name@provider}
backend/handlers/resources.go:287
FunctionEntryPointSelector
({ value, onChange, label = 'Entry Points', description, placeholder = 'Select entry points', requ
frontend/src/components/EntryPointSelector.tsx:16
FunctionEntrypoints
()
frontend/src/pages/Entrypoints.tsx:36
MethodFindByID
FindByID finds an API key by its ID
backend/dal/api_key_repository.go:35
MethodFindByKey
FindByKey finds a TraefikConfig by its composite primary key
backend/dal/traefik_config_repository.go:25
FunctionGenerateJWT
GenerateJWT creates a new JWT token for a user
backend/middleware/jwt.go:41
MethodGetConfig
GetConfig handles GET /api/config Returns the full Traefik configuration in HTTP provider format
backend/handlers/config.go:50
MethodGetEntrypoint
GetEntrypoint fetches a specific entrypoint from Traefik by name
backend/utils/traefik_client.go:80
MethodGetEntrypoint
GetEntrypoint handles GET /api/entrypoints/{name}
backend/handlers/entrypoints.go:33
MethodGetResource
GetResource fetches a specific resource by name and provider from Traefik
backend/utils/traefik_client.go:131
MethodGetResource
GetResource handles GET /api/{protocol}/{type}/{name@provider}
backend/handlers/resources.go:105
MethodGetSchema
GetSchema handles GET /api/{protocol}/{type}/schema.json
backend/handlers/resources.go:327
FunctionHTTPMiddlewareForm
()
frontend/src/pages/HTTPMiddlewareForm.tsx:21
FunctionHTTPRouterForm
()
frontend/src/pages/HTTPRouterForm.tsx:21
FunctionHTTPRuleBuilder
({ opened, onClose, initialRule, onSave }: HTTPRuleBuilderProps)
frontend/src/components/HTTPRuleBuilder.tsx:51
FunctionHTTPServerTransportForm
()
frontend/src/pages/HTTPServerTransportForm.tsx:21
FunctionHTTPServiceForm
()
frontend/src/pages/HTTPServiceForm.tsx:22
FunctionInitDB
()
backend/models/database.go:12
FunctionJWTAuthMiddleware
JWTAuthMiddleware validates JWT tokens from Authorization header
backend/middleware/jwt.go:56
FunctionLayout
()
frontend/src/components/Layout.tsx:21
MethodListAPIKeys
ListAPIKeys handles GET /api/http/provider
backend/handlers/provider.go:24
MethodListEntrypoints
ListEntrypoints handles GET /api/entrypoints
backend/handlers/entrypoints.go:22
MethodListResources
ListResources handles GET /api/{protocol}/{type} Query param: traefik=true|false (default: false) - false: returns only resources from database - true
backend/handlers/resources.go:35
FunctionLogin
()
frontend/src/pages/Login.tsx:7
MethodLogin
Login authenticates a user and returns a JWT token
backend/handlers/auth.go:41
FunctionMiddlewareOrderList
({ protocol, value, onChange, label = 'Middlewares', description = 'Order matters: middlewares are e
frontend/src/components/MiddlewareOrderList.tsx:29
FunctionMiddlewareProtocolSelector
()
frontend/src/pages/MiddlewareProtocolSelector.tsx:19
FunctionMiddlewareSchemaForm
({ protocol, middlewareType, value, onChange, disabled = false, readonly = false, }: MiddlewareSch
frontend/src/components/MiddlewareSchemaForm.tsx:22
FunctionMiddlewareTypeSelector
()
frontend/src/pages/MiddlewareTypeSelector.tsx:21
FunctionMiddlewares
()
frontend/src/pages/Middlewares.tsx:80
FunctionNewAPIKeyRepository
NewAPIKeyRepository creates a new repository instance
backend/dal/api_key_repository.go:15
FunctionNewAuthHandler
(repo *dal.UserRepository)
backend/handlers/auth.go:17
FunctionNewConfigHandler
(repo *dal.TraefikConfigRepository)
backend/handlers/config.go:15
FunctionNewEntrypointsHandler
()
backend/handlers/entrypoints.go:15
FunctionNewProviderHandler
(repo *dal.APIKeyRepository)
backend/handlers/provider.go:19
FunctionNewResourceHandler
(repo *dal.TraefikConfigRepository)
backend/handlers/resources.go:23
FunctionNewTomlWriter
NewTomlWriter creates a new TomlWriter instance
backend/utils/toml_writer.go:19
FunctionNewTraefikClient
()
backend/utils/traefik_client.go:21
FunctionNewTraefikConfigRepository
NewTraefikConfigRepository creates a new repository instance
backend/dal/traefik_config_repository.go:15
FunctionNewUserRepository
NewUserRepository creates a new repository instance
backend/dal/user_repository.go:15
FunctionProtectedRoute
({ children }: { children: JSX.Element })
frontend/src/components/ProtectedRoute.tsx:4
FunctionProviderIcon
({ provider, showText = false, size = 20 }: ProviderIconProps)
frontend/src/components/ProviderIcon.tsx:35
FunctionResourceSelector
({ protocol, type, value, onChange, label, description, placeholder = 'Select a resource', req
frontend/src/components/ResourceSelector.tsx:21
FunctionResourceViewModal
({ opened, onClose, protocol, type, resourceName, config, resolvedSchema, }: ResourceViewModalPr
frontend/src/components/ResourceViewModal.tsx:18
FunctionRouterTypeSelector
()
frontend/src/pages/RouterTypeSelector.tsx:19
FunctionRouters
()
frontend/src/pages/Routers.tsx:29
MethodScan
Scan implements the sql.Scanner interface
backend/models/traefik_config.go:22
FunctionSchemaForm
({ protocol, type, value, onChange, disabled = false, resolvedSchema, readonly = false, }: Schem
frontend/src/components/SchemaForm.tsx:62
FunctionServiceSchemaForm
({ protocol, subtype, value, onChange, disabled = false, readonly = false, }: ServiceSchemaFormPro
frontend/src/components/ServiceSchemaForm.tsx:22
FunctionServiceSubtypeSelector
()
frontend/src/pages/ServiceSubtypeSelector.tsx:19
FunctionServiceTypeSelector
()
frontend/src/pages/ServiceTypeSelector.tsx:19
FunctionServices
()
frontend/src/pages/Services.tsx:29
FunctionSettings
()
frontend/src/pages/Settings.tsx:36
FunctionStatusIcon
({ enabled, enabledLabel = 'Enabled', disabledLabel = 'Disabled', size = 20 }: StatusIconProps)
frontend/src/components/StatusIcon.tsx:11
FunctionTCPRouterForm
()
frontend/src/pages/TCPRouterForm.tsx:21
FunctionTCPRuleBuilder
({ opened, onClose, initialRule, onSave }: TCPRuleBuilderProps)
frontend/src/components/TCPRuleBuilder.tsx:47
FunctionTCPServerTransportForm
()
frontend/src/pages/TCPServerTransportForm.tsx:21
FunctionTCPServiceForm
()
frontend/src/pages/TCPServiceForm.tsx:22
FunctionTLS
()
frontend/src/pages/TLS.tsx:31
FunctionTLSCertificateForm
()
frontend/src/pages/TLSCertificateForm.tsx:19
FunctionTLSOptionForm
()
frontend/src/pages/TLSOptionForm.tsx:50
FunctionTransportTypeSelector
()
frontend/src/pages/TransportTypeSelector.tsx:19
FunctionTransports
()
frontend/src/pages/Transports.tsx:40
FunctionUDPRouterForm
()
frontend/src/pages/UDPRouterForm.tsx:21
FunctionUDPServiceForm
()
frontend/src/pages/UDPServiceForm.tsx:22
MethodUpdate
Update updates an existing API key
backend/dal/api_key_repository.go:65
MethodUpdate
Update updates an existing TraefikConfig
backend/dal/traefik_config_repository.go:58
MethodUpdateResource
UpdateResource handles PUT /api/{protocol}/{type}/{name@provider}
backend/handlers/resources.go:225
FunctionValidate
Validate validates a JSON document against a schema
backend/schemas/validator.go:97
MethodValue
Value implements the driver.Valuer interface
backend/models/traefik_config.go:40
FunctionaddGroup
()
frontend/src/components/HTTPRuleBuilder.tsx:106
FunctionaddGroup
()
frontend/src/components/TCPRuleBuilder.tsx:102
Functioncn
(...inputs: ClassValue[])
frontend/src/lib/utils.ts:4
FunctiondeepClone
* Deeply clone an object
frontend/src/lib/schemaResolver.ts:15
FunctiongetProviderColor
(provider: string)
frontend/src/pages/Transports.tsx:148
FunctiongetProviderColor
(provider: string)
frontend/src/lib/utils.ts:21
FunctiongetProviderIcon
(provider: string)
frontend/src/lib/utils.ts:8
FunctiongetSubtypeConfigPath
( subtype: 'loadBalancer' | 'weighted' | 'mirroring' | 'failover' )
frontend/src/lib/schemaResolver.ts:115
FunctionhandleAdd
()
frontend/src/components/MiddlewareOrderList.tsx:58
FunctionhandleAddEntry
()
frontend/src/components/SchemaForm.tsx:838
FunctionhandleAddItem
()
frontend/src/components/SchemaForm.tsx:669
FunctionhandleBlur
()
frontend/src/components/ResourceSelector.tsx:78
FunctionhandleClose
()
frontend/src/components/ChangePasswordModal.tsx:75
FunctionhandleCloseGeneratedKeyModal
()
frontend/src/pages/Settings.tsx:124
FunctionhandleCreate
()
frontend/src/pages/Services.tsx:91
FunctionhandleCreate
()
frontend/src/pages/Middlewares.tsx:133
← previousnext →101–200 of 221, ranked by callers