SYMBOL INDEX (157 symbols across 20 files) FILE: bin/traefik-kop/main.go constant defaultDockerHost (line 16) | defaultDockerHost = "unix:///var/run/docker.sock" function printVersion (line 25) | func printVersion(c *cli.Context) error { function flags (line 30) | func flags() { function setupLogging (line 150) | func setupLogging(debug bool) { function main (line 166) | func main() { function splitStringArr (line 170) | func splitStringArr(str string) []string { function doStart (line 183) | func doStart(c *cli.Context) error { function getHostname (line 230) | func getHostname() string { function getDefaultIP (line 238) | func getDefaultIP(iface string) string { function GetOutboundIP (line 255) | func GetOutboundIP() net.IP { function GetInterfaceIP (line 269) | func GetInterfaceIP(name string) net.IP { FILE: config.go type Config (line 15) | type Config struct type ConfigFile (line 33) | type ConfigFile struct function loadDockerConfig (line 37) | func loadDockerConfig(input string) (*docker.Provider, error) { function looksLikeFile (line 74) | func looksLikeFile(input string) bool { FILE: docker.go type dockerCache (line 20) | type dockerCache struct method populate (line 61) | func (dc *dockerCache) populate() error { method findContainerByServiceName (line 101) | func (dc *dockerCache) findContainerByServiceName(svcType string, svcN... constant defaultTimeout (line 29) | defaultTimeout = time.Duration(0) function createDockerClient (line 31) | func createDockerClient(endpoint string) (client.APIClient, error) { function getClientOpts (line 49) | func getClientOpts(endpoint string) ([]client.Opt, error) { function isPortSet (line 126) | func isPortSet(container container.InspectResponse, svcType string, svcN... function getPortBinding (line 143) | func getPortBinding(container container.InspectResponse) (string, error) { function logJSON (line 181) | func logJSON(name string, v interface{}) { function portBindingString (line 194) | func portBindingString(bindings nat.PortMap) string { function stripDocker (line 208) | func stripDocker(svcName string) string { FILE: docker_helpers_test.go type testStore (line 32) | type testStore struct method Ping (line 36) | func (s testStore) Ping() error { method KeepConfAlive (line 41) | func (s *testStore) KeepConfAlive() error { method Get (line 45) | func (s *testStore) Get(key string) (string, error) { method Gets (line 63) | func (s *testStore) Gets(key string) (map[string]string, error) { method Store (line 76) | func (s *testStore) Store(conf dynamic.Configuration) error { type DockerAPIStub (line 94) | type DockerAPIStub struct method ServerVersion (line 99) | func (d DockerAPIStub) ServerVersion(ctx context.Context) (types.Versi... method Events (line 107) | func (d DockerAPIStub) Events(ctx context.Context, options events.List... method ContainerList (line 113) | func (d DockerAPIStub) ContainerList(ctx context.Context, options cont... method ContainerInspect (line 119) | func (d DockerAPIStub) ContainerInspect(ctx context.Context, container... method ServiceList (line 125) | func (d DockerAPIStub) ServiceList(ctx context.Context, options swarm.... method NetworkList (line 131) | func (d DockerAPIStub) NetworkList(ctx context.Context, options networ... function createHTTPServer (line 137) | func createHTTPServer() (*fiber.App, string) { function buildConfigDetails (line 184) | func buildConfigDetails(source map[string]any, env map[string]string) co... function loadYAML (line 199) | func loadYAML(yaml []byte) (*compose.Config, error) { function loadYAMLWithEnv (line 203) | func loadYAMLWithEnv(yaml []byte, env map[string]string) (*compose.Confi... function createContainers (line 213) | func createContainers(composeConfig *compose.Config) []container.Summary { function createContainersJSON (line 239) | func createContainersJSON(composeConfig *compose.Config) map[string]cont... function processFile (line 296) | func processFile(t *testing.T, file ...string) TraefikStore { function processFileWithConfig (line 304) | func processFileWithConfig(t *testing.T, store TraefikStore, config *Con... function assertServiceIP (line 378) | func assertServiceIP(t *testing.T, store *testStore, serviceName string,... type svc (line 382) | type svc struct function assertServiceIPs (line 388) | func assertServiceIPs(t *testing.T, store TraefikStore, svcs []svc) { FILE: docker_proxy.go function getAvailablePort (line 22) | func getAvailablePort() (net.Listener, error) { type DockerProxyServer (line 36) | type DockerProxyServer struct method filterLabels (line 51) | func (s *DockerProxyServer) filterLabels(labels map[string]string) map... method handleVersion (line 72) | func (s *DockerProxyServer) handleVersion(c *fiber.Ctx) error { method handleContainersList (line 80) | func (s *DockerProxyServer) handleContainersList(c *fiber.Ctx) error { method handleContainerInspect (line 94) | func (s *DockerProxyServer) handleContainerInspect(c *fiber.Ctx) error { method handleEvents (line 107) | func (s *DockerProxyServer) handleEvents(c *fiber.Ctx) error { method handleNotFound (line 152) | func (s *DockerProxyServer) handleNotFound(c *fiber.Ctx) error { method start (line 157) | func (s *DockerProxyServer) start() (*fiber.App, string) { function createProxy (line 41) | func createProxy(upstream client.APIClient, labelPrefix string) *DockerP... FILE: docker_proxy_test.go function Test_dockerProxyServerNoPrefix (line 10) | func Test_dockerProxyServerNoPrefix(t *testing.T) { function Test_dockerProxyServerPrefix (line 38) | func Test_dockerProxyServerPrefix(t *testing.T) { function Test_dockerProxyServerPrefixWithKopBindIP (line 68) | func Test_dockerProxyServerPrefixWithKopBindIP(t *testing.T) { FILE: docker_test.go function setup (line 19) | func setup() { function teardown (line 29) | func teardown() { function TestMain (line 36) | func TestMain(m *testing.M) { function Test_httpServerVersion (line 46) | func Test_httpServerVersion(t *testing.T) { function Test_helloWorld (line 53) | func Test_helloWorld(t *testing.T) { function Test_helloDetect (line 73) | func Test_helloDetect(t *testing.T) { function Test_helloIP (line 82) | func Test_helloIP(t *testing.T) { function Test_helloNetwork (line 91) | func Test_helloNetwork(t *testing.T) { function Test_TCP (line 99) | func Test_TCP(t *testing.T) { function Test_TCPMQTT (line 107) | func Test_TCPMQTT(t *testing.T) { function Test_helloWorldNoCert (line 116) | func Test_helloWorldNoCert(t *testing.T) { function Test_routerTLSWithoutCertResolver (line 127) | func Test_routerTLSWithoutCertResolver(t *testing.T) { function g (line 133) | func g(s TraefikStore, k string) string { function Test_helloWorldIgnore (line 141) | func Test_helloWorldIgnore(t *testing.T) { function Test_helloWorldMultiNS (line 152) | func Test_helloWorldMultiNS(t *testing.T) { function Test_helloWorldAutoMapped (line 178) | func Test_helloWorldAutoMapped(t *testing.T) { function Test_samePrefix (line 186) | func Test_samePrefix(t *testing.T) { function Test_loadbalance (line 198) | func Test_loadbalance(t *testing.T) { FILE: kv.go type KV (line 15) | type KV struct method SetBase (line 24) | func (kv *KV) SetBase(b string) { method add (line 28) | func (kv *KV) add(val interface{}, format string, a ...interface{}) { function NewKV (line 20) | func NewKV() *KV { function ConfigToKV (line 51) | func ConfigToKV(conf dynamic.Configuration) (map[string]interface{}, err... type walkOptions (line 67) | type walkOptions struct function walkTypedValue (line 71) | func walkTypedValue(kv *KV, path string, typ reflect.Type, val reflect.V... function walkStructValue (line 126) | func walkStructValue(kv *KV, path string, typ reflect.Type, val reflect.... function walkMapValue (line 165) | func walkMapValue(kv *KV, path string, typ reflect.Type, val reflect.Val... function walkSliceValue (line 192) | func walkSliceValue(kv *KV, path string, typ reflect.Type, val reflect.V... function isLeafType (line 213) | func isLeafType(typ reflect.Type) bool { function leafString (line 230) | func leafString(typ reflect.Type, val reflect.Value) (string, bool, erro... function marshalerValue (line 273) | func marshalerValue(val reflect.Value, iface reflect.Type) (interface{},... function joinPath (line 292) | func joinPath(base, child string) string { function jsonFieldName (line 296) | func jsonFieldName(field reflect.StructField) (string, bool, bool) { function isEmptyJSONValue (line 319) | func isEmptyJSONValue(val reflect.Value) bool { FILE: kv_test.go function Test_configToKV (line 13) | func Test_configToKV(t *testing.T) { function dumpKV (line 40) | func dumpKV(kv map[string]interface{}) { FILE: kv_walk_test.go function TestConfigToKVAllowEmptyLabel (line 12) | func TestConfigToKVAllowEmptyLabel(t *testing.T) { function TestConfigToKVUsesJSONLeafEncoding (line 34) | func TestConfigToKVUsesJSONLeafEncoding(t *testing.T) { FILE: multi_provider.go type MultiProvider (line 11) | type MultiProvider struct method Init (line 19) | func (p MultiProvider) Init() error { method Provide (line 29) | func (p MultiProvider) Provide(configurationChan chan<- dynamic.Messag... function NewMultiProvider (line 15) | func NewMultiProvider(upstream []provider.Provider) *MultiProvider { FILE: multi_provider_test.go function TestMultiProvider_ProvideCounts (line 13) | func TestMultiProvider_ProvideCounts(t *testing.T) { FILE: polling_provider.go type PollingProvider (line 15) | type PollingProvider struct method Init (line 25) | func (p PollingProvider) Init() error { method Provide (line 29) | func (p PollingProvider) Provide(configurationChan chan<- dynamic.Mess... function NewPollingProvider (line 21) | func NewPollingProvider(refreshInterval time.Duration, upstream provider... FILE: polling_provider_test.go type noopProvider (line 14) | type noopProvider struct method Init (line 18) | func (n *noopProvider) Init() error { method Provide (line 22) | func (n *noopProvider) Provide(configurationChan chan<- dynamic.Messag... function TestPollingProvider_CountsPolls (line 27) | func TestPollingProvider_CountsPolls(t *testing.T) { FILE: store.go type TraefikStore (line 19) | type TraefikStore interface function collectKeys (line 27) | func collectKeys(m interface{}) []string { type RedisStore (line 38) | type RedisStore struct method Ping (line 65) | func (s *RedisStore) Ping() error { method sk (line 71) | func (s RedisStore) sk(b string) string { method Get (line 75) | func (s *RedisStore) Get(key string) (string, error) { method Gets (line 86) | func (s *RedisStore) Gets(key string) (map[string]string, error) { method Store (line 110) | func (s *RedisStore) Store(conf dynamic.Configuration) error { method NeedsUpdate (line 159) | func (s *RedisStore) NeedsUpdate() bool { method KeepConfAlive (line 169) | func (s *RedisStore) KeepConfAlive() error { method swapKeys (line 182) | func (s *RedisStore) swapKeys(setkey string) error { method k (line 197) | func (s RedisStore) k(sk, b string) string { method removeKeys (line 203) | func (s *RedisStore) removeKeys(setkey string, keys []string) error { method removeOldKeys (line 224) | func (s *RedisStore) removeOldKeys(m interface{}, setname string) error { function NewRedisStore (line 46) | func NewRedisStore(hostname string, addr string, ttl int, user string, p... function mkslice (line 252) | func mkslice(old []string) []interface{} { FILE: store_test.go constant NGINX_CONF_JSON (line 16) | NGINX_CONF_JSON = `{"http":{"routers":{"nginx@docker":{"service":"nginx"... constant NGINX_CONF_JSON_DIFFRENT_SERVICE_NAME (line 17) | NGINX_CONF_JSON_DIFFRENT_SERVICE_NAME = `{"http":{"routers":{"nginx@dock... function Test_collectKeys (line 19) | func Test_collectKeys(t *testing.T) { function Test_redisStore (line 43) | func Test_redisStore(t *testing.T) { FILE: testing/helloworld/main.go function main (line 10) | func main() { FILE: traefik_kop.go function newDockerProvider (line 32) | func newDockerProvider(config Config) *docker.Provider { function createConfigHandler (line 57) | func createConfigHandler(config Config, store TraefikStore, dp *docker.P... function Start (line 88) | func Start(config Config) { function keepContainer (line 170) | func keepContainer(ns []string, container container.InspectResponse) bool { function filterServices (line 186) | func filterServices(dc *dockerCache, conf *dynamic.Configuration, ns []s... function replaceIPs (line 285) | func replaceIPs(dc *dockerCache, conf *dynamic.Configuration, ip string) { function getRouterOfService (line 385) | func getRouterOfService(conf *dynamic.Configuration, svcName string, svc... function getContainerPort (line 422) | func getContainerPort(dc *dockerCache, conf *dynamic.Configuration, svcT... function getContainerNetworkIP (line 455) | func getContainerNetworkIP(dc *dockerCache, conf *dynamic.Configuration,... function getKopOverrideBinding (line 489) | func getKopOverrideBinding(dc *dockerCache, conf *dynamic.Configuration,... function mergeLoadBalancers (line 514) | func mergeLoadBalancers(dc *dockerCache, conf *dynamic.Configuration, st... function mergeGenericLoadBalancers (line 544) | func mergeGenericLoadBalancers( FILE: traefik_kop_test.go function init (line 21) | func init() { type fakeDockerClient (line 26) | type fakeDockerClient struct method ContainerList (line 33) | func (c *fakeDockerClient) ContainerList(ctx context.Context, options ... method ContainerInspect (line 37) | func (c *fakeDockerClient) ContainerInspect(ctx context.Context, conta... function Test_replaceIPs (line 41) | func Test_replaceIPs(t *testing.T) { function createTestClient (line 65) | func createTestClient(labels map[string]string) *fakeDockerClient { function Test_replacePorts (line 85) | func Test_replacePorts(t *testing.T) { function Test_replacePortsNoService (line 130) | func Test_replacePortsNoService(t *testing.T) { FILE: util.go function dumpJson (line 8) | func dumpJson(o interface{}) []byte { function splitStringArr (line 16) | func splitStringArr(str string) []string {