manager

package
v0.0.0-...-136905e Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AwsAccessKeyID     string
	AwsSecretAccessKey string
	AwsRegion          string
)

Functions

This section is empty.

Types

type FeatureGateHandler

type FeatureGateHandler func(mgr manager.Manager) error

FeatureGateHandler returns a Manager for the given crd

type Manager

type Manager struct {
	manager.Manager
}

Manager is a controller

func SetupWithOptions

func SetupWithOptions(opts *Options) *Manager

SetupWithOptions initializes the manager options

func (*Manager) SetHealthzCheck

func (mgr *Manager) SetHealthzCheck(path string, check healthz.Checker) *Manager

SetHealthzChecker sets the health checker

func (*Manager) SetMetrics

func (mgr *Manager) SetMetrics() *Manager

SetMetrics sets the metrics exposer

func (*Manager) SetReadyzCheck

func (mgr *Manager) SetReadyzCheck(path string, check healthz.Checker) *Manager

SetReadyzCheck sets the readyz checker

func (*Manager) Start

func (mgr *Manager) Start(ctx context.Context) error

Start the manager

type Options

type Options struct {
	ctrl.Options
	FeatureGates string
	ZapOptions   zap.Options
}

Options represents common options for the controller

func ParseOptionsFromCmdFlags

func ParseOptionsFromCmdFlags() *Options

ParseOptionsFromCmdFlags parses options from flags

func (*Options) ParseFeatureGates

func (opts *Options) ParseFeatureGates() []FeatureGateHandler

ParseFeatureGates parse options from command line to build features

Jump to

Keyboard shortcuts

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