compatibility

package
v0.0.0-...-b25b198 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 23 Imported by: 1

Documentation

Overview

Package compatibility provides the TKR Compatibility reconciler.

Index

Constants

View Source
const LabelAdditionalTKRs = "run.tanzu.vmware.com/additional-compatible-tkrs"

Variables

This section is empty.

Functions

This section is empty.

Types

type Compatibility

type Compatibility struct {
	Log    logr.Logger
	Client client.Client
	Config Config
}

func (*Compatibility) CompatibleVersions

func (c *Compatibility) CompatibleVersions(ctx context.Context) (sets.StringSet, error)

type Config

type Config struct {
	TKRNamespace string
}

type Reconciler

type Reconciler struct {
	version.Compatibility

	Ctx    context.Context
	Log    logr.Logger
	Client client.Client
	Config Config
}

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, retErr error)

func (*Reconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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