config

package
v0.9.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoadBalancerConfig

type LoadBalancerConfig interface {
	WriteCRs(ctx context.Context) error
}

func New

func New(loadBalancerType LoadBalancerType, ips []*models.V1IPResponse, nws sets.Set[string], nodes []v1.Node, c client.Client, k8sClientSet clientset.Interface) (LoadBalancerConfig, error)

type LoadBalancerType

type LoadBalancerType string
const (
	LoadBalancerTypeCilium LoadBalancerType = "cilium"
)
const (
	LoadBalancerTypeMetalLB LoadBalancerType = "metallb"
)

func LoadBalancerTypeFromString

func LoadBalancerTypeFromString(lb string) (LoadBalancerType, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL