keepalivedcp

package
v0.0.0-...-ccc727f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2017 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProviderName = "keepalived"
)

Variables

This section is empty.

Functions

func NewKeepalivedLoadBalancer

func NewKeepalivedLoadBalancer(kubeClient *kubernetes.Clientset, ns, name, serviceCidr string, forwardMethod string) cloudprovider.LoadBalancer

Types

type KeepalivedCloudProvider

type KeepalivedCloudProvider struct {
	// contains filtered or unexported fields
}

func (*KeepalivedCloudProvider) Clusters

Clusters returns a clusters interface. Also returns true if the interface is supported, false otherwise.

func (*KeepalivedCloudProvider) Instances

Instances returns an instances interface. Also returns true if the interface is supported, false otherwise.

func (*KeepalivedCloudProvider) LoadBalancer

LoadBalancer returns a loadbalancer interface. Also returns true if the interface is supported, false otherwise.

func (*KeepalivedCloudProvider) ProviderName

func (k *KeepalivedCloudProvider) ProviderName() string

ProviderName returns the cloud provider ID.

func (*KeepalivedCloudProvider) Routes

Routes returns a routes interface along with whether the interface is supported.

func (*KeepalivedCloudProvider) ScrubDNS

func (k *KeepalivedCloudProvider) ScrubDNS(nameservers, searches []string) (nsOut, srchOut []string)

ScrubDNS provides an opportunity for cloud-provider-specific code to process DNS settings for pods.

func (*KeepalivedCloudProvider) Zones

Zones returns a zones interface. Also returns true if the interface is supported, false otherwise.

type KeepalivedLoadBalancer

type KeepalivedLoadBalancer struct {
	// contains filtered or unexported fields
}

func (*KeepalivedLoadBalancer) EnsureLoadBalancer

func (k *KeepalivedLoadBalancer) EnsureLoadBalancer(clusterName string, service *v1.Service, nodes []*v1.Node) (*v1.LoadBalancerStatus, error)

func (*KeepalivedLoadBalancer) EnsureLoadBalancerDeleted

func (k *KeepalivedLoadBalancer) EnsureLoadBalancerDeleted(clusterName string, service *v1.Service) error

func (*KeepalivedLoadBalancer) GetLoadBalancer

func (k *KeepalivedLoadBalancer) GetLoadBalancer(clusterName string, service *v1.Service) (status *v1.LoadBalancerStatus, exists bool, err error)

func (*KeepalivedLoadBalancer) UpdateLoadBalancer

func (k *KeepalivedLoadBalancer) UpdateLoadBalancer(clusterName string, service *v1.Service, nodes []*v1.Node) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL