Documentation
¶
Overview ¶
Copyright 2025 HAProxy Technologies LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2025 HAProxy Technologies LLC ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func BackendNameTemplate(template string) func(o *config.Configuration) error
- func CacheReSyncPeriod(syncPeriod time.Duration) func(o *config.Configuration) error
- func ControllerConfCRD(controllerConf types.NamespacedName) func(o *config.Configuration) error
- func ControllerName(controllerName string) func(o *config.Configuration) error
- func DefaultsSectionName(name string) func(o *config.Configuration) error
- func DisableIPv4() func(o *config.Configuration) error
- func DisableIPv6() func(o *config.Configuration) error
- func FrontendNameTemplate(template string) func(o *config.Configuration) error
- func HaproxyConfChannel(treeCh chan diffs.HaproxyConfDiffs) func(o *config.Configuration) error
- func HaproxyDirs(dirs haproxy.HaproxyDirs) func(o *config.Configuration) error
- func IPV4BindAddr(addr string) func(o *config.Configuration) error
- func IPV6BindAddr(addr string) func(o *config.Configuration) error
- func InitialStructured(structuredCfg structured.Structured) func(o *config.Configuration) error
- func KubeConfig(kubeconfig string) func(o *config.Configuration) error
- func LeaderElectionConfig(leaderElectionEnabled bool) func(o *config.Configuration) error
- func LinkID(template string) func(o *config.Configuration) error
- func Logging(handlerType logging.LogHandlerType, defaultLevel slog.Level, ...) func(o *config.Configuration) error
- func MetricsConfig(metricsConfig config.MetricsConfig) func(o *config.Configuration) error
- func Namespaces(namespaces []string) func(o *config.Configuration) error
- func RuntimeUpdate(timeout time.Duration) func(o *config.Configuration) error
- func ServerNameTemplate(template string) func(o *config.Configuration) error
- func StartupSyncPeriod(syncPeriod time.Duration) func(o *config.Configuration) error
- func StoreCertificateOnDisk(structureType storage.StructureType) func(o *config.Configuration) error
- func StoreMapsOnDisk(structureType storage.StructureType) func(o *config.Configuration) error
- func SyncPeriod(syncPeriod time.Duration) func(o *config.Configuration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackendNameTemplate ¶
func BackendNameTemplate(template string) func(o *config.Configuration) error
func CacheReSyncPeriod ¶
func CacheReSyncPeriod(syncPeriod time.Duration) func(o *config.Configuration) error
func ControllerConfCRD ¶
func ControllerConfCRD(controllerConf types.NamespacedName) func(o *config.Configuration) error
func ControllerName ¶
func ControllerName(controllerName string) func(o *config.Configuration) error
func DefaultsSectionName ¶
func DefaultsSectionName(name string) func(o *config.Configuration) error
func DisableIPv4 ¶
func DisableIPv4() func(o *config.Configuration) error
func DisableIPv6 ¶
func DisableIPv6() func(o *config.Configuration) error
func FrontendNameTemplate ¶
func FrontendNameTemplate(template string) func(o *config.Configuration) error
func HaproxyConfChannel ¶
func HaproxyConfChannel(treeCh chan diffs.HaproxyConfDiffs) func(o *config.Configuration) error
func HaproxyDirs ¶
func HaproxyDirs(dirs haproxy.HaproxyDirs) func(o *config.Configuration) error
func IPV4BindAddr ¶
func IPV4BindAddr(addr string) func(o *config.Configuration) error
func IPV6BindAddr ¶
func IPV6BindAddr(addr string) func(o *config.Configuration) error
func InitialStructured ¶
func InitialStructured(structuredCfg structured.Structured) func(o *config.Configuration) error
func KubeConfig ¶
func KubeConfig(kubeconfig string) func(o *config.Configuration) error
func LeaderElectionConfig ¶
func LeaderElectionConfig(leaderElectionEnabled bool) func(o *config.Configuration) error
func MetricsConfig ¶
func MetricsConfig(metricsConfig config.MetricsConfig) func(o *config.Configuration) error
ControllerPodConfig sets the ControllerPodConfig of the controller.
func Namespaces ¶
func Namespaces(namespaces []string) func(o *config.Configuration) error
func RuntimeUpdate ¶
func RuntimeUpdate(timeout time.Duration) func(o *config.Configuration) error
RuntimeUpdate sets the option to perform runtime commands through the runtime socket The timeout specifies the max time to wait for the HUG application to sen the runtime.Runtime to the library at start up.
func ServerNameTemplate ¶
func ServerNameTemplate(template string) func(o *config.Configuration) error
func StartupSyncPeriod ¶
func StartupSyncPeriod(syncPeriod time.Duration) func(o *config.Configuration) error
func StoreCertificateOnDisk ¶
func StoreCertificateOnDisk(structureType storage.StructureType) func(o *config.Configuration) error
func StoreMapsOnDisk ¶
func StoreMapsOnDisk(structureType storage.StructureType) func(o *config.Configuration) error
func SyncPeriod ¶
func SyncPeriod(syncPeriod time.Duration) func(o *config.Configuration) error
Types ¶
This section is empty.
Source Files
¶
- backend-name-template.go
- cache-resync-period.go
- controller-conf-crd.go
- controller-name.go
- defaults-section-name.go
- disable-ipv4.go
- disable-ipv6.go
- frontend-name-template.go
- haproxy-conf-channel.go
- haproxy-dirs.go
- initial-cfg.go
- ipv4-bind-address.go
- ipv6-bind-address.go
- kubeconfig.go
- leader-election.go
- link-id.go
- logging.go
- metrics.go
- namespaces.go
- runtime-update.go
- server-name-template.go
- startup-sync-period.go
- store-certificates-on-disk.go
- store-maps-on-disk.go
- sync-period.go