Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for patterns (0.52 sec)

  1. istioctl/pkg/admin/istiodconfig.go

    func newScopeLevelPair(slp, validationPattern string) (*ScopeLevelPair, error) {
    	matched, err := regexp.MatchString(validationPattern, slp)
    	if err != nil {
    		return nil, err
    	}
    	if !matched {
    		return nil, fmt.Errorf("pattern %s did not match", slp)
    	}
    	scopeLogLevel := strings.Split(slp, ":")
    	s := &ScopeLevelPair{
    		scope:    scopeLogLevel[0],
    		logLevel: scopeLogLevel[1],
    	}
    	return s, nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  2. operator/cmd/mesh/manifest-generate_test.go

    		},
    	})
    }
    
    func TestManifestGenerateOrdered(t *testing.T) {
    	// Since this is testing the special case of stable YAML output order, it
    	// does not use the established test group pattern
    	inPath := filepath.Join(testDataDir, "input/all_on.yaml")
    	got1, err := runManifestGenerate([]string{inPath}, "", snapshotCharts, nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
Back to top