Documentation ¶
Index ¶
- func BytesToString(data []byte) string
- type EnvoyFilterObject
- type K8sObject
- type RateLimitReconciler
- func (r *RateLimitReconciler) CreateOrUpdateConfigMap(rateLimitInstance *networkingv1alpha1.RateLimit, controllerNamespace string, ...) error
- func (r *RateLimitReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *RateLimitReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *RateLimitReconciler) UpdateDeployment(volumeProjectedSources []v1.VolumeProjection, volumes []v1.Volume, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToString ¶
Types ¶
type EnvoyFilterObject ¶
type EnvoyFilterObject struct { ApplyTo networking.EnvoyFilter_ApplyTo Operation networking.EnvoyFilter_Patch_Operation RawConfig string //RawConfig json.RawMessage TypeConfigObjectMatch string ClusterEndpoint string Context string Labels map[string]string NameVhost string Routes []string }
type K8sObject ¶
type K8sObject struct { EnvoyFilters []*clientIstio.EnvoyFilter DeploymentRL appsv1.Deployment // contains filtered or unexported fields }
type RateLimitReconciler ¶
type RateLimitReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme K8sObject // contains filtered or unexported fields }
RateLimitReconciler reconciles a RateLimit object
func (*RateLimitReconciler) CreateOrUpdateConfigMap ¶
func (r *RateLimitReconciler) CreateOrUpdateConfigMap(rateLimitInstance *networkingv1alpha1.RateLimit, controllerNamespace string, baseName string, deploymentName string) error
func (*RateLimitReconciler) SetupWithManager ¶
func (r *RateLimitReconciler) SetupWithManager(mgr ctrl.Manager) error
func (*RateLimitReconciler) UpdateDeployment ¶
func (r *RateLimitReconciler) UpdateDeployment(volumeProjectedSources []v1.VolumeProjection, volumes []v1.Volume, controllerNamespace string, deploymentName string) error
Click to show internal directories.
Click to hide internal directories.