records

package
v0.0.0-...-1bf9b51 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager ..

func New

func New(name, domain, label, namespace, srvPort, srvProto string, service bool, podTimeout time.Duration,
	kubeClient *kubernetes.Clientset, DNSprovider pdns.DNSProvider) Manager

New creates the controller to watch pods with given properties and trigger changes in the DNS records

func (Manager) Destroy

func (m Manager) Destroy()

Destroy will close the controller and delete all DNS records Should be used when CRD is deleted

func (Manager) Start

func (m Manager) Start()

Start will start watching pods defined in the CRD

func (Manager) Stop

func (m Manager) Stop()

Stop will close the controller

Jump to

Keyboard shortcuts

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