operator

package
v0.0.0-...-a4dafdb Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2019 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Operator

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

Operator is the scaffolding for the externaldns operator. It sets up dependencies and defines the topology of the operator and its managed components, wiring them together.

func New

func New(config operatorconfig.Config, kubeConfig *rest.Config, dnsConfig *configv1.DNS) (*Operator, error)

New creates (but does not start) a new operator from configuration.

func (*Operator) Start

func (o *Operator) Start(stop <-chan struct{}) error

Start creates the default ExternalDNS and then starts the operator synchronously until a message is received on the stop channel. TODO: Move the default ExternalDNS logic elsewhere.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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