Documentation ¶
Index ¶
- func AddIPToInterface(ifaceName string, ip string) error
- func NewServer() cloudprovider.LoadBalancer
- func NewTunnel(localIP, localPort, remoteIP, remotePort string) *tunnel
- func NewTunnelManager() *tunnelManager
- func RemoveIPToInterface(ifaceName string, ip string) error
- func ServiceFromLoadBalancerSimpleName(s string) (clusterName string, service *v1.Service)
- type Server
- func (s *Server) EnsureLoadBalancer(ctx context.Context, clusterName string, service *v1.Service, nodes []*v1.Node) (*v1.LoadBalancerStatus, error)
- func (s *Server) EnsureLoadBalancerDeleted(ctx context.Context, clusterName string, service *v1.Service) error
- func (s *Server) GetLoadBalancer(ctx context.Context, clusterName string, service *v1.Service) (*v1.LoadBalancerStatus, bool, error)
- func (s *Server) GetLoadBalancerName(ctx context.Context, clusterName string, service *v1.Service) string
- func (s *Server) UpdateLoadBalancer(ctx context.Context, clusterName string, service *v1.Service, nodes []*v1.Node) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddIPToInterface ¶ added in v0.1.0
func NewServer ¶
func NewServer() cloudprovider.LoadBalancer
func NewTunnel ¶ added in v0.1.0
func NewTunnel(localIP, localPort, remoteIP, remotePort string) *tunnel
func NewTunnelManager ¶ added in v0.1.0
func NewTunnelManager() *tunnelManager
func RemoveIPToInterface ¶ added in v0.1.0
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) EnsureLoadBalancer ¶
func (*Server) EnsureLoadBalancerDeleted ¶
func (*Server) GetLoadBalancer ¶
func (*Server) GetLoadBalancerName ¶
Click to show internal directories.
Click to hide internal directories.