keepalived

package
v1.4.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2016 License: Apache-2.0 Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateDeploymentConfig

func GenerateDeploymentConfig(name string, options *ipfailover.IPFailoverConfigCmdOptions, selector map[string]string) (*dapi.DeploymentConfig, error)

GenerateDeploymentConfig generates an IP Failover deployment configuration.

Types

type KeepalivedPlugin

type KeepalivedPlugin struct {
	Name    string
	Factory *clientcmd.Factory
	Options *ipfailover.IPFailoverConfigCmdOptions
}

KeepalivedPlugin is an IP Failover configurator plugin for keepalived sidecar.

func NewIPFailoverConfiguratorPlugin

func NewIPFailoverConfiguratorPlugin(name string, f *clientcmd.Factory, options *ipfailover.IPFailoverConfigCmdOptions) (*KeepalivedPlugin, error)

NewIPFailoverConfiguratorPlugin creates a new IPFailoverConfigurator (keepalived) plugin instance.

func (*KeepalivedPlugin) Generate

func (p *KeepalivedPlugin) Generate() (*kapi.List, error)

Generate the config and services for this IP Failover configuration plugin.

func (*KeepalivedPlugin) GetDeploymentConfig

func (p *KeepalivedPlugin) GetDeploymentConfig() (*deployapi.DeploymentConfig, error)

GetDeploymentConfig gets the deployment config associated with this IP Failover configurator plugin.

func (*KeepalivedPlugin) GetNamespace

func (p *KeepalivedPlugin) GetNamespace() (string, error)

GetNamespace gets the namespace associated with this IP Failover configurator plugin.

func (*KeepalivedPlugin) GetSelector

func (p *KeepalivedPlugin) GetSelector() (map[string]string, error)

GetSelector gets the selector associated with this IP Failover configurator plugin.

func (*KeepalivedPlugin) GetWatchPort

func (p *KeepalivedPlugin) GetWatchPort() (int, error)

GetWatchPort gets the port to monitor for the IP Failover configuration.

Jump to

Keyboard shortcuts

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