operator

package
v0.8.0 Latest Latest
Warning

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

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

Documentation

Overview

Package operator contains main implementation of Flatcar Linux Update Operator.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Kubernetes client.
	Client kubernetes.Interface
	// Migration compatibility.
	AutoLabelContainerLinux bool
	// Annotations to look for before and after reboots.
	BeforeRebootAnnotations []string
	AfterRebootAnnotations  []string
	// Reboot window.
	RebootWindowStart  string
	RebootWindowLength string
	Namespace          string
	LockID             string
}

Config configures a Kontroller.

type Kontroller

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

Kontroller implement operator part of FLUO.

func New

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

New initializes a new Kontroller.

func (*Kontroller) Run

func (k *Kontroller) Run(stop <-chan struct{}) error

Run starts the operator reconcilitation process and runs until the stop channel is closed.

Jump to

Keyboard shortcuts

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