- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 80 for MATCHES (0.21 sec)
-
istioctl/pkg/writer/envoy/configdump/listener.go
port := retrieveListenerPort(l) if filter.Verbose { matches := retrieveListenerMatches(l) sort.Slice(matches, func(i, j int) bool { return matches[i].destination > matches[j].destination }) for _, match := range matches { if includeConfigType { name := fmt.Sprintf("listener/%s", l.Name)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 18.1K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject.go
if nsMatched && podMatched { if nsLabel != "" && podLabel != "" { return fmt.Sprintf("Namespace label %s matches, and pod label %s matches", nsLabel, podLabel), true } else if nsLabel != "" { outMsg := fmt.Sprintf("Namespace label %s matches", nsLabel) if strings.Contains(nsLabel, "kubernetes.io/metadata.name") { outMsg += " (Automatic injection is enabled in all namespaces)." }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 9.3K bytes - Viewed (0) -
cmd/metacache-entries.go
func (e metaCacheEntry) hasPrefix(s string) bool { return strings.HasPrefix(e.name, s) } // matches returns if the entries have the same versions. // If strict is false we allow signatures to mismatch. func (e *metaCacheEntry) matches(other *metaCacheEntry, strict bool) (prefer *metaCacheEntry, matches bool) { if e == nil && other == nil { return nil, true } if e == nil { return other, false }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 16:43:43 GMT 2024 - 23.2K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject_test.go
expectedMessages: []webhookAnalysis{ { Name: "istio-sidecar-injector", Revision: "default", Injected: true, Reason: "Namespace label istio-injection=enabled matches, and pod label sidecar.istio.io/inject=true matches", }, { Name: "istio-sidecar-injector-1-16", Revision: "1-16", Reason: "No matching namespace labels (istio.io/rev=1-16) or pod labels (istio.io/rev=1-16)",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 10.6K bytes - Viewed (0) -
cmd/batch-expire.go
if err != nil { return err } *ef = BatchJobExpireFilter(tmp) ef.line, ef.col = value.Line, value.Column return err } // Matches returns true if obj matches the filter conditions specified in ef. func (ef BatchJobExpireFilter) Matches(obj ObjectInfo, now time.Time) bool { switch ef.Type { case BatchJobExpireObject: if obj.DeleteMarker { return false } case BatchJobExpireDeleted:
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 21K bytes - Viewed (1) -
operator/cmd/mesh/test-util_test.go
return ret } // nameEquals returns the object in o whose name matches "name", or nil if no object name matches. func (o *ObjectSet) nameEquals(name string) *object.K8sObject { for k, v := range o.objMap { _, _, objName := object.FromHash(k) if objName == name { return v } } return nil } // kind returns a subset of o where kind matches the given value. func (o *ObjectSet) kind(kind string) *ObjectSet {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 15.3K bytes - Viewed (0) -
misc/ios/detect.go
for _, line := range lines { if len(line) == 0 { continue } xmlLines := getLines(parseMobileProvision(string(line))) matches := 0 for _, udid := range udids { for _, xmlLine := range xmlLines { if bytes.Contains(xmlLine, udid) { matches++ } } } if matches == len(udids) { files = append(files, string(line)) } } return files }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Oct 19 23:33:30 GMT 2023 - 3.2K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns.go
for i, name := range r.SubexpNames() { if i != 0 { subMatchMap[name] = match[i] } } return subMatchMap } func isValidCGroupPathMatches(matches map[string]string) bool { if matches == nil { return false } if matches["mustnotmatch"] != "" { return false } return true } // nolint: lll
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 11K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/workload.go
type WorkloadFilter struct { Address string Node string Verbose bool Namespace string } // Verify returns true if the passed workload matches the filter fields func (wf *WorkloadFilter) Verify(workload *ZtunnelWorkload) bool { if wf.Address == "" && wf.Node == "" && wf.Namespace == "" { return true } if wf.Namespace != "" {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 4K bytes - Viewed (0) -
cmd/signature-v2_test.go
}, expected: ErrSignatureDoesNotMatch, }, // (6) Should not error signature matches with extra query params. { queryParams: map[string]string{ "response-content-disposition": "attachment; filename=\"4K%2d4M.txt\"", }, expected: ErrNone, }, // (7) Should not error signature matches with no special query params. { queryParams: map[string]string{}, expected: ErrNone,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Oct 14 10:08:40 GMT 2022 - 8K bytes - Viewed (0)