MCPcopy Index your code

hub / github.com/NX211/traefik-proxmox-provider / functions

Functions57 in github.com/NX211/traefik-proxmox-provider

↓ 8 callersMethodGet
Get performs a GET request to the Proxmox API
internal/client.go:118
↓ 5 callersMethodGetTraefikMap
()
internal/models.go:54
↓ 3 callersFunctionNewService
(id uint64, name string, config map[string]string)
internal/models.go:50
↓ 3 callersFunctionstringToBool
Helper to convert string to bool
provider/provider.go:643
↓ 2 callersFunctionCreateConfig
CreateConfig creates the default plugin configuration.
provider/provider.go:30
↓ 2 callersMethodGetIPs
()
internal/models.go:79
↓ 2 callersFunctionNew
New creates a new Provider plugin.
provider/provider.go:47
↓ 2 callersFunctiongetIPsOfService
(client *internal.ProxmoxClient, ctx context.Context, nodeName string, vmID uint64, isContainer bool)
provider/provider.go:202
↓ 2 callersFunctiongetServiceURL
Helper to get service URL with correct port
provider/provider.go:572
↓ 2 callersFunctionmapKeysToSlice
Helper to convert map keys to slice
provider/provider.go:655
↓ 2 callersFunctionnewParserConfig
(apiEndpoint, tokenID, token string, logLevel string, validateSSL bool)
provider/provider.go:157
↓ 2 callersMethodupdateConfiguration
(ctx context.Context, cfgChan chan<- json.Marshaler)
provider/provider.go:129
↓ 2 callersFunctionvalidateConfig
validateConfig validates the plugin configuration
provider/provider.go:668
↓ 1 callersMethodDo
Do performs an HTTP request to the Proxmox API
internal/client.go:59
↓ 1 callersMethodGetContainerConfig
GetContainerConfig retrieves the configuration of a container
internal/client.go:183
↓ 1 callersMethodGetContainerNetworkInterfaces
GetContainerNetworkInterfaces retrieves network interfaces from a container
internal/client.go:207
↓ 1 callersMethodGetContainers
GetContainers retrieves all containers on a node
internal/client.go:159
↓ 1 callersMethodGetNodes
GetNodes retrieves all nodes in the Proxmox cluster
internal/client.go:135
↓ 1 callersMethodGetVMConfig
GetVMConfig retrieves the configuration of a VM
internal/client.go:171
↓ 1 callersMethodGetVMNetworkInterfaces
GetVMNetworkInterfaces retrieves network interfaces from a VM using the QEMU guest agent
internal/client.go:195
↓ 1 callersMethodGetVersion
GetVersion retrieves the Proxmox version
internal/client.go:123
↓ 1 callersMethodGetVirtualMachines
GetVirtualMachines retrieves all VMs on a node
internal/client.go:147
↓ 1 callersFunctionNewProxmoxClient
NewProxmoxClient creates a new Proxmox API client
internal/client.go:33
↓ 1 callersMethodStop
Stop to stop the provider and the related go routines.
provider/provider.go:141
↓ 1 callersFunctionapplyRouterOptions
Apply router configuration options from labels
provider/provider.go:429
↓ 1 callersFunctionapplyServiceOptions
Apply service configuration options from labels
provider/provider.go:460
↓ 1 callersFunctionboolPtr
(v bool)
provider/provider.go:663
↓ 1 callersFunctiongenerateConfiguration
(servicesMap map[string][]internal.Service)
provider/provider.go:308
↓ 1 callersFunctiongetRouterRule
Helper to get router rule
provider/provider.go:620
↓ 1 callersFunctiongetServiceMap
(client *internal.ProxmoxClient, ctx context.Context)
provider/provider.go:183
↓ 1 callersFunctionhandleRouterTLS
Handle TLS configuration
provider/provider.go:524
↓ 1 callersFunctionisBoolLabelEnabled
(labels map[string]string, label string)
provider/provider.go:692
↓ 1 callersMethodloadConfiguration
(ctx context.Context, cfgChan chan<- json.Marshaler)
provider/provider.go:108
↓ 1 callersFunctionlogVersion
(client *internal.ProxmoxClient, ctx context.Context)
provider/provider.go:174
↓ 1 callersFunctionnewClient
(pc ParserConfig)
provider/provider.go:170
↓ 1 callersFunctionscanServices
(client *internal.ProxmoxClient, ctx context.Context, nodeName string)
provider/provider.go:234
↓ 1 callersFunctionstringToInt
Helper to convert string to int
provider/provider.go:634
FunctionCreateConfig
CreateConfig creates the default plugin configuration.
traefik_proxmox_provider.go:22
MethodInit
Init initializes the provider.
traefik_proxmox_provider.go:61
MethodInit
Init the provider.
provider/provider.go:86
FunctionNew
New creates a new Provider plugin.
traefik_proxmox_provider.go:40
MethodProvide
Provide creates and sends dynamic configuration.
traefik_proxmox_provider.go:66
MethodProvide
Provide creates and send dynamic configuration.
provider/provider.go:91
MethodStop
Stop the provider.
traefik_proxmox_provider.go:71
FunctionTestGetServiceURL
(t *testing.T)
provider/provider_test.go:244
FunctionTestParsedAgentInterfaces_GetIPs
(t *testing.T)
internal/service_test.go:160
FunctionTestParsedConfig_GetTraefikMap
(t *testing.T)
internal/service_test.go:85
FunctionTestParsedConfig_GetTraefikMap_MixedSeparators
(t *testing.T)
internal/service_test.go:135
FunctionTestParsedConfig_GetTraefikMap_SpaceSeparated
(t *testing.T)
internal/service_test.go:105
FunctionTestProviderConfig
(t *testing.T)
provider/provider_test.go:10
FunctionTestProviderNew
(t *testing.T)
provider/provider_test.go:23
FunctionTestProviderParserConfig
(t *testing.T)
provider/provider_test.go:163
FunctionTestProviderService
(t *testing.T)
provider/provider_test.go:223
FunctionTestProviderValidateConfig
(t *testing.T)
provider/provider_test.go:84
FunctionTestService_Basics
(t *testing.T)
internal/service_test.go:7
FunctionTestService_Config
(t *testing.T)
internal/service_test.go:34
FunctionTestService_IPs
(t *testing.T)
internal/service_test.go:65