plugins

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 7

Documentation

Overview

Package plugins provides the interface that must be implemented by all plugins.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FrequencyFromAnnotations added in v0.1.13

func FrequencyFromAnnotations(l logr.Logger, annotations map[string]string) ctrl.Result

FrequencyFromAnnotations calculates reconciliation frequency from annotations of the plugin custom resource. Defaults to 120 seconds if annotation is not found.

Types

type PluginSpec

type PluginSpec interface {
	PluginCode() string
	ResultCount() int
}

PluginSpec is the interface that must be implemented by all plugins.

Jump to

Keyboard shortcuts

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