migration

package
v0.0.0-...-6714ca3 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnotationName = "gateway.kyma-project.io/migration-step"
)

Variables

This section is empty.

Functions

func ApplyMigrationAnnotation

func ApplyMigrationAnnotation(logger logr.Logger, apiRule client.Object)

func NewAccessRuleDeletionProcessor

func NewAccessRuleDeletionProcessor(config processing.ReconciliationConfig, api *gatewayv1beta1.APIRule) processing.ReconciliationProcessor

NewAccessRuleDeletionProcessor returns a new instance of the AccessRuleDeletionProcessor.

func NewMigrationProcessors

func NewMigrationProcessors(apiRuleV2alpha1 *gatewayv2alpha1.APIRule, apiRuleV1beta1 *gatewayv1beta1.APIRule, config processing.ReconciliationConfig, log *logr.Logger) []processing.ReconciliationProcessor

NewMigrationProcessors returns a list of processors that should be executed during the migration process. Which processors are returned depends on the current migration step indicated by the "api-gateway.kyma-project.io/migration-step" APIRule annotation.

Types

type Step

type Step string

Jump to

Keyboard shortcuts

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