operator

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

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

Go to latest
Published: Dec 26, 2019 License: Apache-2.0 Imports: 8 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
}

func NewOperator

func NewOperator(opts Options) (*Operator, error)

func (*Operator) CreateController

func (o *Operator) CreateController(reconciler reconcile.Reconciler, name string, object runtime.Object) error

func (*Operator) Start

func (o *Operator) Start() error

type Options

type Options struct {
	NameSpace               string
	ServiceClass            string
	IngressClass            string
	ConfigMap               string
	Client                  manager.NewClientFunc
	KubeConfig              *rest.Config
	MapperProvider          func(*rest.Config) (meta.RESTMapper, error)
	MetricsBindAddress      string
	LeaderElection          bool
	LeaderElectionID        string
	LeaderElectionNamespace string
	StopCh                  <-chan struct{}
}

Jump to

Keyboard shortcuts

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