floatip

package
v0.0.0-...-163c308 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FloatIP

type FloatIP interface {
	Bind(context.Context) error
	DnsName() string
	String() string
}

Floatip is an interface to assing floating ips

func New

func New(ipID int, c *config.Config) (f FloatIP, err error)

type HCloud

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

HCloud provides floating up for Hetzner

func NewHCloud

func NewHCloud(ipID int, c *config.Config) (*HCloud, error)

func (*HCloud) Bind

func (h *HCloud) Bind(ctx context.Context) (err error)

func (*HCloud) DnsName

func (h *HCloud) DnsName() string

func (*HCloud) String

func (h *HCloud) String() string

Jump to

Keyboard shortcuts

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