operator

package
v0.0.0-...-09e58b6 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 29 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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