Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/NX211/traefik-proxmox-provider
/ functions
Functions
57 in github.com/NX211/traefik-proxmox-provider
⨍
Functions
57
◇
Types & classes
14
↓ 8 callers
Method
Get
Get performs a GET request to the Proxmox API
internal/client.go:118
↓ 5 callers
Method
GetTraefikMap
()
internal/models.go:54
↓ 3 callers
Function
NewService
(id uint64, name string, config map[string]string)
internal/models.go:50
↓ 3 callers
Function
stringToBool
Helper to convert string to bool
provider/provider.go:643
↓ 2 callers
Function
CreateConfig
CreateConfig creates the default plugin configuration.
provider/provider.go:30
↓ 2 callers
Method
GetIPs
()
internal/models.go:79
↓ 2 callers
Function
New
New creates a new Provider plugin.
provider/provider.go:47
↓ 2 callers
Function
getIPsOfService
(client *internal.ProxmoxClient, ctx context.Context, nodeName string, vmID uint64, isContainer bool)
provider/provider.go:202
↓ 2 callers
Function
getServiceURL
Helper to get service URL with correct port
provider/provider.go:572
↓ 2 callers
Function
mapKeysToSlice
Helper to convert map keys to slice
provider/provider.go:655
↓ 2 callers
Function
newParserConfig
(apiEndpoint, tokenID, token string, logLevel string, validateSSL bool)
provider/provider.go:157
↓ 2 callers
Method
updateConfiguration
(ctx context.Context, cfgChan chan<- json.Marshaler)
provider/provider.go:129
↓ 2 callers
Function
validateConfig
validateConfig validates the plugin configuration
provider/provider.go:668
↓ 1 callers
Method
Do
Do performs an HTTP request to the Proxmox API
internal/client.go:59
↓ 1 callers
Method
GetContainerConfig
GetContainerConfig retrieves the configuration of a container
internal/client.go:183
↓ 1 callers
Method
GetContainerNetworkInterfaces
GetContainerNetworkInterfaces retrieves network interfaces from a container
internal/client.go:207
↓ 1 callers
Method
GetContainers
GetContainers retrieves all containers on a node
internal/client.go:159
↓ 1 callers
Method
GetNodes
GetNodes retrieves all nodes in the Proxmox cluster
internal/client.go:135
↓ 1 callers
Method
GetVMConfig
GetVMConfig retrieves the configuration of a VM
internal/client.go:171
↓ 1 callers
Method
GetVMNetworkInterfaces
GetVMNetworkInterfaces retrieves network interfaces from a VM using the QEMU guest agent
internal/client.go:195
↓ 1 callers
Method
GetVersion
GetVersion retrieves the Proxmox version
internal/client.go:123
↓ 1 callers
Method
GetVirtualMachines
GetVirtualMachines retrieves all VMs on a node
internal/client.go:147
↓ 1 callers
Function
NewProxmoxClient
NewProxmoxClient creates a new Proxmox API client
internal/client.go:33
↓ 1 callers
Method
Stop
Stop to stop the provider and the related go routines.
provider/provider.go:141
↓ 1 callers
Function
applyRouterOptions
Apply router configuration options from labels
provider/provider.go:429
↓ 1 callers
Function
applyServiceOptions
Apply service configuration options from labels
provider/provider.go:460
↓ 1 callers
Function
boolPtr
(v bool)
provider/provider.go:663
↓ 1 callers
Function
generateConfiguration
(servicesMap map[string][]internal.Service)
provider/provider.go:308
↓ 1 callers
Function
getRouterRule
Helper to get router rule
provider/provider.go:620
↓ 1 callers
Function
getServiceMap
(client *internal.ProxmoxClient, ctx context.Context)
provider/provider.go:183
↓ 1 callers
Function
handleRouterTLS
Handle TLS configuration
provider/provider.go:524
↓ 1 callers
Function
isBoolLabelEnabled
(labels map[string]string, label string)
provider/provider.go:692
↓ 1 callers
Method
loadConfiguration
(ctx context.Context, cfgChan chan<- json.Marshaler)
provider/provider.go:108
↓ 1 callers
Function
logVersion
(client *internal.ProxmoxClient, ctx context.Context)
provider/provider.go:174
↓ 1 callers
Function
newClient
(pc ParserConfig)
provider/provider.go:170
↓ 1 callers
Function
scanServices
(client *internal.ProxmoxClient, ctx context.Context, nodeName string)
provider/provider.go:234
↓ 1 callers
Function
stringToInt
Helper to convert string to int
provider/provider.go:634
Function
CreateConfig
CreateConfig creates the default plugin configuration.
traefik_proxmox_provider.go:22
Method
Init
Init initializes the provider.
traefik_proxmox_provider.go:61
Method
Init
Init the provider.
provider/provider.go:86
Function
New
New creates a new Provider plugin.
traefik_proxmox_provider.go:40
Method
Provide
Provide creates and sends dynamic configuration.
traefik_proxmox_provider.go:66
Method
Provide
Provide creates and send dynamic configuration.
provider/provider.go:91
Method
Stop
Stop the provider.
traefik_proxmox_provider.go:71
Function
TestGetServiceURL
(t *testing.T)
provider/provider_test.go:244
Function
TestParsedAgentInterfaces_GetIPs
(t *testing.T)
internal/service_test.go:160
Function
TestParsedConfig_GetTraefikMap
(t *testing.T)
internal/service_test.go:85
Function
TestParsedConfig_GetTraefikMap_MixedSeparators
(t *testing.T)
internal/service_test.go:135
Function
TestParsedConfig_GetTraefikMap_SpaceSeparated
(t *testing.T)
internal/service_test.go:105
Function
TestProviderConfig
(t *testing.T)
provider/provider_test.go:10
Function
TestProviderNew
(t *testing.T)
provider/provider_test.go:23
Function
TestProviderParserConfig
(t *testing.T)
provider/provider_test.go:163
Function
TestProviderService
(t *testing.T)
provider/provider_test.go:223
Function
TestProviderValidateConfig
(t *testing.T)
provider/provider_test.go:84
Function
TestService_Basics
(t *testing.T)
internal/service_test.go:7
Function
TestService_Config
(t *testing.T)
internal/service_test.go:34
Function
TestService_IPs
(t *testing.T)
internal/service_test.go:65