haprovider

package
v0.0.0-...-2835f21 Latest Latest
Warning

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

Go to latest
Published: May 20, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IPv4IpFamily = "IPv4"
	IPv6IpFamily = "IPv6"
	IPv6IpType   = "V6"
)

Variables

View Source
var (
	QueryFQDN = queryFQDNEndpoint
)

Functions

func GetAviInfraSettingName

func GetAviInfraSettingName(adc *akoov1alpha1.AKODeploymentConfig) string

Types

type HAProvider

type HAProvider struct {
	client.Client
	// contains filtered or unexported fields
}

func NewProvider

func NewProvider(c client.Client, log logr.Logger) *HAProvider

NewProvider make HAProvider as a singleton

func (*HAProvider) CreateOrUpdateHAEndpoints

func (r *HAProvider) CreateOrUpdateHAEndpoints(ctx context.Context, machine *clusterv1.Machine) error

func (*HAProvider) CreateOrUpdateHAService

func (r *HAProvider) CreateOrUpdateHAService(ctx context.Context, cluster *clusterv1.Cluster) error

Jump to

Keyboard shortcuts

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