- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for newScopeLevelPair (0.31 sec)
-
istioctl/pkg/admin/istiodconfig_test.go
}, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { got, err := newScopeLevelPair(tt.args.slp, tt.args.validationPattern) if (err != nil) != tt.wantErr { t.Errorf("newScopeLevelPair() error = %v, wantErr %v", err, tt.wantErr) return } if !reflect.DeepEqual(got, tt.want) { t.Errorf("newScopeLevelPair() got = %v, want %v", got, tt.want) } }) } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 6.2K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig.go
LogCallers bool `json:"log_callers,omitempty"` } type ScopeLevelPair struct { scope string logLevel string } type scopeStackTraceLevelPair ScopeLevelPair func newScopeLevelPair(slp, validationPattern string) (*ScopeLevelPair, error) { matched, err := regexp.MatchString(validationPattern, slp) if err != nil { return nil, err } if !matched {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 13.5K bytes - Viewed (0)