Documentation ¶
Index ¶
- type Service
- func (s *Service) DeleteLoadBalancer(openStackCluster *infrav1.OpenStackCluster, clusterResourceName string) error
- func (s *Service) DeleteLoadBalancerMember(openStackCluster *infrav1.OpenStackCluster, ...) error
- func (s *Service) ReconcileLoadBalancer(openStackCluster *infrav1.OpenStackCluster, clusterResourceName string, ...) (bool, error)
- func (s *Service) ReconcileLoadBalancerMember(openStackCluster *infrav1.OpenStackCluster, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service interfaces with the OpenStack Neutron LBaaS v2 API.
func NewService ¶
func NewService(scope *scope.WithLogger) (*Service, error)
NewService returns an instance of the loadbalancer service.
func (*Service) DeleteLoadBalancer ¶
func (s *Service) DeleteLoadBalancer(openStackCluster *infrav1.OpenStackCluster, clusterResourceName string) error
func (*Service) DeleteLoadBalancerMember ¶
func (s *Service) DeleteLoadBalancerMember(openStackCluster *infrav1.OpenStackCluster, openStackMachine *infrav1.OpenStackMachine, clusterResourceName string) error
func (*Service) ReconcileLoadBalancer ¶
func (s *Service) ReconcileLoadBalancer(openStackCluster *infrav1.OpenStackCluster, clusterResourceName string, apiServerPort int) (bool, error)
ReconcileLoadBalancer reconciles the load balancer for the given cluster.
func (*Service) ReconcileLoadBalancerMember ¶
func (s *Service) ReconcileLoadBalancerMember(openStackCluster *infrav1.OpenStackCluster, openStackMachine *infrav1.OpenStackMachine, clusterResourceName, ip string) error
Click to show internal directories.
Click to hide internal directories.