- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for shouldSkipDaemonSet (0.29 sec)
-
tools/bug-report/pkg/cluster/cluster.go
if len(ild.Deployments) > 0 { if !isIncludeOrExcludeEntriesMatched(ild.Deployments, deployment) { return true } } } return false } func shouldSkipDaemonSet(daemonSet string, config *config2.BugReportConfig) bool { for _, eld := range config.Exclude { if len(eld.Daemonsets) > 0 { if isIncludeOrExcludeEntriesMatched(eld.Daemonsets, daemonSet) { return true
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Dec 14 02:11:31 UTC 2023 - 10.9K bytes - Viewed (1) -
tools/bug-report/pkg/cluster/cluster_test.go
{ Daemonsets: []string{"ex-"}, }, }, }, "ex-dep1", true, }, } for _, c := range cases { t.Run(c.name, func(t *testing.T) { skip := shouldSkipDaemonSet(c.daemonset, c.config) if skip != c.expected { t.Errorf("shouldSkip() for test case name [%s] return= %v, want %v", c.name, skip, c.expected) } }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 06 17:23:32 UTC 2023 - 11K bytes - Viewed (0)