operator

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOperatorScheme

func GetOperatorScheme() *runtime.Scheme

GetOperatorScheme returns a scheme with types supported by the operator.

Types

type Operator

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

Operator is the scaffolding for the contour operator. It sets up dependencies and defines the topology of the operator and its managed components, wiring them together. Operator knows what specific resource types should produce operator events.

func New

func New(cliCfg *rest.Config, opCfg *operatorconfig.Config) (*Operator, error)

New creates a new operator from cliCfg and opCfg.

func (*Operator) Start

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

Start starts the operator synchronously until a message is received on the stop channel.

Directories

Path Synopsis
controller

Jump to

Keyboard shortcuts

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