authorizationpolicy

package
v0.0.0-...-62e851e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Creator

type Creator interface {
	Create(ctx context.Context, client client.Client, api *gatewayv2alpha1.APIRule) (hashbasedstate.Desired, error)
}

Creator provides the creation of AuthorizationPolicy using the configuration in the given APIRule.

type Processor

type Processor struct {
	Log *logr.Logger
	// contains filtered or unexported fields
}

Processor handles the Istio AuthorizationPolicy in the reconciliation of API Rule.

func NewMigrationProcessor

func NewMigrationProcessor(log *logr.Logger, rule *gatewayv2alpha1.APIRule, oryPassthrough bool) Processor

NewMigrationProcessor returns a Processor with the desired state handling for AuthorizationPolicy when in the migration process from v1beta1 to v2alpha1.

func NewProcessor

func NewProcessor(log *logr.Logger, rule *gatewayv2alpha1.APIRule) Processor

NewProcessor returns a Processor with the desired state handling for AuthorizationPolicy.

func (Processor) EvaluateReconciliation

func (p Processor) EvaluateReconciliation(ctx context.Context, k8sClient client.Client) ([]*processing.ObjectChange, error)

Jump to

Keyboard shortcuts

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