- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for namespaces1 (0.22 sec)
-
pkg/kube/namespace/filter.go
lock sync.RWMutex namespaces kclient.Client[*corev1.Namespace] discoveryNamespaces sets.String discoverySelectors []labels.Selector // nil if discovery selectors are not specified, permits all namespaces for discovery handlers []func(added, removed sets.String) } func NewDiscoveryNamespacesFilter( namespaces kclient.Client[*corev1.Namespace], mesh mesh.Watcher, stop <-chan struct{},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 10 17:12:52 UTC 2024 - 9.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/waypoints.go
} // try fetching the namespace-defined waypoint namespace := ptr.OrEmpty[*v1.Namespace](krt.FetchOne[*v1.Namespace](ctx, Namespaces, krt.FilterKey(o.Namespace))) // this probably should never be nil. How would o exist in a namespace we know nothing about? maybe edge case of starting the controller or ns delete? if namespace != nil { // toss isNone, we don't need to know /why/ we got nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 18:02:28 UTC 2024 - 11.1K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/conversion.go
return nil } namespaces := []string{} for _, ns := range r.Namespaces { if ls.Matches(toNamespaceSet(ns.Name, ns.Labels)) { namespaces = append(namespaces, ns.Name) } } // Ensure stable order sort.Strings(namespaces) return namespaces } func nilOrEqual(have *string, expected string) bool { return have == nil || *have == expected } func humanReadableJoin(ss []string) string {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 84.7K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go
var waypointAddress *workloadapi.GatewayAddress // Endpoint does not have a real ObjectMeta, so make one if !implicitEndpoints { if waypoint := fetchWaypointForWorkload(ctx, Waypoints, Namespaces, metav1.ObjectMeta{ Name: se.Name, Namespace: se.Namespace, Labels: wle.Labels, }); waypoint != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 16:51:29 UTC 2024 - 20.9K bytes - Viewed (0) -
pkg/kube/kclient/client_test.go
}}}) testns := clienttest.NewWriter[*corev1.Namespace](t, c) discoveryNamespacesFilter := filter.NewDiscoveryNamespacesFilter( kclient.New[*corev1.Namespace](c), meshWatcher, test.NewStop(t), ) namespaces := kclient.NewFiltered[*corev1.Namespace](c, kubetypes.Filter{ ObjectFilter: discoveryNamespacesFilter, }) c.RunAndWait(test.NewStop(t))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 11 15:12:54 UTC 2024 - 17.2K bytes - Viewed (0) -
pilot/pkg/model/telemetry_logging.go
var namespaces []string for k := range namespaceToServices { namespaces = append(namespaces, k) } // If namespace is omitted, return successfully if there is only one such host name in the service index. if len(namespaces) == 1 { svc := namespaceToServices[namespaces[0]] hostname = string(svc.Hostname)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:30 UTC 2024 - 23K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/api.go
Name string `json:"name"` Namespace string `json:"namespace"` Hostname string `json:"hostname"` Addresses []string `json:"vips"` Ports map[string]int `json:"ports"` LoadBalancer *LoadBalancer `json:"loadBalancer"` Waypoint *GatewayAddress `json:"waypoint"` } type PolicyMatch struct { Namespaces []StringMatch `json:"namespaces,omitempty"`
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 16:51:29 UTC 2024 - 5.5K bytes - Viewed (0) -
pkg/scheduler/framework/types.go
type AffinityTerm struct { Namespaces sets.Set[string] Selector labels.Selector TopologyKey string NamespaceSelector labels.Selector } // Matches returns true if the pod matches the label selector and namespaces or namespace selector. func (at *AffinityTerm) Matches(pod *v1.Pod, nsLabels labels.Set) bool { if at.Namespaces.Has(pod.Namespace) || at.NamespaceSelector.Matches(nsLabels) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 19:28:17 UTC 2024 - 36.7K bytes - Viewed (0) -
pilot/pkg/networking/core/sidecar_simulation_test.go
Namespace: spl[1], Name: spl[0], }) } } } switch variant { case "httproute": return tmpl.MustEvaluate(`apiVersion: gateway.networking.k8s.io/v1beta1 kind: HTTPRoute metadata: name: "{{.Namespace}}{{.Match | replace "*" "wild"}}{{.Dest}}" namespace: {{.Namespace}} creationTimestamp: "{{.Time}}" spec:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 84.7K bytes - Viewed (0) -
pkg/config/analysis/analyzers/analyzers_test.go
}, analyzer: &injection.ImageAnalyzer{}, expected: []message{ {msg.PodsIstioProxyImageMismatchInNamespace, "Namespace enabled-namespace"}, {msg.PodsIstioProxyImageMismatchInNamespace, "Namespace enabled-namespace-native"}, {msg.PodsIstioProxyImageMismatchInNamespace, "Namespace revision-namespace"}, }, }, { name: "portNameNotFollowConvention", inputFiles: []string{"testdata/service-no-port-name.yaml"},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 07:22:31 UTC 2024 - 42.6K bytes - Viewed (0)