skydns2extension

package
v0.0.0-12-24-2015.10-1... Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2015 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 Factory

type Factory struct{}

Factory implementation to implement RegistryAdapter interface functions

func (*Factory) New

func (f *Factory) New(uri *url.URL) bridge.RegistryAdapter

New function to register Skydns2Adapter

type Skydns2Adapter

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

Skydns2Adapter implements skydns2 client interface

func (*Skydns2Adapter) Deregister

func (r *Skydns2Adapter) Deregister(service *bridge.Service) error

Deregister will deregister Skydns2Adapter's interface from RegistryAdapter

func (*Skydns2Adapter) Ping

func (r *Skydns2Adapter) Ping() error

Ping will try to connect to skydns2 by attempting to retrieve the current leader

func (*Skydns2Adapter) Refresh

func (r *Skydns2Adapter) Refresh(service *bridge.Service) error

Refresh registers any pending services

func (*Skydns2Adapter) Register

func (r *Skydns2Adapter) Register(service *bridge.Service) error

Register will register Skydns2Adapter's interface with RegistryAdapter

Jump to

Keyboard shortcuts

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