Documentation ¶
Index ¶
- type Service
- func (s *Service) CreateLB(ctx context.Context, lbSpec *v1alpha1.LoadBalancer) (*govpsie.LB, error)
- func (s *Service) Delete(ctx context.Context) error
- func (s *Service) DeleteLoadBalancer(ctx context.Context, id string) error
- func (s *Service) GetLB(ctx context.Context, id string) (*govpsie.LB, error)
- func (s *Service) GetLBByName(ctx context.Context, name string) (*govpsie.LB, error)
- func (s *Service) IsLBPending(ctx context.Context, lbname string) (*govpsie.PendingLB, error)
- func (s *Service) Reconcile(ctx context.Context) 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 holds a collection of interfaces.
func NewService ¶
func NewService(scope *scope.ClusterScope) *Service
NewService returns a new service given the Vpsie api client.
func (*Service) DeleteLoadBalancer ¶
DeleteLoadBalancer delete a LB by ID.
func (*Service) GetLBByName ¶
func (*Service) IsLBPending ¶
Click to show internal directories.
Click to hide internal directories.