operator

package
v0.0.0-...-2d77b09 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 24 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 dns operator. It sets up dependencies and defines the topology of the operator and its managed components, wiring them together.

func New

func New(ctx context.Context, config operatorconfig.Config, kubeConfig *rest.Config) (*Operator, error)

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

func (*Operator) Start

func (o *Operator) Start(ctx context.Context) error

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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