operator

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	MetricsAddr          string
	EnableLeaderElection bool
	SyncPeriod           time.Duration
	LogLevel             string
	Port                 int
}

type KarinaConfigReconciler

type KarinaConfigReconciler struct {
	client.Client

	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

KarinaConfigReconciler reconciles a KarinaConfig object

func NewKarinaConfigReconciler

func NewKarinaConfigReconciler(k8s client.Client, log logr.Logger, scheme *runtime.Scheme) *KarinaConfigReconciler

func (*KarinaConfigReconciler) Reconcile

func (r *KarinaConfigReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*KarinaConfigReconciler) SetupWithManager

func (r *KarinaConfigReconciler) SetupWithManager(mgr ctrl.Manager) error

type Operator

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

func New

func New(config Config) (*Operator, error)

func (*Operator) Run

func (o *Operator) Run() error

Jump to

Keyboard shortcuts

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