Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for haskell (0.19 sec)

  1. internal/pubsub/pubsub_test.go

    	doneCh := make(chan struct{})
    	defer close(doneCh)
    	if err := ps.Subscribe(MaskAll, ch1, doneCh, nil); err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	if err := ps.Subscribe(MaskAll, ch2, doneCh, nil); err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	ps.Lock()
    	defer ps.Unlock()
    
    	if len(ps.subs) != 2 || ps.NumSubscribers(MaskAll) != 2 || ps.Subscribers() != 2 {
    		t.Fatalf("expected 2 subscribers")
    	}
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. manifests/charts/istiod-remote/templates/istiod-injector-configmap.yaml

        templates:
    {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "sidecar") }}
          sidecar: |
    {{ .Files.Get "files/injection-template.yaml" | trim | indent 8 }}
    {{- end }}
    {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "gateway") }}
          gateway: |
    {{ .Files.Get "files/gateway-injection-template.yaml" | trim | indent 8 }}
    {{- end }}
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Feb 21 03:10:21 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. internal/pubsub/mask.go

    package pubsub
    
    import (
    	"math"
    	"math/bits"
    )
    
    // Mask allows filtering by a bitset mask.
    type Mask uint64
    
    const (
    	// MaskAll is the mask for all entries.
    	MaskAll Mask = math.MaxUint64
    )
    
    // MaskFromMaskable extracts mask from an interface.
    func MaskFromMaskable(m Maskable) Mask {
    	return Mask(m.Mask())
    }
    
    // Contains returns whether *all* flags in other is present in t.
    func (t Mask) Contains(other Mask) bool {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jul 05 21:45:49 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  4. manifests/charts/istio-control/istio-discovery/templates/istiod-injector-configmap.yaml

        templates:
    {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "sidecar") }}
          sidecar: |
    {{ .Files.Get "files/injection-template.yaml" | trim | indent 8 }}
    {{- end }}
    {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "gateway") }}
          gateway: |
    {{ .Files.Get "files/gateway-injection-template.yaml" | trim | indent 8 }}
    {{- end }}
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Feb 21 03:10:21 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  5. manifests/charts/gateway/templates/_helpers.tpl

    {{- if not (or (eq $key "app") (eq $key "istio")) }} {{ $key | quote }}: {{ $val | quote }} {{- end }} {{- end }} {{- end }} {{- define "gateway.selectorLabels" -}} {{- if hasKey .Values.labels "app" }} {{- with .Values.labels.app }}app: {{.|quote}} {{- end}} {{- else }}app: {{ include "gateway.name" . }} {{- end }} {{- if hasKey .Values.labels "istio" }} {{- with .Values.labels.istio }} istio: {{.|quote}} {{- end}} {{- else }} istio: {{ include "gateway.name" . | trimPrefix "istio-" }} {{- end }}...
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 06 16:57:46 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  6. manifests/charts/gateway/templates/service.yaml

    spec:
    {{- with .Values.service.loadBalancerIP }}
      loadBalancerIP: "{{ . }}"
    {{- end }}
    {{- if eq .Values.service.type "LoadBalancer" }}
      {{- if hasKey .Values.service "allocateLoadBalancerNodePorts" }}
      allocateLoadBalancerNodePorts: {{ .Values.service.allocateLoadBalancerNodePorts }}
      {{- end }}
    {{- end }}
    {{- if .Values.service.ipFamilyPolicy }}
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jan 11 16:55:28 GMT 2024
    - 1.7K bytes
    - Viewed (0)
Back to top