Documentation
¶
Index ¶
- Constants
- type ConsumerReconciler
- type CustomerResourceIndexer
- type HTTPFilterPolicyReconciler
- type HTTPRouteIndexer
- func (v *HTTPRouteIndexer) CustomerResource() client.Object
- func (v *HTTPRouteIndexer) FindAffectedObjects(ctx context.Context, obj client.Object) []reconcile.Request
- func (v *HTTPRouteIndexer) Index(rawObj client.Object) []string
- func (v *HTTPRouteIndexer) IndexName() string
- func (v *HTTPRouteIndexer) Predicate() predicate.Predicate
- func (v *HTTPRouteIndexer) RegisterIndexer(ctx context.Context, mgr ctrl.Manager) error
- type IstioGatewayIndexer
- func (v *IstioGatewayIndexer) CustomerResource() client.Object
- func (v *IstioGatewayIndexer) FindAffectedObjects(ctx context.Context, obj client.Object) []reconcile.Request
- func (v *IstioGatewayIndexer) Predicate() predicate.Predicate
- func (v *IstioGatewayIndexer) RegisterIndexer(ctx context.Context, mgr ctrl.Manager) error
- func (v *IstioGatewayIndexer) UpdateIndex(idx map[string][]*mosniov1.HTTPFilterPolicy)
- type K8sGatewayIndexer
- func (v *K8sGatewayIndexer) CustomerResource() client.Object
- func (v *K8sGatewayIndexer) FindAffectedObjects(ctx context.Context, obj client.Object) []reconcile.Request
- func (v *K8sGatewayIndexer) Predicate() predicate.Predicate
- func (v *K8sGatewayIndexer) RegisterIndexer(ctx context.Context, mgr ctrl.Manager) error
- func (v *K8sGatewayIndexer) UpdateIndex(idx map[string][]*mosniov1.HTTPFilterPolicy)
- type ServiceRegistryReconciler
- type VirtualServiceIndexer
- func (v *VirtualServiceIndexer) CustomerResource() client.Object
- func (v *VirtualServiceIndexer) FindAffectedObjects(ctx context.Context, obj client.Object) []reconcile.Request
- func (v *VirtualServiceIndexer) Index(rawObj client.Object) []string
- func (v *VirtualServiceIndexer) IndexName() string
- func (v *VirtualServiceIndexer) Predicate() predicate.Predicate
- func (v *VirtualServiceIndexer) RegisterIndexer(ctx context.Context, mgr ctrl.Manager) error
Constants ¶
const (
ConsumerEnvoyFilterName = "htnn-consumer"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsumerReconciler ¶
ConsumerReconciler reconciles a Consumer object
func (*ConsumerReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.16.3/pkg/reconcile
func (*ConsumerReconciler) SetupWithManager ¶
func (r *ConsumerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type CustomerResourceIndexer ¶
type CustomerResourceIndexer interface { CustomerResource() client.Object RegisterIndexer(ctx context.Context, mgr ctrl.Manager) error FindAffectedObjects(ctx context.Context, obj client.Object) []reconcile.Request Predicate() predicate.Predicate }
CustomerResourceIndexer indexes the additional customer resource according to the reconciled customer resource
type HTTPFilterPolicyReconciler ¶
type HTTPFilterPolicyReconciler struct { client.Client Scheme *runtime.Scheme // contains filtered or unexported fields }
HTTPFilterPolicyReconciler reconciles a HTTPFilterPolicy object
func (*HTTPFilterPolicyReconciler) Reconcile ¶
func (r *HTTPFilterPolicyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.16.3/pkg/reconcile
func (*HTTPFilterPolicyReconciler) SetupWithManager ¶
func (r *HTTPFilterPolicyReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type HTTPRouteIndexer ¶
type HTTPRouteIndexer struct {
// contains filtered or unexported fields
}
func (*HTTPRouteIndexer) CustomerResource ¶
func (v *HTTPRouteIndexer) CustomerResource() client.Object
func (*HTTPRouteIndexer) FindAffectedObjects ¶
func (*HTTPRouteIndexer) IndexName ¶
func (v *HTTPRouteIndexer) IndexName() string
func (*HTTPRouteIndexer) Predicate ¶
func (v *HTTPRouteIndexer) Predicate() predicate.Predicate
func (*HTTPRouteIndexer) RegisterIndexer ¶
type IstioGatewayIndexer ¶
type IstioGatewayIndexer struct {
// contains filtered or unexported fields
}
func (*IstioGatewayIndexer) CustomerResource ¶
func (v *IstioGatewayIndexer) CustomerResource() client.Object
func (*IstioGatewayIndexer) FindAffectedObjects ¶
func (*IstioGatewayIndexer) Predicate ¶
func (v *IstioGatewayIndexer) Predicate() predicate.Predicate
func (*IstioGatewayIndexer) RegisterIndexer ¶
func (*IstioGatewayIndexer) UpdateIndex ¶
func (v *IstioGatewayIndexer) UpdateIndex(idx map[string][]*mosniov1.HTTPFilterPolicy)
type K8sGatewayIndexer ¶
type K8sGatewayIndexer struct {
// contains filtered or unexported fields
}
func (*K8sGatewayIndexer) CustomerResource ¶
func (v *K8sGatewayIndexer) CustomerResource() client.Object
func (*K8sGatewayIndexer) FindAffectedObjects ¶
func (*K8sGatewayIndexer) Predicate ¶
func (v *K8sGatewayIndexer) Predicate() predicate.Predicate
func (*K8sGatewayIndexer) RegisterIndexer ¶
func (*K8sGatewayIndexer) UpdateIndex ¶
func (v *K8sGatewayIndexer) UpdateIndex(idx map[string][]*mosniov1.HTTPFilterPolicy)
type ServiceRegistryReconciler ¶
ServiceRegistryReconciler reconciles a ServiceRegistry object
func (*ServiceRegistryReconciler) SetupWithManager ¶
func (r *ServiceRegistryReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type VirtualServiceIndexer ¶
type VirtualServiceIndexer struct {
// contains filtered or unexported fields
}
func (*VirtualServiceIndexer) CustomerResource ¶
func (v *VirtualServiceIndexer) CustomerResource() client.Object
func (*VirtualServiceIndexer) FindAffectedObjects ¶
func (*VirtualServiceIndexer) Index ¶
func (v *VirtualServiceIndexer) Index(rawObj client.Object) []string
func (*VirtualServiceIndexer) IndexName ¶
func (v *VirtualServiceIndexer) IndexName() string
func (*VirtualServiceIndexer) Predicate ¶
func (v *VirtualServiceIndexer) Predicate() predicate.Predicate