Documentation ¶
Index ¶
- type Service
- func (s *Service) DeleteLoadBalancer(openStackCluster *infrav1.OpenStackCluster, clusterName string) error
- func (s *Service) DeleteLoadBalancerMember(openStackCluster *infrav1.OpenStackCluster, machine *clusterv1.Machine, ...) error
- func (s *Service) ReconcileLoadBalancer(openStackCluster *infrav1.OpenStackCluster, clusterName string, ...) error
- func (s *Service) ReconcileLoadBalancerMember(openStackCluster *infrav1.OpenStackCluster, machine *clusterv1.Machine, ...) 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 NewLoadBalancerTestService ¶
func NewLoadBalancerTestService(projectID string, lbClient clients.LbClient, client *networking.Service, logger logr.Logger) *Service
NewLoadBalancerTestService returns a Service with no initialization. It should only be used by tests. It helps to mock the load balancer service in other packages.
func NewService ¶
NewService returns an instance of the loadbalancer service.
func (*Service) DeleteLoadBalancer ¶
func (s *Service) DeleteLoadBalancer(openStackCluster *infrav1.OpenStackCluster, clusterName string) error
func (*Service) DeleteLoadBalancerMember ¶
func (s *Service) DeleteLoadBalancerMember(openStackCluster *infrav1.OpenStackCluster, machine *clusterv1.Machine, openStackMachine *infrav1.OpenStackMachine, clusterName string) error
func (*Service) ReconcileLoadBalancer ¶
func (*Service) ReconcileLoadBalancerMember ¶
func (s *Service) ReconcileLoadBalancerMember(openStackCluster *infrav1.OpenStackCluster, machine *clusterv1.Machine, openStackMachine *infrav1.OpenStackMachine, clusterName, ip string) error
Click to show internal directories.
Click to hide internal directories.