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 NewVirtualServiceProcessor ¶
func NewVirtualServiceProcessor(_ processing.ReconciliationConfig, apiRule *gatewayv2alpha1.APIRule, gateway *networkingv1beta1.Gateway) VirtualServiceProcessor
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.
Click to show internal directories.
Click to hide internal directories.