common

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package common contains common controller logic for Tinkerbell controllers.

Index

Constants

This section is empty.

Variables

View Source
var ErrNotImplemented = errors.New("not implemented")

ErrNotImplemented is returned if a requested action is not yet implemented.

Functions

func EnsureFinalizer

func EnsureFinalizer(
	ctx context.Context,
	c client.Client,
	logger logr.Logger,
	obj client.Object,
	finalizer string,
) error

EnsureFinalizer ensures the given finalizer is applied to the resource.

Types

This section is empty.

Jump to

Keyboard shortcuts

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