provider

package
v0.0.0-...-eedacba Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	ExtIPs() ([]*extip.ExtIP, error)
	ApplyChanges(changes *plan.Changes) error
}

Provider defines the interface DNS providers should implement.

func NewProvider

func NewProvider(kubeClient kubernetes.Interface, namespace string, dryRun bool) (Provider, error)

type ProviderImpl

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

func (*ProviderImpl) ApplyChanges

func (im *ProviderImpl) ApplyChanges(changes *plan.Changes) error

ApplyChanges propagates changes to the cluster

func (*ProviderImpl) ExtIPs

func (im *ProviderImpl) ExtIPs() ([]*extip.ExtIP, error)

ExtIPs returns the current extips from the cluster

Jump to

Keyboard shortcuts

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