virtualservice

package
v0.0.0-...-3a859c3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVirtualServiceHttpTimeout

func GetVirtualServiceHttpTimeout(apiRuleSpec gatewayv2alpha1.APIRuleSpec, rule gatewayv2alpha1.Rule) uint32

Types

type VirtualServiceCreator

type VirtualServiceCreator interface {
	Create(api *gatewayv2alpha1.APIRule) (*networkingv1beta1.VirtualService, error)
}

VirtualServiceCreator provides the creation of a Virtual Service using the configuration in the given APIRule.

type VirtualServiceProcessor

type VirtualServiceProcessor struct {
	ApiRule *gatewayv2alpha1.APIRule
	Creator VirtualServiceCreator
}

VirtualServiceProcessor is the generic processor that handles the Virtual Service in the reconciliation of API Rule.

func (VirtualServiceProcessor) EvaluateReconciliation

func (r VirtualServiceProcessor) EvaluateReconciliation(ctx context.Context, client ctrlclient.Client) ([]*processing.ObjectChange, error)

EvaluateReconciliation evaluates the reconciliation of the Virtual Service for the given API Rule.

Jump to

Keyboard shortcuts

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