operator

package
v3.11.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// This variable is intended to be overridden at build time.
	Version = "dev"
)

Functions

This section is empty.

Types

type Operator

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

func New

func New(namespace string, configMapName string, tagOverrides map[string]string) (*Operator, error)

func (*Operator) Config

func (o *Operator) Config() *manifests.Config

func (*Operator) RegisterMetrics added in v0.1.1

func (o *Operator) RegisterMetrics(r prometheus.Registerer)

RegisterMetrics registers the operator's metrics with the given registerer.

func (*Operator) Run

func (o *Operator) Run(stopc <-chan struct{}) error

Run the controller.

Jump to

Keyboard shortcuts

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