package
0.27.0
Repository: https://github.com/stackitcloud/yawol.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

AreRelevantConditionsMet checks if all required conditions (from the perspective of the LoadBalancerSet) are both `True` and up-to-date, according to the passed expiration time.
No description provided by the author
No description provided by the author
CreateEnvoyConfig create a new envoy snapshot and checks if the new snapshot has changes.
EnableAdHocDebugging enables ad-hoc debugging if enabled via annotations.
No description provided by the author
GetDebugSettings return loadbalancer debug settings for a service.
GetDesiredSecGroupRules returns all SecGroupRules that are needed.
GetExistingFloatingIPFromAnnotation return ip from the ServiceExistingFloatingIP annotation.
No description provided by the author
No description provided by the author
No description provided by the author
GetIPFromStatus return ip from service (Status.LoadBalancer.Ingress[0].IP).
No description provided by the author
No description provided by the author
Returns nil if no matching exists If there are multiple: Returns one with highest RevisionAnnotation annotation.
No description provided by the author
This returns all LoadBalancerSets for a given LoadBalancer Returns an error if lb is nil Returns an error if lb.UID is empty Returns an error if kube api-server problems occurred.
GetLoadBalancerSourceRanges returns the LoadBalancerSourceRanges from the spec.
GetMetrics returns the current LoadBalancerMachineMetrics.
No description provided by the author
GetOpenStackReconcileHash returns a 16 char hash for all openstack relevant data to check if an openstack reconcile is needed.
GetOptions return loadbalancer option settings for a service.
GetOwnersReferenceForLB returns OwnerReference for LoadBalancer.
GetReplicasFromService retruns replicas from Annotation.
No description provided by the author
HashData returns a 16 char hash for the given object.
LBSetHasKeepalivedMaster returns true if one of the following conditions are met: - if the keepalived condition on set is ready for more than 2 min - keepalived condition is not ready for more than 10 min (to make sure this does not block updates) - no keepalived condition is in lbs but lbs is older than 15 min (to make sure this does not block updates) When `false` is returned, the second return parameter can be used to requeue again, once the condition that caused the "false" state to be ignored.
LoadBalancerMachineOpenstackReconcileIsNeeded returns true if an openstack reconcile is needed.
LoadBalancerOpenstackReconcileIsNeeded returns true if an openstack reconcile is needed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PatchLBMStatus patch loadbalancermachine status.
PatchLBStatus patch loadbalancer status.
No description provided by the author
PatchLoadBalancerSetReplicas sets replicas in LoadBalancerSet.
PatchLBStatus patch loadbalancer status.
No description provided by the author
No description provided by the author
RemoveFromLBMStatus removes key from loadbalancermachine status.
RemoveFromLBStatus removes key from loadbalancer status.
No description provided by the author
No description provided by the author
No description provided by the author
ScaleDownOldLoadBalancerSets scales down all LoadBalancerSets in the given list except the one with the given name.
StatusReplicasFromSetList returns the total replicas and ready replicas based on the given list of LoadBalancerSets.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UpdateLBMConditions update a given condition in lbm object.
ValidateService checks if the service is valid.

# Constants

Condition status const.
Condition status const.
Condition name const.
No description provided by the author
No description provided by the author
Condition name const.
Condition name const.
Condition name const.
TODO: replace with constants from envoywellknown when available.
No description provided by the author
No description provided by the author
Condition name const.
Condition name const.
Condition name const.
No description provided by the author
Metric name const.
Metric name const.
Metric name const.
Metric name const.
Metric name const.
Metric name const.
Metric name const.
Metric name const.
Metric name const.
Metric name const.
Metric name const.
Metric name const.
Metric name const.
Metric name const.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

LoadbalancerCondition condition name for conditions in lbm.
LoadbalancerConditionStatus condition status for conditions in lbm.
LoadbalancerMetric metric name for lbm.